cURL
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>" }
Get connection details for use with the Voice.AI SDK.
Bearer token authentication. Use your API key as the bearer token. Format: Authorization: Bearer
Successful Response