Skip to main content
POST
https://api.nedzo.ai/v1
/
call
curl -X POST https://api.nedzo.ai/v1/call \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "agentId": "123e4567-e89b-12d3-a456-426614174000",
    "type": "contact",
    "contactId": "456e4567-e89b-12d3-a456-426614174000"
  }'
{
  "conversationId": "123e4567-e89b-12d3-a456-426614174000"
}
agentId
string
required
UUID of the agent to use for the call
type
string
required
Type of call target. Valid values: contact, phoneNumber
variables
object
Custom variables to pass to the assistant. These override contact field values.
contactId
string
required
UUID of the contact to call
curl -X POST https://api.nedzo.ai/v1/call \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "agentId": "123e4567-e89b-12d3-a456-426614174000",
    "type": "contact",
    "contactId": "456e4567-e89b-12d3-a456-426614174000"
  }'
{
  "conversationId": "123e4567-e89b-12d3-a456-426614174000"
}