Webhooks API

The project refresh webhook is designed for CI/CD systems.

text
POST /api/v1/webhooks/projects/{projectId}/refresh

Request

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

You can also authenticate with a live API key:

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

Response

json
{ "refreshed": 3, "jobs": [ { "demoId": "demo_abc", "jobId": "job_123" } ]}

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

Ask a question... ⌘I