/v3/mail/batchCreate a batch ID.
This operation allows you to generate a new mail batch ID.
Once a batch ID is created, you can associate it with a mail send by passing it in the request body of the Mail Send operation. This makes it possible to group multiple requests to the Mail Send operation by assigning them the same batch ID.
A batch ID that's associated with a mail send can be used to access and modify the associated send. For example, you can pause or cancel a send using its batch ID. See the Scheduled Sends API for more information about pausing and cancelling a mail send.
- IdempotentThe SDK sends
Idempotency-Key, so a retried request is only applied once.
A 400 is returned: Batch ID bad response. A 401 is returned: Batch ID unauthorized response. A 403 is returned: Batch ID forbidden response. A 404 is returned: Batch ID not found response. A 405 is returned: Get batch ID method not allowed response. A 500 is returned: Get batch ID internal server error response.