Skip to main content
A rep’s Prep demo, in Calls → Prep a demo, sends the demo.requested webhook to your app. These two routes are how your app answers. Both need an API key of the same workspace with the demos:manage scope, and both find the request inside that key’s workspace only.

Retrieve a request

GET /v1/demo-requests/{id} returns where one request stands.
status is waiting until your app answers, then ready or failed.

Send back the demo

POST /v1/demo-requests/{id}/environment with {status: "ready", url} once the demo is built, or {status: "failed", message} when it can’t be. url must be https://. Answering again replaces the earlier answer.
In the SDK: custral.demoRequests.retrieve(id) and custral.demoRequests.setEnvironment(id, params). Over MCP: get_demo_request and set_demo_environment.