curl --request POST \
--url https://api.comm.com/api/v1/voice/agents/test-call \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"from_number": 123,
"to_number": 123,
"greeting_message": "<string>",
"prompt": "<string>",
"tools": [
"<string>"
],
"agent_id": "<string>",
"voice_id": "<string>",
"language": "<string>"
}'
{
"data": {
"call_id": "<string>"
}
}
curl --request POST \
--url https://api.comm.com/api/v1/voice/agents/test-call \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"from_number": 123,
"to_number": 123,
"greeting_message": "<string>",
"prompt": "<string>",
"tools": [
"<string>"
],
"agent_id": "<string>",
"voice_id": "<string>",
"language": "<string>"
}'
{
"data": {
"call_id": "<string>"
}
}
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
The response is of type object
.