Configure the feed
Save your publishable key and market ID in your storefront configuration. To discover market IDs, callGET /v2/markets from your server with a secret key that has markets:read.
For a curated feed, copy a published gallery ID from its Cevoid installation settings. There is no gallery discovery endpoint. Omit gallery_id for the workspace community feed. To discover curation labels, call GET /v2/labels from your server with labels:read.
Fetch posts
Request posts with your market and publishable key. For a product page, pass its product reference:product_ref. You can add gallery_id or label filters for curation. See the endpoint parameters for matching rules and limits.
Append each page’s data, then request next_cursor while has_more is true. Keep all other query parameters unchanged. Restart pagination after changing the market or filters.
Render the content
- Render
IMAGEposts as images andVIDEOposts as videos. Usemedia.thumbnail_urlas the video poster,altfor accessible descriptions, andvideo_captionsfor WebVTT captions. - Allow missing attribution, thumbnails, and captions. Hide captions when
hide_captionis true. - Render
tagged_productsas product cards and respectavailability. Show a card even when it has no hotspot coordinates. Usecustom_linkfor an editorial call to action. - Hide empty sections. Keep the rest of the page usable if a request fails, and respect
Retry-Afteron429responses.