zinn-campaigns

POST /v1/webhooks/campaigns/telnyx

Inbound SMS replies (STOP / START) from our SMS vendor.

All zinn-campaigns endpoints

All developer docs →

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/campaigns/telnyx

Signed 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 public key held in the Campaigns settings, is the authentication — 401 when it does not verify or is older than five minutes, 503 while no key is configured (never accepted unverified). A message.received whose whole text is a STOP word opts the number out of SMS for every account holding it as a contact; START removes those reply opt-outs. Anything else is acknowledged and ignored. Redelivery is a no-op.

Response

NameTypeRequiredWhat it is
okbooleanYes—
handledstring<stop, start, no_keyword, ignored>Yes—
orgsintegerNo—

Errors this endpoint can return

400 · 401 · 503