Skip to main content
Use this when one event should cause one call. For example, a new order comes in, so you call to confirm it.
1

Send the request

Only scriptId and customerPhone are required. Add any variables your agent uses.
2

Save the order_id

order_id is how you find this call later. Store it with your own order.
3

Get the result

Either poll the outcome endpoint with order_id, or turn on the agent webhook and receive it automatically.

Good to know

  • Phone format: a 10-digit Indian number (9149874123) or with the country code (+919149874123).
  • No retry on your side needed for 200. The call is already dialing.
  • 502 means the order was saved but the call could not start right now. The response still has order_id. Try again in a minute.