Skip to main content
POST
Create tickets

Authorizations

Authorization
string
header
required

Integrator API key, issued from the VENTRY dashboard. Format vk_live_... in production and vk_test_... in test environments.

Headers

idempotency-key
string
required

Unique identifier for the operation, generated by your system.

Body

application/json
ticket_type
string
required

Id from GET /ticket-types.

valid_days
string[]
required

Ids from GET /days the ticket is valid for.

Minimum array length: 1
attendee
object
required
code
string

QR code. If omitted, VENTRY generates one. Sending your own makes reconciliation easier later.

Required string length: 4 - 64
extra_zones
string[]

Extra zones granted to this ticket by add-ons, on top of those of its type.

Response

Created tickets.

Created tickets.

object
enum<string>
required
Available options:
list
data
object[]
required
has_more
boolean
required

If true, request the next page with starting_after.

next_cursor
null | string
required

Value to pass in starting_after to continue.