v1
latestOpenAPI 3.0.02026-07-2491237338.9 KBSMS
Send an SMS
Sends an outbound text message.
post/sms
Request body
Example request
{
"to": "+16315551111",
"text": "Your verification code is 123456.",
"senderId": "Brand",
"signature": "Brand",
"callbackUrl": "https://httpbin.org/anything?tag=api-sms"
}Response
The request is successfully accepted.
Example response
{
"to": "+16315551111",
"text": "Your verification code is 123456.",
"senderId": "Brand",
"regionCode": "US",
"totalSegments": 1,
"totalPrice": 0.0085,
"currency": "USD",
"status": "sent",
"createTime": "2022-03-01T12:00:00.000Z",
"updateTime": "2022-03-01T12:00:00.000Z",
"callbackUrl": "https://httpbin.org/anything?tag=api-sms",
"bizType": "sms",
"verificationId": "VERIFICATION-ID"
}