Refreshing demos

A refresh records the demo again. The embed URL stays the same, and the latest ready version is served automatically.

Use refreshes when the product UI changed, the copy changed, or a demo environment now has better data.

Refresh methods

MethodBest for
Manual refreshOne-off fixes from the dashboard.
Scheduled refreshDemos that should stay current without deploy hooks.
Webhook refreshCI/CD pipelines that know exactly when a deploy finished.
API refreshProduct-owned workflows and internal tools.

Refresh one demo

bash
curl -X POST https://littledemo.com/api/v1/demos/demo_abc123/refresh \ -H "Authorization: Bearer ld_live_xxx"

Refresh a project

bash
curl -X POST https://littledemo.com/api/v1/projects/proj_abc123/refresh \ -H "Authorization: Bearer ld_live_xxx"

Refresh after deploy

bash
curl -X POST https://littledemo.com/api/v1/webhooks/projects/proj_abc123/refresh \ -H "X-Webhook-Secret: whsec_xxx"

The webhook endpoint queues refresh jobs for ready demos in the project.

Ask a question... ⌘I