curl --location --request POST 'https://your-api-server.com' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
"message": {
"type": "end-of-call-report",
"timestamp": "2025-12-13T12:05:30.000Z",
"call": {
"id": "5c4d030f-43e3-4e65-899e-8148521e660f",
"type": "inbound_phone_call",
"status": "ended"
},
"phone_number": {
"number": "+31850835037",
"name": "HMS Sovereign Demo"
},
"customer": {
"number": "+31612345678"
},
"assistant": {
"llm_config": {
"provider": "openai",
"model": "gpt-4.1"
},
"stt_config": {
"provider": "deepgram",
"model": "nova-3",
"language": "nl"
},
"tts_config": {
"provider": "elevenlabs",
"voice_id": "ukiwGs47sHyibruHJ1vg"
},
"first_message": "Hello, how can I help you?",
"analysis_plan": {
"structured_data_plan": {
"enabled": true
}
},
"autonomous_silence_handling": false,
"voicemail_detection": false,
"metadata": {
"crm_id": "12345",
"campaign_id": "summer-2025",
"customer_tier": "premium"
}
},
"duration_seconds": 84,
"summary": "Customer asked about opening hours and wanted to schedule an appointment for next week.",
"messages": [
{
"role": "assistant",
"content": "Hello, how can I help you?"
},
{
"role": "user",
"content": "I would like to schedule an appointment for next week."
},
{
"role": "assistant",
"content": "Of course! Which day did you have in mind?"
}
],
"analysis": {
"sentiment": 8,
"main_topic": "Scheduling appointment",
"question_answered": true,
"conversation_quality": "Good"
},
"recording_url": "https://example.supabase.co/storage/v1/object/sign/recordings/5c4d030f-43e3-4e65-899e-8148521e660f/recording.ogg?token=eyJ..."
}
}'