Turn the public demo page on or off
POST
/assistants /{id} /demo-pageThe demo page lets anyone with its link call the assistant and see the calls it placed, with their transcripts and recordings. Off by default. enabled: true turns it on with a new link; calling it again regenerates the link and the previous one stops working at once. enabled: false turns it off.
Path parameters
idstringrequiredID of the assistant, as returned by
GET /assistants.
Request body
application/jsonenabledbooleanrequiredtrue: turn the page on with a new link (regenerates it if already on). false: turn it off.
Response
200demo_page_urlstringnullableThe page's link, or null when it is off.
Errors
- 404Not found in your organization
{ "error": string }
Error bodies carry an error (or message) string; a 400 adds bodyErrors.issues. See Errors.