Gallery Platform API
Reference

Create a booth

Adds a booth to an art-fair show in the gallery. The show's `booth` reads the code of its first booth.

POST
/gallery/booths

Adds a booth to an art-fair show in the gallery. The show's booth reads the code of its first booth.

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 booth.

Response Body

application/json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

{  "id": "string",  "show_id": "string",  "code": "string",  "hall": "string",  "sector": "string",  "notes": "string",  "created_at": "string",  "updated_at": "string"}