Send SMS
POST/api/v1/subaccounts/:subAccountId/messages
- Sending a POST request on this endpoint allows to send SMS individually (1 request per SMS).
- It is ideal to send single personalized messages for use-cases like notifications or alerts.
URL
The 8x8 SMS subaccountid to use is defined in the URL where you send your POST request as shown below:
https://sms.8x8.com/api/v1/subaccounts/{subAccountId}/messages
You must replace
{subAccountId}in the URL above with the subaccountid that you want to use.
Request
Responses
- 200
- 400
- 401
- 426
- 500
Bad request error response
Request was not authenticated response
Upgrade Required — client is using an unsupported TLS version
Response Headers
Upgrade
Example:
TLS/1.3Internal server error