GET
Get event site preview and publish state

Authorizations

better-auth.session_token
string
cookie
required

Better Auth session cookie.

Path Parameters

eventId
string
required

Event id

Minimum string length: 1
Example:

"be1bbd83-5d72-4dd1-8948-ee01a42d1939"

Response

Event site state

eventId
string
required
Minimum string length: 1
orgSlug
string
required
Minimum string length: 1
eventSlug
string
required
Minimum string length: 1
status
enum<string>
required
Available options:
DRAFT,
PUBLISHED
v0ProjectId
string | null
required
v0ChatId
string | null
required
v0VersionId
string | null
required
previewDemoUrl
string<uri> | null
required
previewWebUrl
string<uri> | null
required
previewUpdatedAt
string<date-time> | null
required
publishedDeploymentUrl
string<uri> | null
required
publishedDeploymentId
string | null
required
publishedVersionId
string | null
required
hasUnpublishedChanges
boolean
required
publicPath
string
required

Path that works today. /{eventSlug} when the custom domain is active, otherwise /{orgSlug}/{eventSlug}.

Minimum string length: 1
publicUrl
string
required

Absolute or path-only URL that works today. Uses the custom hostname only when its status is active.

Minimum string length: 1
domain
object | null
required

Workspace custom domain, including rows that are not active yet. Null when none is configured.