Skip to main content
PATCH
Update an experience or retire it

Authorizations

x-api-key
string
header
required

Which app is calling, and its usage plan: a platform's secret key, from servers only, or an app's publishable key (pk_live_...), safe in app code. It identifies the app and grants nothing on its own.

Authorization
string
header
required

A platform's short-lived issuer token, for the same client as the key.

Path Parameters

experience_id
string
required
Pattern: ^exp_[0-9A-HJKMNP-TV-Z]{26}$
Example:

"exp_01JBX7Q2T8M4K9R6V3N5P0WZCD"

Body

application/json
name
string

The item's name, as the hub card and on-air graphics show it.

Required string length: 1 - 200
starts_at
string<date-time>

RFC 3339, in UTC.

ends_at
string<date-time>

RFC 3339, in UTC.

metadata
object

Free-form tags: up to 50 keys of up to 40 characters, values up to 500. One reserved key, event_id: the event the item is about. Every other key is yours, and never interpreted.

locale
string
item_order
string[]

Every item in the experience, each once, in the order the hub shows them.

Any widget: its type's prefix (pol_, pck_, rtg_, lnp_, prd_, spn_, qiz_ or fzn_) and a 26-character ULID, as on the Dizplai API. Opaque after the prefix.

Pattern: ^(pol|pck|rtg|lnp|prd|spn|qiz|fzn)_[0-9A-HJKMNP-TV-Z]{26}$
status
enum<string>

deleted retires the experience and every item in it. An experience's other statuses come from its items.

Available options:
deleted

Response

The experience, as saved.

id
string
required
Pattern: ^exp_[0-9A-HJKMNP-TV-Z]{26}$
Example:

"exp_01JBX7Q2T8M4K9R6V3N5P0WZCD"

name
string
required
status
enum<string>
required

Worked out from its items: live if any item is, else hidden, else closed.

Available options:
scheduled,
live,
hidden,
closed,
deleted
qr_image_url
string<uri> | null
required

The experience's QR code.

starts_at
string<date-time> | null
required
ends_at
string<date-time> | null
required
metadata
object
required

Free-form tags: up to 50 keys of up to 40 characters, values up to 500. One reserved key, event_id: the event the item is about. Every other key is yours, and never interpreted.

locale
string
required
items
object[]
required

Every item, types mixed, in display order, results included.

created_at
string<date-time>
required

RFC 3339, in UTC.

updated_at
string<date-time>
required

RFC 3339, in UTC.

hub_id
string

A hub in a creator network: one creator's fan site, registered under the network's client ID. Present only in creator networks; a client without a network has no hub ID.

Pattern: ^hub_[0-9A-HJKMNP-TV-Z]{26}$