Demo
Start demo session
Exchange the shared demo code for a short-lived, read-only session.
POST
/
v1
/
demo
/
session
Start demo session
curl --request POST \
--url https://api.getmillwork.dev/v1/demo/session \
--header 'Content-Type: application/json' \
--data '
{
"access_code": "<string>"
}
'const options = {
method: 'POST',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({access_code: '<string>'})
};
fetch('https://api.getmillwork.dev/v1/demo/session', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"display_name": "<string>",
"identity": {
"email": "<string>",
"name": "<string>",
"subject": "<string>"
},
"is_demo": true,
"role": "viewer",
"tenant_id": "<string>"
}{
"instance": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"status": 123,
"title": "<string>",
"type": "<string>",
"detail": "<string>",
"errors": [
{
"field": "<string>",
"message": "<string>"
}
],
"retry_after_s": 123
}{
"instance": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"status": 123,
"title": "<string>",
"type": "<string>",
"detail": "<string>",
"errors": [
{
"field": "<string>",
"message": "<string>"
}
],
"retry_after_s": 123
}⌘I
Start demo session
curl --request POST \
--url https://api.getmillwork.dev/v1/demo/session \
--header 'Content-Type: application/json' \
--data '
{
"access_code": "<string>"
}
'const options = {
method: 'POST',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({access_code: '<string>'})
};
fetch('https://api.getmillwork.dev/v1/demo/session', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"display_name": "<string>",
"identity": {
"email": "<string>",
"name": "<string>",
"subject": "<string>"
},
"is_demo": true,
"role": "viewer",
"tenant_id": "<string>"
}{
"instance": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"status": 123,
"title": "<string>",
"type": "<string>",
"detail": "<string>",
"errors": [
{
"field": "<string>",
"message": "<string>"
}
],
"retry_after_s": 123
}{
"instance": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"status": 123,
"title": "<string>",
"type": "<string>",
"detail": "<string>",
"errors": [
{
"field": "<string>",
"message": "<string>"
}
],
"retry_after_s": 123
}