curl --request POST \
--url https://app.usertick.com/api/public/v1/dashboards/{dashboardId}/copy \
--header 'Authorization: Bearer <token>'const options = {method: 'POST', headers: {Authorization: 'Bearer <token>'}};
fetch('https://app.usertick.com/api/public/v1/dashboards/{dashboardId}/copy', 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/{dashboardId}/copy"
headers = {"Authorization": "Bearer <token>"}
response = requests.post(url, headers=headers)
print(response.text)Copy a dashboard
Copies a dashboard’s published cards into a new dashboard, ” (copy)”, as a draft: its published board stays empty until a person publishes it, and the source’s own draft isn’t copied. A copy an app or an AI assistant makes is private to its member, and one an API key makes is shared with the organization and editable by everyone, as a board it creates is. A board the organization doesn’t have, or a private one the credential can’t open, is 404 PUB-015-001, a board a plan change made read-only 403 PLN-004-004, the plan’s dashboards used up 403 PLN-001-005, and a board with more cards than the plan allows 403 PLN-001-013. Needs the member’s permission to manage dashboards. 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/{dashboardId}/copy \
--header 'Authorization: Bearer <token>'const options = {method: 'POST', headers: {Authorization: 'Bearer <token>'}};
fetch('https://app.usertick.com/api/public/v1/dashboards/{dashboardId}/copy', 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/{dashboardId}/copy"
headers = {"Authorization": "Bearer <token>"}
response = requests.post(url, 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.
255Response
Created.