ads
POST /v1/webhooks/ads/telnyx-voice
Call events for Zinn® tracking numbers from our voice vendor (za-160).
Authentication
This endpoint is public. It takes no credential and no organisation — it is what our own marketing site and AI answer engines read.
This endpoint takes no organisation id. Your key already identifies the organisation it belongs to, and the response is scoped to it.
Try it
Replace anything in angle brackets with your own values, and the key placeholder with a key from your dashboard.
curl -X POST https://api.zinndigital.com/v1/webhooks/ads/telnyx-voiceSigned in? The API console in your dashboard fills in your real organisation id and your own key, and runs the request against the live API so you can see the actual response. Open this endpoint in the API console
Details
Unauthenticated by design: the vendor's Ed25519 signature over timestamp|raw body (telnyx-signature-ed25519, telnyx-timestamp), checked with the same public key as the Campaigns SMS webhook, is the authentication — 401 when it does not verify or is outside its time window, 503 while no key is configured (never accepted unverified). call.initiated to a tracking number is answered (or refused when the account cannot pay for it), call.answered dials the customer's own number and bridges the two legs, call.hangup ends the other leg and prices the call; a call of at least the source's min_call_seconds becomes an offline conversion. An event id already handled is a no-op (duplicate); a vendor command that fails answers 503 so the event is re-delivered.
Response
| Name | Type | Required | What it is |
|---|---|---|---|
ok | boolean | Yes | — |
handled | string | Yes | — |
refusal | string | No | — |
talk_seconds | integer | No | — |
stored | integer | No | — |
Errors this endpoint can return
400 · 401 · 503