cURL
curl --request GET \ --url https://api.elemente.ai/api/v1/calls/{id} \ --header 'Authorization: Basic <encoded-value>'
{ "id": "123e4567-e89b-12d3-a456-426614174000", "status": "in-progress", "agentPhone": "+1234567890", "agentEmail": "+1234567890", "customerPhone": "+1234567890", "customerEmail": "+1234567890", "agentId": "123e4567-e89b-12d3-a456-426614174000", "customerId": "123e4567-e89b-12d3-a456-426614174000", "skillId": "123e4567-e89b-12d3-a456-426614174000", "customerName": "John Doe", "transcription": "Hello, how can I help you?", "recordingUrl": "https://example.com/recording.wav", "messages": [ { "sid": "SM1234567890abcdef", "timestamp": "2025-03-17T14:30:00Z", "sender": "agent", "content": "Hello, how can I assist you today?", "mediaUrl": "https://example.com/image.jpg", "status": "delivered" } ], "duration": "7200" }
Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.
Basic <encoded-value>
<encoded-value>
username:password
The id of the call
"123e4567-e89b-12d3-a456-426614174000"
Returns the call
The response is of type object.
object