Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Query Parameters
Page number
Number of items per page
Type of the batch
Available options: 
walletMessaging Retrieve a list of Batches
curl --request GET \
  --url https://api.passentry.com/api/v1/batches \
  --header 'Authorization: Bearer <token>'{
  "data": [
    {
      "id": "8ecfc493-da04-493b-8b98-bf9d5cc29115",
      "type": "walletMessaging",
      "attributes": {
        "name": "Summer Promotion 2",
        "status": "failed",
        "tag": null,
        "content": "Hello, World!",
        "scheduledAt": "2030-03-31T13:16:26Z"
      }
    },
    {
      "id": "8ecfc493-da04-493b-8b98-bf9d5cc29114",
      "type": "walletMessaging",
      "attributes": {
        "name": "Summer Promotion",
        "status": "scheduled",
        "tag": null,
        "content": "Hello, World!",
        "scheduledAt": "2030-03-31T13:16:26Z"
      }
    }
  ],
  "meta": {
    "totalCount": 2,
    "resultsPerPage": 25,
    "currentPage": 1,
    "totalPages": 1
  },
  "links": {
    "first": null,
    "prev": null,
    "next": null,
    "last": null
  }
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Page number
Number of items per page
Type of the batch
walletMessaging Was this page helpful?
curl --request GET \
  --url https://api.passentry.com/api/v1/batches \
  --header 'Authorization: Bearer <token>'{
  "data": [
    {
      "id": "8ecfc493-da04-493b-8b98-bf9d5cc29115",
      "type": "walletMessaging",
      "attributes": {
        "name": "Summer Promotion 2",
        "status": "failed",
        "tag": null,
        "content": "Hello, World!",
        "scheduledAt": "2030-03-31T13:16:26Z"
      }
    },
    {
      "id": "8ecfc493-da04-493b-8b98-bf9d5cc29114",
      "type": "walletMessaging",
      "attributes": {
        "name": "Summer Promotion",
        "status": "scheduled",
        "tag": null,
        "content": "Hello, World!",
        "scheduledAt": "2030-03-31T13:16:26Z"
      }
    }
  ],
  "meta": {
    "totalCount": 2,
    "resultsPerPage": 25,
    "currentPage": 1,
    "totalPages": 1
  },
  "links": {
    "first": null,
    "prev": null,
    "next": null,
    "last": null
  }
}