High Volume SMS
Get A2P SMS Batch
Returns information on a message batch.
get/restapi/v1.0/account/{accountId}/a2p-sms/batches/{batchId}
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)
batchIdstring required
Internal identifier of a message batch to be retrieved
Response
Message batch information
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
}