API ReferenceWorkspace

Create workspace

Create a new workspace. The new workspace will be owned by you.

POST/spaces

Authorization API key in the x-api-key header

Body

application/json · object

  • 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"

  • privacyWorkspacePrivacyrequired

    One of"PRIVATE""WHOLE_TEAM""SPECIFIC_MEMBERS"

Responses

  • 200New workspace info

    application/json · Workspace

    • 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"

  • 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

curl 'https://transcript.lol/api/v1/spaces' \
  --request POST \
  --header 'x-api-key: YOUR_API_KEY' \
  --header 'Content-Type: application/json' \
  --data-raw '{
  "name": "string",
  "language": "bg",
  "privacy": "PRIVATE"
}'
const response = await fetch("https://transcript.lol/api/v1/spaces", {
  method: "POST",
  headers: {
    "x-api-key": "YOUR_API_KEY",
    "Content-Type": "application/json"
  },
  body: JSON.stringify({
    "name": "string",
    "language": "bg",
    "privacy": "PRIVATE"
  }),
});
const text = await response.text();
import requests

response = requests.post(
    "https://transcript.lol/api/v1/spaces",
    headers={
        "x-api-key": "YOUR_API_KEY",
        "Content-Type": "application/json"
    },
    data="{\n  \"name\": \"string\",\n  \"language\": \"bg\",\n  \"privacy\": \"PRIVATE\"\n}",
)
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"
}
{
  "error": "string",
  "errorDetails": {}
}
{
  "error": "string",
  "errorDetails": {}
}