Create Customer Key
curl --request POST \
--url https://app.thinnest.ai/api/v1/customers/{id}/keys \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"name": "Sunrise front-desk dashboard",
"scope": "read"
}
'const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({name: 'Sunrise front-desk dashboard', scope: 'read'})
};
fetch('https://app.thinnest.ai/api/v1/customers/{id}/keys', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://app.thinnest.ai/api/v1/customers/{id}/keys"
payload = {
"name": "Sunrise front-desk dashboard",
"scope": "read"
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text){
"id": "0c7e4a92-3d1b-4f6a-8e25-91b7c3d4f5a6",
"name": "Sunrise front-desk dashboard",
"prefix": "ta_live_Xk3pQ9",
"scope": "read",
"createdAt": "2026-10-06T10:12:45.330Z",
"lastUsedAt": null,
"revokedAt": null,
"key": "ta_live_Xk3pQ9vLr2mT7yHc4bN8sJd1Wq6Ez0aUo5iKf3gPxRt"
}Customers
Create Customer Key
Mints an API key that works in this one customer only — to give your customer its own API access, or to run one customer’s integration on a key that cannot reach the others. The full key (ta_live_…) is in this response once; store it, because it is never shown again. Its usage is still charged to you. Needs a full key.
POST
/
customers
/
{id}
/
keys
Create Customer Key
curl --request POST \
--url https://app.thinnest.ai/api/v1/customers/{id}/keys \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"name": "Sunrise front-desk dashboard",
"scope": "read"
}
'const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({name: 'Sunrise front-desk dashboard', scope: 'read'})
};
fetch('https://app.thinnest.ai/api/v1/customers/{id}/keys', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://app.thinnest.ai/api/v1/customers/{id}/keys"
payload = {
"name": "Sunrise front-desk dashboard",
"scope": "read"
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text){
"id": "0c7e4a92-3d1b-4f6a-8e25-91b7c3d4f5a6",
"name": "Sunrise front-desk dashboard",
"prefix": "ta_live_Xk3pQ9",
"scope": "read",
"createdAt": "2026-10-06T10:12:45.330Z",
"lastUsedAt": null,
"revokedAt": null,
"key": "ta_live_Xk3pQ9vLr2mT7yHc4bN8sJd1Wq6Ez0aUo5iKf3gPxRt"
}Authorizations
Body
application/json
Response
The key, with its secret shown this once.
A new key, with its secret.