Webhooks
Register Webhook
Register a URL to receive real-time event notifications from DialNexa.
POST
Register a webhook
Registers a URL endpoint to receive event notifications. When subscribed events occur, such as a call completing or a campaign finishing, DialNexa sends an HTTP
POST to your URL with a signed JSON payload.
How webhook verification works
Every request DialNexa sends to your endpoint includes anX-DialNexa-Signature header. This is an HMAC-SHA256 signature of the raw request body, generated using the secret you provide when registering the webhook. Verify this signature on your server to confirm the request is genuinely from DialNexa and hasn’t been tampered with.
Available events
| Event | Triggered when |
|---|---|
call.completed | A call ends successfully. |
call.failed | A call attempt fails. |
call.no_answer | No one picks up within the ring timeout. |
campaign.completed | All leads in a campaign have been called. |
campaign.paused | A campaign is paused. |
workflow.lead.completed | A lead finishes all steps in a workflow. |
Request example
Request
Response
Authorizations
Pass your API key as a Bearer token in the Authorization header.
Body
application/json
The HTTPS endpoint that will receive event payloads.
Example:
"https://yourapp.com/webhooks/dialnexa"
List of event types to subscribe to.
Example:
[
"call.completed",
"call.failed",
"campaign.completed"
]A secret string used to sign webhook payloads. Verify the X-DialNexa-Signature header on incoming requests against this secret.
Example:
"whsec_your_secret_here"
Whether this webhook should receive events immediately.
Register a webhook