MessageBatchResponse
Batch of A2P SMS messages. This object provides a specification to send message(s) to many recipients. It contains top-level attributes which apply to all messages. In addition to that, it is possible to override this attribute for each message. This way a single API call may be used to send individual messages to many recipients
Properties
Name | Type | Required | Description |
---|---|---|---|
id_ | str | ❌ | Unique identifier of the message batch |
from_ | str | ❌ | Phone number in E.164 format from which the messages are going to be sent |
batch_size | int | ❌ | Total number of messages in the accepted batch |
processed_count | int | ❌ | Total number of messages currently processed in the batch |
last_modified_time | str | ❌ | The last time the batch was processed. |
status | MessageBatchResponseStatus | ❌ | Current status of a message batch |
creation_time | str | ❌ | The time at which the batch was created |
rejected | List[RejectedRecipientResponseResource] | ❌ | The list of rejected/invalid recipients |
cost | float | ❌ | The estimated batch cost for completed batch. Calculated after batch processing is completed. |
MessageBatchResponseStatus
Current status of a message batch
Properties
Name | Type | Required | Description |
---|---|---|---|
PROCESSING | str | ✅ | "Processing" |
COMPLETED | str | ✅ | "Completed" |
Build Your Own SDKs with liblab
Build developer friendly SDKs in minutes from your APIs