Skip to main content
Instead of polling, add an endpoint in the Truecaller campaigns portal under Developers → Webhooks and pick the events you want. OneXtel POSTs each event to your URL as JSON.

Events

Payload

Verify the signature

Every request carries x-onextel-signature: t=TIMESTAMP,v1=SIGNATURE. SIGNATURE is the HMAC-SHA256 (hex) of TIMESTAMP.RAW_BODY with the endpoint’s signing secret, shown when you add the endpoint. Reject requests whose timestamp is more than 5 minutes old.
Node.js

Retries

Reply with any 2xx within 10 seconds. Anything else is retried up to 6 times over about 8 hours. The portal shows each delivery with its response, and lets you retry or send a test event.