Gallery Platform API
Reference

Create a free RSVP order

Creates a free RSVP order against a session and issues its tickets. Every line's ticket type must be free or comp; capacity is enforced atomically (concurrent claims for the last seat serialize — exactly one wins). Paid checkout is a separate flow.

POST
/gallery/orders

Creates a free RSVP order against a session and issues its tickets. Every line's ticket type must be free or comp; capacity is enforced atomically (concurrent claims for the last seat serialize — exactly one wins). Paid checkout is a separate flow.

Authorization

bearerAuth shows:create
AuthorizationBearer <token>

A gallery API key, sent as Authorization: Bearer gpk_… (or the x-api-key header).

In: header

Scope: shows:create

Header Parameters

Idempotency-Key?string

Optional. Send a unique key per logical operation to make retries safe: a retry with the same key replays the stored success for 14 days instead of re-running the write. Reusing a key with a different body returns 400.

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Create a free RSVP order against a session. Every line's ticket type must be free or comp; capacity is enforced atomically.

Response Body

application/json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

{  "id": "string",  "event_id": "string",  "session_id": "string",  "contact_id": "string",  "buyer_name": "string",  "buyer_email": "string",  "status": "pending",  "subtotal_cents": -9007199254740991,  "currency": "string",  "tickets": [    {      "id": "string",      "order_id": "string",      "session_id": "string",      "ticket_type_id": "string",      "status": "issued",      "created_at": "string"    }  ],  "metadata": {    "property1": "string",    "property2": "string"  },  "created_at": "string",  "updated_at": "string"}