Authorization: Bearer <token>. Get it with the sign-in call (POST /api/customer-users/partner-login).convertTo7Bit to true to replace such characters with close Latin ones before counting. The answer then returns the converted text in message.Authorization: Bearer ********************data[0] holds the character count, the number of parts and the encoding of the text.curl --location 'https://api.veloconnect.me/api/v2/campaigns/message-info' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"message": "Hello Anna, your order 1042 is ready for pickup. MyBrand",
"convertTo7Bit": false
}'{
"data": [
{
"message": "Hello Anna, your order 1042 is ready for pickup. MyBrand",
"isUnicode": false,
"charCount": 56,
"smsParts": 1,
"charsRemainingInCurrentPart": 104,
"charsPerPart": 160,
"wasConverted": false,
"fullyConverted": false
}
]
}