Messages

Get what the SMS segment limit reserves for a document link

GET
/api/messages/sms-limits

A document attachment such as a PDF is sent as a hosted link appended to the SMS body, so it counts toward the 3-segment limit. documentLinkLength is the length of one such link on this deployment. Each document adds one link on its own line, after a blank line that follows the text.

Authorization

bearerAuth
AuthorizationBearer <token>

In: header

Response Body

application/json

curl -X GET "https://example.com/api/messages/sms-limits"
{  "documentLinkLength": 60}