curl --request POST \
--url https://api.staging.kathan.tech/calls \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--header 'X-User-ID: <api-key>' \
--data '
{
"phone_number_id": "<string>",
"to_number": "<string>",
"assistant_id": "<string>",
"label": "<string>"
}
'{
"id": "<string>",
"to_number": "<string>",
"provider": "<string>",
"status": "<string>",
"phone_number_id": "<string>",
"assistant_id": "<string>",
"from_number": "<string>",
"provider_call_sid": "<string>",
"direction": "<string>",
"created_at": "<string>",
"duration_seconds": 123,
"timestamp": "<string>",
"summary": "<string>",
"user_messages": 123,
"agent_messages": 123,
"recording_url": "<string>",
"stereo_recording_url": "<string>",
"recording_mp3_url": "<string>",
"stereo_recording_mp3_url": "<string>",
"latency_metrics": {},
"per_turn_latency": [
"<unknown>"
]
}curl --request POST \
--url https://api.staging.kathan.tech/calls \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--header 'X-User-ID: <api-key>' \
--data '
{
"phone_number_id": "<string>",
"to_number": "<string>",
"assistant_id": "<string>",
"label": "<string>"
}
'{
"id": "<string>",
"to_number": "<string>",
"provider": "<string>",
"status": "<string>",
"phone_number_id": "<string>",
"assistant_id": "<string>",
"from_number": "<string>",
"provider_call_sid": "<string>",
"direction": "<string>",
"created_at": "<string>",
"duration_seconds": 123,
"timestamp": "<string>",
"summary": "<string>",
"user_messages": 123,
"agent_messages": 123,
"recording_url": "<string>",
"stereo_recording_url": "<string>",
"recording_mp3_url": "<string>",
"stereo_recording_mp3_url": "<string>",
"latency_metrics": {},
"per_turn_latency": [
"<unknown>"
]
}API key authentication.
Required user id for API key requests.
Successful Response
Was this page helpful?