REST API · v1
Base URL: https://passmint.com/api
Pass your API key as a Bearer token. Test keys start with pmk_test_ and live keys with pmk_live_. The mode is determined by the prefix.
Send Idempotency-Key: <uuid> on POSTs. Replays within 24h return the cached response. Reusing a key with a different body returns 409.
curl https://passmint.com/api/v1/passes \
-H "Authorization: Bearer pmk_test_xxx" \
-H "Content-Type: application/json" \
-H "Idempotency-Key: $(uuidgen)" \
-d '{
"template_id": "tmpl_xxx",
"holder_email": "alice@example.com",
"holder_name": "Alice Johnson",
"field_values": { "seatNumber": "A12" }
}'{
"error": {
"type": "invalid_request_error",
"code": null,
"message": "template_id is required",
"param": "template_id"
}
}Authorization: Bearer pmk_test_xxx