All Collections
Integrations
Eventive API
Sample API ticket creation workflow
Sample API ticket creation workflow

Use the Eventive API to automate the creation of tickets sold via an external ticketing system.

Iddo Patt avatar
Written by Iddo Patt
Updated over a week ago

If you are selling tickets using a system other than Eventive, you will still need to create tickets within Eventive for your audience members to access virtual screenings or to be able to check in to physical events via Eventive access systems.

You can manually create these tickets using our group sales pathway in the box office, or you can automate the group sales process using the Eventive API.

To automate the process, your external system will have to trigger the following API call:

Request

POST https://api.eventive.org/box_office/new_order

{
"emails": [
"sample@sample.com"
],
"subitems": [
{
"ticket_bucket": "Ticket_bucket_ID",
"quantity": 1
}
],
"additional_message": "Optional message",
"event_bucket": "Event_bucket_ID",
"api_key": "Your_API_key"
}

Sample Response

HTTP Status = 200 on success

{
"orders": [
{
"id": "5f171bfb9be6240029e395b5",
"owner": "5ef0dd7b8d1d220094b82def",
"created_at": "2020-07-21T16:46:51.262Z",
"purchase_price": 0,
"net_price": 0,
"type": "box_office",
"subtype": "card",
"success": true,
"currency": "usd",
"event_bucket": {
"id": "event_bucket_ID",
"name": "Event_bucket_name"
},
"person": {
"id": "5eed46fa05609aef8b977639",
"details": {
"name": "Box Office",
"email": "noreply@eventive.org"
}
},
"summary": "1 ticket to \"event name\"",
"additional_message": "Optional message",
"tickets": [
{
"id": "5f171bfb9be6240029e395b8",
"ticket_bucket": {
"id": "5f171ad33d5a74004c8437c5",
"name": "Online Admission",
"price": 0
},
"event": {
"id": "5f0db5407e2164004ce673a1",
"name": "event namer",
"description": "",
"start_time": "2020-08-24T23:30:00.000Z",
"end_time": "2020-08-29T03:59:00.000Z",
"images": {}
},
"created_at": "2020-07-21T16:46:51.316Z",
"unlocked_until": "2020-08-29T03:59:00.000Z"
}
],
"order_tickets_pdf_path": "orders/5f171bfb9be6240029e395b5/tickets.pdf",
"passes": [],
"items": [],
"credits": [],
"_items": {
"5f171bfb9be6240029e395b8": {
"price": 0
}
},
"_raw_order": {
"subitems": [
{
"ticket_bucket": "5f171ad33d5a74004c8437c5",
"quantity": 1,
"gift": true,
"gift_recipient": "sample@sample.com",
"gift_message": "Optional message",
"auto_accept_gift": true
}
]
}
}
]
}
Did this answer your question?