Batches

Create pass batch

Create passes in bulk via a CSV file.

For more details, see the Batch Pass Creation documentation.

post/api/v1/passes/batch

Request

  • Base URL
    https://api.passentry.com
  • URL
    https://api.passentry.com/api/v1/passes/batch
  • Auth
    HTTP bearer

Request body multipart/form-data

namestring

Friendly name of the batch, used for display purposes. Auto-generated if not provided

csvstring binary required

CSV file containing pass data. 10 MB max size. Review the Batch Pass Creation guide for more information.

passTemplatestring required

Pass Template ID.

Example request

{
  "name": "PassEntry Batch #1"
}

Response

Accepted

Example response

{
  "data": {
    "attributes": {
      "name": "PassEntry Batch #1",
      "completedAt": "2021-01-01T00:00:00Z",
      "passTemplateName": "PassEntry Ticketing",
      "passTemplateNameId": "acbb27e9cfb4e8f62f8cb999",
      "resultCsvUrl": "https://example.com/errors.csv",
      "totalCount": 100,
      "progress": {
        "total": 100,
        "processed": 90,
        "pending": 10
      }
    }
  },
  "links": {
    "self": "https://api.passentry.com/api/v1/batches/d29455c9-afe4-4c73-b946-a5ea0b1667f7"
  }
}

Changes

No recorded changes to this operation across all 9 revisions of this API.