Skip to main content
Watch for real-time updates to previewed components or content via a preview token.
Subscriptions are only useful for draft components and unpublished content, as published versions are immutable and will never change.

Subscription

Parameters

Authentication

Use previewToken in connection params instead of x-api-key:

Response: PreviewUpdate

ComponentPreview

ContentPreview

Example

Variables

Component Update Payload

Content Update Payload

Client Implementation

Handling Large Payloads

When data exceeds 100KB, the component or content field will be null: