Skip to main content
When a recipient clicks a shortened link in an SMS, OneXtel posts a clicker callback to the callback URL registered against your API key, alongside the delivery report for the message itself. Register your callback URL under Configuration → Add New Callback, with URL Click as the event type — see Callback configuration.
Click tracking depends on URL shortening being enabled on the send — see URL shortener. Without it, there is no click to report.

Payload

Identity and routing

string
The API key the original message was sent with.
integer
TUC (account) identifier for the original send.
string
Unique identifier for this click event.
string
Sender ID the original message was sent from.
string
DLT template ID the original message was sent against.
string
Campaign name set on the original send, if any.
string
Channel the click came from — sms.
string
Recipient mobile number.
string
DLT consent category of the original message — for example SE for Service Explicit. See DLT template types.
string
Vendor or routing identifier associated with the click record.
string
Internal reference identifier. May be null.

Custom references

string
Whichever custom references you set on the original send, echoed back under the same names you sent them with — see custom references on the delivery report.

Click details

string
Whether the original message was an OTP message — 1 for yes, 0 for no.
integer
Credits consumed by the original SMS send.
string
Number of parts the original SMS was split into.
string
Telecom operator that delivered the message, for example Airtel.
string
Telecom circle the recipient’s number belongs to.
string
Operating system of the device used to click the link.
string
Browser used to click the link.

URL

string
The original, unshortened URL from the message.
string
The shortened URL the recipient clicked.
string
The code portion of the shortened URL.

Timestamps

string
When the original message was submitted, formatted YYMMDDHHmmss.
string
When the original message was submitted, formatted DD-MM-YYYY HH:mm:ss.
string
When the original request entered the platform, formatted DD-MM-YYYY HH:mm:ss.
string
When the original message reached its final delivery state, formatted YYMMDDHHmmss.
string
When the original message reached its final delivery state, formatted DD-MM-YYYY HH:mm:ss.
string
When the recipient clicked the link, formatted DD-MM-YYYY HH:mm:ss.
integer
When the recipient clicked the link, in epoch milliseconds.
string
When the platform recorded this click event, formatted YYMMDDHHmmss.
string
When this callback payload was generated, formatted DD-MM-YYYY HH:mm:ss.
string
Year used to partition click data by date.
string
Month used to partition click data by date.
string
Day used to partition click data by date.