Skip to main content
POST
cURL

Authorizations

integration_id
string
header
required

Identifier of the integration (Auth v1)

secret
string
header
required

Secret of the organization (Auth v1)

x-api-key
string
header
required

API key (Auth v2)

Body

application/json
quantity
number
required

Number of tickets to create.

Example:

2

ticket_rate_id
string
required

Ticket rate identifier.

Example:

"tkrt_12345"

sale_type
enum<string>
required

Type of sale.

Available options:
online
Example:

"online"

tickets
object[]
required

List of tickets to create.

Minimum array length: 1
channel_id
string

Channel identifier (mutually exclusive with referral_id).

Example:

"chnl_abc123"

referral_id
string

Referral identifier (mutually exclusive with channel_id).

Example:

"rfrl_xyz789"

Response

Tickets successfully created.

success
boolean
Example:

true

data
object