curl --request POST \
--url https://app.usertick.com/api/public/v1/exports \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"kind": "results",
"format": "xlsx"
}
'const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({kind: 'results', format: 'xlsx'})
};
fetch('https://app.usertick.com/api/public/v1/exports', 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/exports"
payload = {
"kind": "results",
"format": "xlsx"
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)Start an export
Starts a CSV or Excel export of a survey’s Results or of a dashboard: the file the Export menu in Usertick makes, figures with samples of recent written answers (not a copy of every response; GET /responses reads those). It is built in the background as the credential reads: an app or an AI assistant as its member, an API key as the organization, so a key exports the boards shared with the organization. Each file counts as one of the plan’s exports this month (403 PLN-001-014 when they are used, 503 EXP-001-006 when the count can’t be read); an export that ends without a file isn’t counted. The file is kept 24 hours. A survey the credential can’t read is 404 APK-006-005, a board 404 PUB-015-001. Recorded in the audit log as made through the credential. 202 with the export; follow it with GET /exports/.
Scopes: exports:create, responses:read.
curl --request POST \
--url https://app.usertick.com/api/public/v1/exports \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"kind": "results",
"format": "xlsx"
}
'const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({kind: 'results', format: 'xlsx'})
};
fetch('https://app.usertick.com/api/public/v1/exports', 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/exports"
payload = {
"kind": "results",
"format": "xlsx"
}
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
The export.