POST
/
v1
/
voice
/
agents
/
test-call
cURL
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>"
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json

Response

200
application/json

The response is of type object.