IVR

IVR HTTP Request Node: Call Your API From a Live Call

How to call your own API from an IVR flow: sync vs async HTTP requests, tokens like {{digits}} and {{var.order_id}}, success codes, retries, timeouts, HMAC signature verification and HTTP logs.

Edesy Team5 min read

Frequently asked questions

What does the HTTP Request node do?

It sends an HTTPS request from your IVR flow to your own API while the call is live. You choose the method, URL, headers and body, and fill them with call data such as the caller's number, the key pressed, spoken answers and variables passed to the call.

What is the difference between sync and async mode?

Async (the default) sends the request in the background, retries on failure, and the call continues immediately. Sync makes the caller wait for the response, up to 5 seconds, and the flow branches on Success or Failure.

What counts as success in sync mode?

A response status in your success codes, which default to 2xx. You can list specific codes such as 200,201,409. Any other status, a timeout or a network error takes the Failure branch.

Can the IVR read a value from my API's response?

No. The flow branches on the status code only; the response body is stored, truncated, in the HTTP logs for debugging. If the next prompt depends on your data, pass it as variables when you place the call with the outbound IVR API, or encode the decision in the status code.

How do I verify a request came from Edesy?

Each request carries X-Edesy-Timestamp and X-Edesy-Signature headers. The signature is sha256= followed by the hex HMAC-SHA256 of the timestamp, a dot, and the raw body, using your IVR signing secret. Compute it on your side, compare in constant time, and reject old timestamps.

What is retried in async mode?

Network errors, 5xx responses, 408 and 429 are retried with backoff, up to the max attempts you set (1 to 5, default 3). Each attempt has its own timeout of 1 to 10 seconds.

Edesy Team

The Edesy engineering team, building voice AI, messaging, and automation products for Indian businesses.

Published

Share

IVRAPIWebhooksDevelopersTechnical
Back to blog