Analyse an SMS message

Analysing an SMS is useful when the user needs information about the message before actually sending it.

Response Parameters

KEYDESCRIPTION
bodyAnalysisThe analysis for the body of the SMS.
bodyAnalysis.charactersThe total number of characters of the message body.
bodyAnalysis.partsThe number of actual message parts (concatenated or not - more information about concadenated messages here that will be sent.
bodyAnalysis.transcodeContains information for the transcoded body of the sms message. This will be available only if the message can be transcoded.
bodyAnalysis.transcode.messageThe transcoded message of the original unicode message.
bodyAnalysis.transcode.partsThe number of the parts of the transcoded message.
bodyAnalysis.unicodeIndicates if the body contains unicode characters.
bodyAnalysis.unsupportedGSMCharactersWhich characters caused the message to be considered as unicode.
costThe cost of the message per part

👍

Supported Unicode Languages

Transcoding is available for Greek, French, Italian and German locales.

ERROR CODES

STATUSCODEDESCRIPTION
404404001001Account not found.
Body Params
string
required

The sender of the message. This can be a telephone number (numeric string with maximum length 16 characters) or an alphanumeric string (maximum length 11 characters). When you want to use a number, you have to enter it without the '+' before the country code (eg 447123123456).

string
required

The message you want to send.

string
required

The destination phone number. Format with a '+' and country code e.g., +306948530920 (E.164 format).

Headers
string
required
Defaults to application/json

application/json

string
required
Defaults to Bearer {access_token}

Bearer {access_token}

Responses

Language
Request
Response
Choose an example:
application/json