Skip to main content
POST
/
v1
/
workspaces
/
enable
Habilitar un workspace (API key, teléfono y Speech Analytics)
curl --request POST \
  --url https://api-prod.studio.getsupervisor.ai/v1/workspaces/enable \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <x-api-key>' \
  --data '
{
  "apiKey": "<string>",
  "phone": "<string>",
  "speechAnalyticsAgentId": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
'
{
  "status": "enabled",
  "provider": "<string>",
  "workspaceId": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}

Headers

x-api-key
string
required

API Key requerida para esta operación. No enviar Authorization.

Body

application/json
apiKey
string
required
phone
string
required

Caller ID (from number), compatible con E.164.

speechAnalyticsAgentId
string<uuid>
required

ID del agente de Speech Analytics a asociar al workspace.

Response

Workspace habilitado

status
enum<string>
required
Available options:
enabled
provider
string
required
workspaceId
string<uuid>
required