API ReferenceWorkspace

Get workspace

Get the metadata and settings of a workspace

GET/spaces/{spaceId}

Authorization API key in the x-api-key header

Path parameters

  • spaceIdstringrequired

    ID of the workspace. You can find from the url in dashboard when you open the workspace or using the list workspaces endpoint.

Responses

  • 200Workspace info and memberships

    application/json · WorkspaceDetail

    • findAndReplaceWordsarray of objectrequired
      Show 2 properties
      • findstring
      • replacestring
    • idstring
    • createdAtstringrequired
    • updatedAtstringrequired
    • namestringrequired
    • languageLanguageCoderequired

      One of"bg""ca""zh""zh-CN""zh-Hans""zh-TW""zh-Hant""cs""da""da-DK""nl""en""en-US""en-AU""en-GB""en-NZ""en-IN""et""fi""nl-BE""fr""fr-CA""de""de-CH""el""hi""hu""id""it""ja""ko""lv""lt""ms""multi""no""pl""pt""pt-BR""ro""ru""sk""es""es-419""sv""th""tr""uk""vi"

    • templateIdstringrequired
    • ownerIdstringrequired
    • _countobjectrequired
      Show 2 properties
      • recordingsintegerrequired
      • speakersintegerrequired
    • privacyWorkspacePrivacyrequired

      One of"PRIVATE""WHOLE_TEAM""SPECIFIC_MEMBERS"

    • ownerobjectrequired
      Show 4 properties
      • namestringrequired
      • idstringrequired
      • emailstringrequired
      • ownedTeamobjectrequired
        Show 1 property
        • namestringrequired
    • membershipsarray of WorkspaceMembershiprequired

      relevant only for shared workspaces

      Show 3 properties
      • idstring
      • createdAtstring
      • teamMembershipTeamMembership
        Show 2 properties
        • idstring

          Team membership id

        • userobject
          Show 3 properties
          • namestring
          • idstring
          • emailstring
    • monthlyCreditLimitinteger
    • autoDeleteMediaAfterDaysinteger
  • 400Invalid input

    application/json · ApiError

    • errorstringrequired

      short description of the error

    • errorDetailsobject

      additional details for the cause of the error if available

  • 401Authentication failed

    application/json · ApiError

    • errorstringrequired

      short description of the error

    • errorDetailsobject

      additional details for the cause of the error if available

  • 403You don't have access

    application/json · ApiError

    • errorstringrequired

      short description of the error

    • errorDetailsobject

      additional details for the cause of the error if available

  • 404Not found or don't have access

    application/json · ApiError

    • errorstringrequired

      short description of the error

    • errorDetailsobject

      additional details for the cause of the error if available

curl 'https://transcript.lol/api/v1/spaces/string' \
  --header 'x-api-key: YOUR_API_KEY'
const response = await fetch("https://transcript.lol/api/v1/spaces/string", {
  method: "GET",
  headers: {
    "x-api-key": "YOUR_API_KEY"
  },
});
const text = await response.text();
import requests

response = requests.get(
    "https://transcript.lol/api/v1/spaces/string",
    headers={
        "x-api-key": "YOUR_API_KEY"
    },
)
print(response.text)
{
  "findAndReplaceWords": [
    {
      "find": "string",
      "replace": "string"
    }
  ],
  "id": "string",
  "createdAt": "string",
  "updatedAt": "string",
  "name": "string",
  "language": "bg",
  "templateId": "string",
  "ownerId": "string",
  "_count": {
    "recordings": 0,
    "speakers": 0
  },
  "privacy": "PRIVATE",
  "owner": {
    "name": "string",
    "id": "string",
    "email": "string",
    "ownedTeam": {
      "name": "string"
    }
  },
  "memberships": [
    {
      "id": "string",
      "createdAt": "string",
      "teamMembership": {
        "id": "string",
        "user": {
          "name": "string",
          "id": "string",
          "email": "string"
        }
      }
    }
  ],
  "monthlyCreditLimit": 0,
  "autoDeleteMediaAfterDays": 0
}
{
  "error": "string",
  "errorDetails": {}
}
{
  "error": "string",
  "errorDetails": {}
}
{
  "error": "string",
  "errorDetails": {}
}
{
  "error": "string",
  "errorDetails": {}
}