Recordings
API key issued via POST /v1/{workspace_id}/api-keys. Pass the returned api_key value as a Bearer token.
Successful Response
Download paths for call recording playback.
Twilio call SID
Recording availability status
availableDownload URL for inbound (caller) audio
Download URL for outbound (agent) audio
Download URL for recording metadata JSON
Recording not found
Validation Error
Call recording not configured
GET /v1/{workspace_id}/recordings/{call_sid}/urls HTTP/1.1
Host: api.platform.amigo.ai
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"call_sid": "text",
"status": "available",
"inbound_url": "text",
"outbound_url": "text",
"metadata_url": "text"
}API key issued via POST /v1/{workspace_id}/api-keys. Pass the returned api_key value as a Bearer token.
Successful Response
Call recording metadata.
Twilio call SID
Workspace that owns this recording
Service (agent) that handled the call
Call direction
Total call duration in seconds
Audio format for the inbound (caller) channel
Sample rate in Hz for the inbound channel
Audio format for the outbound (agent) channel
Sample rate in Hz for the outbound channel
Text-to-speech provider used for the call
Call start time as ISO-8601 string
Call end time as ISO-8601 string
Inbound audio file size in bytes
Outbound audio file size in bytes
Media stream start time as Unix epoch milliseconds
Recording not found
Validation Error
Call recording not configured
GET /v1/{workspace_id}/recordings/{call_sid}/metadata HTTP/1.1
Host: api.platform.amigo.ai
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"call_sid": "text",
"workspace_id": "123e4567-e89b-12d3-a456-426614174000",
"service_id": "123e4567-e89b-12d3-a456-426614174000",
"direction": "inbound",
"duration_seconds": 1,
"inbound_format": "text",
"inbound_sample_rate": 1,
"outbound_format": "text",
"outbound_sample_rate": 1,
"tts_provider": "text",
"call_start_iso": "text",
"call_end_iso": "text",
"inbound_size_bytes": 1,
"outbound_size_bytes": 1,
"media_start_epoch_ms": 1
}API key issued via POST /v1/{workspace_id}/api-keys. Pass the returned api_key value as a Bearer token.
Successful Response
Invalid filename
Recording file not found
Validation Error
Call recording not configured
GET /v1/{workspace_id}/recordings/{call_sid}/download/{filename} HTTP/1.1
Host: api.platform.amigo.ai
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
No content
Last updated
Was this helpful?

