Issue an event ticket
POST /event-tickets/issue
Canonical alias for /event-tickets/create-from-booking. Requires the passes:issue permission.
Authorization
X-API-Key required
Request Body
| Field | Type | Required | Description |
|---|---|---|---|
bookingId | string | Yes | External booking or order identifier for the ticket. Must be unique; duplicate booking IDs are rejected. |
film | string | Yes | Event or film name to display on the ticket. |
sendEmail | boolean | No | Defaults to false. Set to true to send the ticket email after creation. |
startTime | string (date-time) | Yes | Event start time in ISO 8601 format. |
seat | string | Yes | Seat number or seat label. |
row | string | Yes | Seat row. |
screen | string | Yes | Screen, room, section, or venue area. |
customer | object | Yes | Customer details for the ticket recipient. |
Request Examples
curl -X POST "https://api.remypass.com/api/v1/public/event-tickets/issue" \
-H "Accept: application/json" \
-H "X-API-Key: YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"bookingId": "BOOKING-12345",
"film": "The Matrix Reloaded",
"sendEmail": true,
"startTime": "2024-12-25T19:30:00.000Z",
"seat": "A12",
"row": "A",
"screen": "Screen 1",
"customer": {
"name": "John Doe",
"email": "john@example.com"
}
}'Responses
| Status | Description |
|---|---|
201 | Event ticket created. |
400 | Bad request or validation error. |
401 | Missing or invalid API key. |
403 | The caller is not allowed to access this resource. |
500 | Server error. |
Response Fields
| Field | Type | Attributes |
|---|---|---|
success | boolean | |
message | string | |
data | object | Show child attributes
|