/
REST Notification SMS

REST Notification SMS

5.0.0

The SMS Notification REST API provides a mechanism for sending SMS-based notifications via ServiceBroker, so that systems integrated with ServiceBroker do not need to integrate with yet another system for the sending of SMS-based notifications.

Resource URL Summary

Send an SMS-based notification

POST /up/v5/bns/sms

HTTP Headers

This API uses custom HTTP Headers:

HeaderTypeRequired?Description
AuthorizationstringYesThe Authorization header for this API is the same as for the REST Integration Standard HTTP Headers.
Content-TypestringYes

The Content-Type HTTP Header must be set to text/plain.

TostringYesThe phone number that the SMS-based notification should be sent to, in E.164 format.
FromstringYes

Typically, this is the phone number that the SMS-based notification should be sent from, in E.164 format. This number must be provided by or ported to the underly SMS Messaging Provider.

From

A short code or unique Sender ID can also be used provided by the SMS Messaging Provider.

API Specific Parameters

This API does not have any API specific parameters.

 


API Specifics

Send an SMS-based notification

This REST API will send an SMS notification, based on the details provided in the HTTP Headers and Body.

URL

POST /up/v5/bns/sms

HTTP Request Body

This REST API requires a body, limited to 1600 characters, containing the text-based content for the body of the SMS notification.

HTTP Response

Success

On success, an HTTP response code of 200 will be returned.

Error

Otherwise, on error, the API will:

  • Return an HTTP response code of 400, if the request was invalid;
  • Return an HTTP response code of 401, if the request was not authorized; or
  • Return an HTTP response code of 500, if something else went wrong.

Both HTTP 400 and 500 responses will contain a REST Integration Standard Response Object with appropriate values for the Code and/or Message fields, describing the error, in the response body.

Related content

REST Notification Email
REST Notification Email
More like this
Work Order Alert REST API
Work Order Alert REST API
More like this
Alert Template REST API
Alert Template REST API
More like this
Payment Transaction Token REST API
Payment Transaction Token REST API
More like this