+

Search Tips | Advanced Search

For up-to-date product documentation, see the IBM MobileFirst Foundation Developer Center.


Set up SMS notification

We can send short message service (SMS) messages, commonly known as text messages, to user devices. Learn about the configuration that is required to send and receive SMS notifications.

The procedure to set up push server to send SMS notifications is described.


Procedure

  1. Set up the SMS notification infrastructure by updating the SMS settings.

    Refer to Push SMS Settings (PUT) API for details.

  2. To receive SMS notifications, register the device with the phone number by following one of the approaches:

    • From the app, provide the phone number options parameter of the registerDevice method in the MFPPush.
    • Use Push Device Registration (POST) API with the phone number in the payload.

  3. To send SMS notifications, use the Push Message (POST) API.

    Set the notificationType parameter in the payload to a value of 2 or 3.

Parent topic: Sending SMS notifications