curl --request POST \
--url https://app.usertick.com/api/public/v1/dashboards \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"name": "Onboarding health"
}
'const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({name: 'Onboarding health'})
};
fetch('https://app.usertick.com/api/public/v1/dashboards', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://app.usertick.com/api/public/v1/dashboards"
payload = { "name": "Onboarding health" }
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)Create a dashboard draft
Creates a dashboard from typed cards, as a draft: its published board stays empty until a person publishes it. Cards without a position are placed in order on the 12-column grid. A board an API key creates is shared with the organization and editable by everyone, so the key can read and edit it; one an app or an AI assistant creates is private to its member, as a new board in Usertick is. Nothing reaches the board’s viewers: a person opens it in edit mode in Usertick (editorUrl) and selects Publish. The API never publishes, discards, deletes, pins or shares a board. The plan’s dashboards and cards per dashboard apply as in the dashboard; no Usertick AI credits are used. A survey or a question a card names that the credential can’t read is 400 PUB-015-008. Recorded in the audit log as made through the credential. 201 with the draft and its address in Location.
Scopes: dashboards:draft, dashboards:read.
curl --request POST \
--url https://app.usertick.com/api/public/v1/dashboards \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"name": "Onboarding health"
}
'const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({name: 'Onboarding health'})
};
fetch('https://app.usertick.com/api/public/v1/dashboards', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://app.usertick.com/api/public/v1/dashboards"
payload = { "name": "Onboarding health" }
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)Authorizations
Headers
Any 1 to 255 printable ASCII characters, without a space at either end. The answer to the first request with a key is kept for 24 hours per credential: the same request again gets it back (Idempotent-Replayed: true), another request with the key is 409 PUB-002-002, and while the first still runs 409 PUB-002-003. A server error is not kept, and a request that never answered frees its key after 2 minutes: a retry with the key then runs again.
255Body
Response
Created.