Skip to main content
POST
/
callback
/
immediate-call
Make a test call using agent Id
curl --request POST \
  --url https://api.cleartalk.ai/callback/immediate-call \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --data '
{
  "phone": "+13333333333",
  "agent_id": 2
}
'

Authorizations

x-api-key
string
header
required

API Key for authentication

Body

application/json
phone
string
required

The phone number being called.

Example:

"+13333333333"

agent_id
number
required

The ID of the agent whose data you want to retrieve.

Example:

2

Response

Returns call response