curl --request POST \
--url https://app.thinnest.ai/api/v1/teams \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"name": "Front desk"
}
'const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({name: 'Front desk'})
};
fetch('https://app.thinnest.ai/api/v1/teams', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://app.thinnest.ai/api/v1/teams"
payload = { "name": "Front desk" }
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text){
"id": "team_4b7e9d13-8f2a-4c56-a0b8-d2e4f6a8c013",
"name": "Front desk",
"members": [],
"projects": [],
"createdAt": "2026-10-06T10:20:44.130Z"
}Create Team
Adds an empty team; put members in it and grant it projects with the team’s sub-resources. Teams need a plan with teams and projects, and are refused with 402 otherwise. A build key may do this.
curl --request POST \
--url https://app.thinnest.ai/api/v1/teams \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"name": "Front desk"
}
'const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({name: 'Front desk'})
};
fetch('https://app.thinnest.ai/api/v1/teams', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://app.thinnest.ai/api/v1/teams"
payload = { "name": "Front desk" }
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text){
"id": "team_4b7e9d13-8f2a-4c56-a0b8-d2e4f6a8c013",
"name": "Front desk",
"members": [],
"projects": [],
"createdAt": "2026-10-06T10:20:44.130Z"
}Authorizations
Headers
Developers only: the customer workspace this request acts in — its org_… id from POST /customers. Leave it out to act in your own workspace. Refused with 404 (Workspace not found.) when the id is unknown, is not one of your customers, or is not an org_… id; 410 when that customer was deleted (restore it with POST /customers/{id}/restore until it is erased); 403 when the key belongs to one customer workspace (it cannot act as another); 400 when your workspace is not a developer workspace. /customers/* and GET /customers/usage are your own workspace's and refuse the header with 400: call them without it.
"org_3fKq9TzQ1mN8vB2xR7cLpA"
Body
Response
The team was created.