Gallery Platform API
Reference

List a gallery's public viewing rooms

The gallery's public viewing rooms — the browser-safe read surface. Authenticated with a `gpub_` publishable token; CORS-open. Unlisted and private rooms are never returned.

GET
/public/viewing-rooms

The gallery's public viewing rooms — the browser-safe read surface. Authenticated with a gpub_ publishable token; CORS-open. Unlisted and private rooms are never returned.

Authorization

bearerAuth viewing_rooms:read
AuthorizationBearer <token>

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

In: header

Scope: viewing_rooms:read

Response Body

application/json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

{  "data": [    {      "list_id": "string",      "slug": "string",      "title": "string",      "description": "string",      "cover_image_path": "string",      "cover_image_url": "string",      "work_count": -9007199254740991,      "created_at": "string",      "updated_at": "string"    }  ]}