v1

latestOpenAPI 3.0.02026-07-2664192238.8 KB
Batch

Get batch items

Get batch items

Scopes: products.read, contacts.read, events.read <br><a href="https://www.postman.com/omnisend-api/workspace/omnisend/overview" target="_blank">Open Postman collection</a>

get/batches/{batchID}/items

Path parameters

batchIDstring required

Batch ID

Headers

Omnisend-Versionstring required

API version that specifies the response format and behaviour

Response

Batch items for a given batch ID

batchIDstring
createdAtstring
endedAtstring
endpointstring
errorsCountinteger
eventIDstring
finishedCountinteger
methodstring
originstring
startedAtstring
statusstring
totalCountinteger

Example response

{
  "batchID": "5f92cbf10cf217478ba93561",
  "createdAt": "2021-01-01T00:00:00Z",
  "endedAt": "2021-01-01T00:00:00Z",
  "endpoint": "contacts",
  "errors": [
    {
      "itemID": "5f92cbf10cf217478ba93561",
      "responseCode": 200,
      "status": "finished"
    }
  ],
  "eventID": "5f92cbf10cf217478ba93561",
  "finishedCount": 100,
  "method": "POST",
  "origin": "api",
  "responses": [
    {
      "itemID": "5f92cbf10cf217478ba93561",
      "responseCode": 200,
      "status": "finished"
    }
  ],
  "startedAt": "2021-01-01T00:00:00Z",
  "status": "finished",
  "totalCount": 100
}