Skip to main content

Heartbeat Webhook Format

The Heartbeat API sends health status notifications to your configured webhook endpoint via HTTP POST.

Webhook Configuration​

  • Method: HTTP POST
  • Content-Type: application/json
  • Frequency: Configurable (in minutes)
  • Timeout: 15 seconds
  • Retries: 2 attempts for non-2XX responses or timeouts

Your endpoint must return an HTTP 200 OK status code to acknowledge receipt.

Webhook Payload​

ParameterTypeDescription
timestampStringRFC 3339 format (e.g., 2018-08-22T15:19:23Z)
status_typeStringOK, WARNING, CRITICAL, or PAYLOAD_TOO_LARGE
incoming_affectedArraySIDs of ExoPhones with incoming call issues
outgoing_affectedArraySIDs of ExoPhones with outgoing call issues
dataObjectDetailed information about affected ExoPhones

Get ExoPhone Health Details​

You can also query the health status of a specific ExoPhone:

HTTP Request​

GET https://<api_key>:<api_token>@<subdomain>/v2/accounts/<sid>/incoming-phone-numbers/<exophone_sid>

Connectivity Fields in Response​

FieldDescription
connectivity.incoming_call.statusactive or major_outage
connectivity.outgoing_call.statusactive or major_outage
connectivity.*.last_check_timeRFC 3339 timestamp of last check
connectivity.*.alternate_exophoneFallback number suggestions (null if unavailable)
Rate Limiting

Exotel throttles requests to the ExoPhone Details endpoint. Excessive requests will return HTTP 429 status code.