Create passes in bulk via a CSV file.
For more details, see the Batch Pass Creation documentation.
cURL
curl --request POST \ --url https://api.passentry.com/api/v1/passes/batch \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: multipart/form-data' \ --form csv='@example-file' \ --form passTemplate=bf9d5cc29114
{ "data": { "id": "999b774f-02ae-4931-94c6-596f614ef4f4", "type": "passCreation", "attributes": { "name": "Batch: Pass Creation 2025-11-21 15:34:02", "status": "processing", "passTemplateName": "PassEntry Ticketing", "passTemplateNameId": "acbb27e9cfb4e8f62f8cb999" } }, "links": { "self": "https://api.passentry.com/api/v1/batches/999b774f-02ae-4931-94c6-596f614ef4f4" } }
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Batch
CSV file containing pass data. 10 MB max size. Review the Batch Pass Creation guide for more information.
Pass Template ID.
Friendly name of the batch, used for display purposes. Auto-generated if not provided
"PassEntry Batch #1"
Accepted
Show child attributes
UUID of the batch
Type of batch
passCreation
Status of the batch
processing
successful
failed
ISO8601 timestamp of when the batch was completed
"2021-01-01T00:00:00Z"
Name of the pass template
"PassEntry Ticketing"
ID of the pass template
"acbb27e9cfb4e8f62f8cb999"
URL to a CSV file containing the results of the batch
"https://example.com/errors.csv"
If present, total number of passes created in the batch
100
Shown when batch is processing. Progress of the batch, can be polled for real-time updates.
Total number of passes to be created in the batch
Number of passes processed in the batch
90
Number of passes pending to be created in the batch
10
Self link to the batch record
"https://api.passentry.com/api/v1/batches/d29455c9-afe4-4c73-b946-a5ea0b1667f7"
Was this page helpful?