post https://rest-ww.telesign.com/v1/messaging
Send an SMS message. Use request parameters to specify the type of message, what phase of the account lifecycle the message is being sent in, and additional details about the transaction.
Authentication: Basic (easiest to implement) or Digest
Encoding: Accepts only UTF-8 unicode characters as inputs.
Accepts: application/x-www-form-urlencoded
Required headers: Content-Type - application/x-www-form-urlencoded
Rate limit: Default rate limits by product
URL Expired The URL for this request expired after 30 days.
200
Success. Your request was fulfilled and resulted in a new resource being created. If you want to code against a response, you should retrieve the status code and use that rather than the HTTP status response.
Status code Associated text string Description 290 Message in progress The message is being sent to the SMS gateway.
400
Bad request, the request could not be understood by the server due to malformed syntax. If you want to code against a response, you should retrieve the status or error code and use that rather than the HTTP status response.
Status code Associated text string 11000 Invalid value for parameter phone_number. 11001 Invalid country code for parameter phone_number. 11003 Invalid value for parameter account_lifecycle_event 11004 Invalid value for parameter callback_url 11009 Invalid value for parameter message. 11010 Invalid value for parameter originating_ip. 11013 Invalid value for parameter sender_id. 11016 Invalid value for parameter external_id 11017 Invalid value for parameter message_type. 11027 Invalid value for parameter integration_name. 11034 Invalid value for parameter dlt_template_id 11035 Invalid value for parameter dlt_entity_id 12000 Missing Required Parameter phone_number 12009 Missing Required Parameter message 12017 Missing Required Parameter message_type
401
Unauthorized, the request requires user authentication. If you want to code against a response, you should retrieve the status or error code and use that rather than the HTTP status response.
Status code Associated Text String 10002 'x-ts-nonce' header value has been used recently 10003 'x-ts-nonce' header value is either too long or too short 10004 'Date' or 'x-ts-date' header is not within tolerable range 10005 'Date' or 'x-ts-date' header is not RFC822 compliant 10006 Invalid 'x-ts-auth-method' header. 10007 Missing required 'Date' or 'x-ts-date' header 10008 Invalid Signature. 10009 Missing required 'Authorization' header 10010 CustomerID Account Suspended 10011 This product is not enabled for this CustomerID. 10014 Invalid source IP address. 10015 Invalid Customer ID. 10022 Invalid API Key. 10028 Required 'Authorization' header is not in the correct format 10031 Not Allowed Host 10033 {phone_number} has not been verified for this trial account. 10035 The requested API host is not allowed for this CustomerID.
429
Too Many Requests, the user sent too many requests in a given amount of time. If you want to code against a response, you should retrieve the status or error code and use that rather than the HTTP status response.
Status code Associated text string 10019 Rate Limit Exceeded 10020 Generic messaging exceeded transaction hard cap. Request denied.
500
Service unavailable. The system is unavailable, try again. Code against the Telesign status or error codes from the status.code
and errors.code
properties in the response payload, rather than the HTTP status code of the response.
Status code Associated text string 10000 System Unavailable, Please try again later.