How a push works
Every pushed item is a submission; your key and the endpoints.
With the partner write API your system pushes venues, events and their dates to CIXTRA. It is a separate API from the read API: it has its own key type and its own machine-readable reference at https://api.cixtra.app/api/openapi.partner.json.
You do not create records directly. Every item you push is a submission:
- You submit a venue or an event with its dates, under your own id (
externalId). - CIXTRA checks whether this venue or event already exists in the network.
- You get a state for your submission: accepted as a new record, matched to an existing record, waiting for a decision, or not accepted (with a reason). Read it back at any time (see Reading back what became of a submission).
The check runs after your request has been answered; a fresh submission is pending for a while.
Your key
Send a partner API key in X-API-Key. A partner key starts with sk_ (not sk_org_; an organisation key of the read API is refused with 401). CIXTRA sets it up for you with the permission to write; a key without it gets 403 with code: "PARTNER_PERMISSION_REQUIRED".
A key can belong to your organisation. It then acts for that organisation: venues and events created from your submissions belong to it, and your changes to records you did not create land in your organisation's own version (see Changing and deleting records). The key works only while its user is a member of that organisation (403, code: "KEY_ORGANIZATION_NOT_ALLOWED").
Endpoints
All paths are under https://api.cixtra.app/api/v1/partner.
| Method and path | What it does |
|---|---|
POST /event-series/bulk | Submit events (payload), or change an event series (properties, translations). |
POST /locations/bulk | Submit venues (payload), or change a venue (properties, translations). |
POST /showtimes/bulk | Submit events like /event-series/bulk, under a separate id space: use it when your system has an id per performance. |
GET /submissions | Your submissions and their state, paged, with updatedSince. |
GET /submissions/{kind}/{externalId} | One submission (kind: event, location or showtime). |
DELETE /event-series/{externalId} | Delete an event series created from your submission. |
DELETE /showtimes/{id} | Withdraw your report of one date. |