Configuring SMS Webhook

Configuring SMS Webhook

To set up the SMS Webhook:
  1. Navigate to the Admin Page, then go to Reseller Settings.
  2. In the SMS Provider dropdown, select SMS Web Hook.
  3. Enter your Webhook URL in the provided field. Use placeholders enclosed in curly brackets:

{MSISDN} – will be replaced with the recipient's phone number

{MESSAGE} – will be replaced with the actual SMS text
  1. Click Save to apply the changes.

Example Webhook URLs:

https://my-api-endpoint?phone={MSISDN}&message={MESSAGE}&sender=your_senderid&token=your_token

https://my-api-endpoint?recipient={MSISDN}&message={MESSAGE}&token=your_token&username=your_username

https://my-api-endpoint?phone={MSISDN}&text={MESSAGE} ( This is the bare minimum webhook URL)


NOTE:
  1. Your URL must include both {MSISDN} and {MESSAGE} placeholders. These are essential for delivering the SMS correctly.
  2. On your end, ensure that the webhook returns a status code 200 for success, or an appropriate error status code if there’s a failure. Also, make sure to use HTTP GET.
  3. You may include additional parameters based on your webbook's design and requirements.