Bulk Send

Returns a list of bulk send batch summaries

GET
/v2.1/accounts/{accountId}/bulk_send_batch

Returns a summary of bulk send batches.

Use the batch_ids query parameter to narrow the list of batches.

You must specify exactly one of the following query parameters to get back a list of batch summaries:

ParameterDescription
from_dateA valid UTC DateTime: 2016-01-01
batch_idsA comma-separated list of batch IDs to query.

If neither query parameter is provided, a high-level, account-wide, overall bulk send status report is returned.

Authorization

OAuth2
AuthorizationBearer <token>

OAuth 2.0 access token obtained via Authorization Code Grant or JWT Grant.

In: header

Path Parameters

accountId*string

The external account number (int) or account ID GUID.

Query Parameters

batch_ids?string

A comma-separated list of batch IDs to query.

count?string

The maximum number of results to return.

Use start_position to specify the number of results to skip.

Valid values: 1 to 100 Default: 100

from_date?string

The start date for a date range in UTC DateTime format.

search_text?string

Use this parameter to search for specific text.

start_position?string

The zero-based index of the result from which to start returning results.

Use with count to limit the number of results.

The default value is 0.

status?string

The kind of results to collect. Must be one of:

  • all
  • failed
  • sent
  • queued
to_date?string

The end of a search date range in UTC DateTime format. When you use this parameter, only templates created up to this date and time are returned.

Note: If this property is null, the value defaults to the current date.

user_id?string

Response Body

application/json

application/json

curl -X GET "https://example.com/v2.1/accounts/string/bulk_send_batch"
{  "batchSizeLimit": "string",  "bulkBatchSummaries": [    {      "action": "string",      "actionStatus": "string",      "batchId": "string",      "batchName": "string",      "batchSize": "string",      "batchUri": "string",      "failed": "string",      "queued": "string",      "sent": "string",      "submittedDate": "string"    }  ],  "bulkProcessQueueLimit": "string",  "bulkProcessTotalQueued": "string",  "endPosition": "string",  "nextUri": "string",  "previousUri": "string",  "queueLimit": "string",  "resultSetSize": "string",  "startPosition": "string",  "totalQueued": "string",  "totalSetSize": "string"}