Send SMS message asynchronously to a mobile number

<Note> If the user includes stop code in the Transactional SMS, then it will be switched to Marketing SMS automatically and it will be interpreted as a Marketing SMS. To send Transactional SMS as Transactional, it is important not to use stop code. Note: For adding a stop code, client has to add reply STOP to [STOP_CODE] and the [STOP_CODE] will be replaced with the number. </Note> <Note title="For end users in France"> Transactional SMS can be sent at any time without time restrictions. However, if a message is categorized as Marketing, it must adhere to specific time restrictions. Messages sent outside of these restricted hours will experience delays and will be processed during allowable times. Specifically, Marketing SMS cannot be processed between 10pm and 8am, on Sundays, and on French public holidays. </Note>

Authentication

api-keystring

The API key should be passed in the request headers as api-key for authentication.

Request

Values to send a transactional SMS
objectRequired
Send SMS using a template ID.
OR
objectRequired
Send SMS using direct content.

Response

SMS has been sent successfully to the recipient
messageIdlong

Errors