Skip to main content

Overview

CPaaS+ provides a Delivery Report (DLR) Callback / Webhook mechanism that notifies your application about the delivery status of SMS messages sent through the CPaaS+ platform. Instead of polling for status, the GTS server pushes the delivery status to a webhook URL configured on your account as soon as a status update is available. Webhooks are HTTP-based, use JSON data format, and can be set up with Bearer Token authentication.

Configure the webhook

  1. Log in to your CPaaS+ account.
  2. Navigate to your profile picture at the top-right of the web portal.
  3. Select Settings.
  4. Open the Client Webhook tab.
  5. Select Create New Webhook.
  6. Enter a name for the webhook configuration.
  7. Select SMS Channel from the Channel dropdown.
  8. Enter your application endpoint in Webhook URL.
  9. Under the Subscriptions tab, select Default DLR and set the status to Active.
  10. Optionally enable Bulk push to receive multiple DLRs in a single webhook call.
  11. Click Submit to save the configuration.
You can edit a configuration by clicking Edit against the relevant entry.

Webhook source IP

GTS sends webhook and callback notifications, including SMS DLR callbacks, from the following static IP address. Whitelist this IP on your firewall or security group so callbacks are not blocked.

SMS DLR callback

Once an SMS is submitted and its delivery status is confirmed (or fails) at the operator/handset level, CPaaS+ sends an asynchronous HTTP callback to the webhook URL configured on your account with the final delivery status of the message.

Sample payload

The following is a sample DLR callback payload:

Payload field reference

The callback values are sent in the request body.

SMS error code reference

The code field in the DLR callback contains the status/error code returned across the SMS delivery lifecycle.

Callback handling notes

  • Your webhook endpoint should respond with HTTP 200 OK promptly on receipt. A non-200 response or timeout may result in retries.
  • If your application is unable to accept the DLR for specific messages, contact cpaas.support@globeteleservices.com.
  • Any new error codes introduced by operators will be mapped and pushed to the configured webhook.