Help Center> Message & SMS> FAQs> Secondary Development> What Is the Callback Address? How Do I Set This Address?
Updated on 2023-09-07 GMT+08:00

What Is the Callback Address? How Do I Set This Address?

A callback address is used by the SMS platform to push status reports to you. When you call Message & SMS APIs to send SMSs, the statusCallback parameter contains the callback address. The platform then pushes the status reports to you through the callback address.

If you need to receive status reports and process corresponding services, perform steps in Development Preparation to configure a public network URL that can receive HTTP requests. The URL can be a domain name (recommended) or IP address:port number. In addition, ensure that the following conditions are met:

  • The customer server does not need to authenticate status reports pushed by the SMS platform.
  • If an IP address whitelist is configured for your server, add the IP addresses (for example, 117.78.29.0/24, 124.70.27.0/24, 124.71.67.0/24, 123.60.96.0/24, and 119.8.109.0/24) used by the platform to push status reports to the whitelist.

Note: Message & SMS pushes the status reports only when a callback address is specified for statusCallback. Otherwise, log in to the Message & SMS console and go to the Send Details page to view the status code.

Secondary Development FAQs

more