Voice Agents

Get a call recording URL

Returns a short-lived signed URL for the call's audio. Available only when recording was enabled for the call and the recording has finished processing (recording_status is available).

GET
/v1/agents/voice/agents/{agent_id}/calls/{call_id}/recording-url

Authorization

personalAccessToken
AuthorizationBearer <token>

Personal Access Token of a Dynamiq user — the only credential accepted by the management API (api.*). Prefix dyn_pat_ (legacy uak_ tokens still authenticate). Send as Authorization: Bearer <token>.

In: header

Path Parameters

agent_id*string

Voice agent UUID.

call_id*string

Voice call UUID.

Response Body

application/json

application/json

application/json

curl -X GET "https://example.com/v1/agents/voice/agents/497f6eca-6276-4993-bfeb-53cbbbba6f08/calls/497f6eca-6276-4993-bfeb-53cbbbba6f08/recording-url"
{
  "data": {
    "url": "http://example.com",
    "expires_at": "2019-08-24T14:15:22Z"
  }
}
{
  "error": {
    "code": "unauthorized",
    "message": "Unauthorized"
  }
}
{
  "error": {
    "code": "not_found",
    "message": "Not Found"
  }
}