AtServiceTech

SMS API · GUIDE

Configure the SMS delivery report webhook

The delivery webhook accepts provider JSON callbacks and records validated events against known SMS requests and recipients.

Configure a secure callback

Configure the provider callback URL as https://atservicetech.com/api/webhooks/fast2sms/dlr. Set a random secret of at least 32 characters on the application server and provide it as the callback token query parameter or supported custom header.

Callbacks include request_id, mobile, and status. Replayed callbacks are acknowledged without creating duplicate events. Apply the SMS delivery-events database migration before enabling the callback.

  • Use HTTPS and keep the webhook secret private.
  • The service checks that the request ID and recipient belong to an SMS send.
  • Reports include the latest callback status, description, failure reason, and delivery time when provided.