High Volume SMS
Send A2P SMS
Allows to send high volume of A2P (Application-to-Person) SMS messages (in message batches). Only phone number with the A2PSmsSender feature can be used as a sender.
post/restapi/v1.0/account/{accountId}/a2p-sms/batches
Path parameters
accountIdstring required
Internal identifier of the RingCentral account (can be set to "~" to indicate that the account associated with current authorization session should be used)
Request body
Example request
{
"from": "+15551234567",
"text": "Hello, World!",
"messages": [
{
"to": [
"15551234477"
],
"text": "Hello, World!"
}
]
}Response
Message batch created
Example response
{
"id": "12345",
"from": "+15551234567",
"batchSize": 5,
"processedCount": 1,
"status": "Processing",
"rejected": [
{
"index": 1,
"to": [
"29395"
],
"errorCode": "CMN-100",
"description": "The recipient is invalid"
}
],
"cost": 0.007
}