Skip to main content
POST
/
api
/
v1
/
connection
/
connection-details
Connection Details
curl --request POST \
  --url https://dev.voice.ai/api/v1/connection/connection-details \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "agent_id": "<string>",
  "metadata": "<string>",
  "environment": "<string>"
}
'
{
  "server_url": "<string>",
  "participant_token": "<string>",
  "call_id": "<string>"
}

Authorizations

Authorization
string
header
required

Bearer token authentication. Use your API key as the bearer token. Format: Authorization: Bearer

Body

application/json
agent_id
string | null
metadata
string | null
environment
string | null

Response

Successful Response

server_url
string
required
participant_token
string
required
call_id
string
required