channels
sms
outbound-sms
send-message

Preview SMS message

Avoid unpleasant surprises and check how different message configurations will affect your message text, number of characters and message parts.

post/sms/1/preview

Request

  • Base URL
    https://api.infobip.com (the document declares no server; this is the origin it was published from)
  • Auth
    • OAuth 2
      Client credentials
      Token URL: https://api.infobip.com/auth/1/oauth2/token
    • or API key in header Authorization
    • or API key in header Authorization
    • or HTTP basic

Request body

textstring required

Content of the message being sent.

languageCodestring

Language code for the correct character set. AUTODETECT lets the platform select the character set based on message content only for supported languages.

transliterationstring

The transliteration of your sent message from one script to another. Transliteration is used to replace characters which are not recognized as part of your defaulted alphabet. ALL means that the transliteration process will recognize all supported languages.

Response

successful response

originalTextstring

Message content supplied in the request.

Changes

No recorded changes to this operation across all 1 revision of this API.