Skip to main content
POST
/
call
Call
curl --request POST \
  --url https://api.osvi.ai/call \
  --header 'API-Token: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "agent_uuid": "agent_IsZ3Q6Sf_60Eh26XQMGbz-R_og",
  "phone_number": "+911234567890",
  "webhook_url": "http://localhost:3000/test_webhook",
  "system_prompt": "",
  "person_name": "Xyz"
}
'

Authorizations

API-Token
string
header
required

Body

application/json
agent_uuid
string
required
Example:

"agent_IsZ3Q6Sf_60Eh26XQMGbz-R_og"

phone_number
string
required
Example:

"+911234567890"

webhook_url
string
required
Example:

"http://localhost:3000/test_webhook"

system_prompt
string
Example:

""

person_name
string
Example:

"Xyz"

Response

200

Successful response