Send SMS

Intro

This API is meant to send SMSs messages as notifications.

Important Points

Required fields

All the fields in the body are mandatory and kiban cloud performs validations on the information sent to detect special characters or incorrect formats.

Validations

The following validations are applied to the fields in the boody:

  • countryCode:
    • Must have a length less than or equal to 4 characters
    • must be a value according to the International Telecommunication Union adding a plus (+) at the beginning. For example, to send an SMS to Mexico, you must send +52 in this field
  • to:
    • Indicate the phone number to which the SMS will be sent.
  • message:
    • Message to send the NIP. You can put any message but we remind you that SMS messages without special characters can have up to 160 characters, including spaces and line breaks. If the message is longer, kiban will split it into several messages and each of these sent messages will be counted as one SMS.

Response

You can find an examples of the different kinds of responses in the examples of the call.

Test the service (test cases)

We included a query param in Sandbox environment, so you can query test cases that we created to run tests.
In order to obtain the response, please fill the query param with:

  • success: it sends back a successful response
Language
Authorization
Header
Click Try It! to start a request and see the response here!