Gallery Platform API
Reference

Create an artwork list

Creates a list in the gallery. The slug is generated from the title.

POST
/gallery/lists

Creates a list in the gallery. The slug is generated from the title.

Authorization

bearerAuth artworks:create
AuthorizationBearer <token>

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

In: header

Scope: artworks: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 list. The slug is generated from the title.

Response Body

application/json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

{  "id": "string",  "slug": "string",  "title": "string",  "description": "string",  "kind": "viewing_room",  "visibility": "public",  "is_dynamic": true,  "dynamic_query": {    "property1": null,    "property2": null  },  "show_prices": true,  "show_status": true,  "show_location": true,  "allow_purchase": true,  "cover_image_path": "string",  "cover_url": "string",  "theme_overrides": {    "accent_color": "string",    "background_color": "string",    "text_color": "string",    "font_family": "sans",    "layout": "grid"  },  "brand_logo_storage_path": "string",  "brand_logo_url": "string",  "created_at": "string",  "updated_at": "string"}