List Invitations
curl --request GET \
--url https://app.thinnest.ai/api/v1/invitations \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://app.thinnest.ai/api/v1/invitations', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://app.thinnest.ai/api/v1/invitations"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"items": [
{
"id": "inv_2d3f5a7c-9e1b-4d6f-8a2c-4e6a8c0e2f57",
"email": "anjali@sunrisedental.in",
"role": "member",
"status": "pending",
"expiresAt": "2026-10-20T10:40:00.000Z",
"createdAt": "2026-10-06T10:40:00.000Z"
}
],
"nextCursor": null
}{
"error": "`name` must be 1 to 80 characters."
}{
"error": "Send a valid API key as `Authorization: Bearer <key>`."
}{
"error": "Over 240 requests a minute. Slow down and retry."
}Invitations
List Invitations
Pending invitations, newest first. The link in each is only ever in the email, never here.
GET
/
invitations
List Invitations
curl --request GET \
--url https://app.thinnest.ai/api/v1/invitations \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://app.thinnest.ai/api/v1/invitations', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://app.thinnest.ai/api/v1/invitations"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"items": [
{
"id": "inv_2d3f5a7c-9e1b-4d6f-8a2c-4e6a8c0e2f57",
"email": "anjali@sunrisedental.in",
"role": "member",
"status": "pending",
"expiresAt": "2026-10-20T10:40:00.000Z",
"createdAt": "2026-10-06T10:40:00.000Z"
}
],
"nextCursor": null
}{
"error": "`name` must be 1 to 80 characters."
}{
"error": "Send a valid API key as `Authorization: Bearer <key>`."
}{
"error": "Over 240 requests a minute. Slow down and retry."
}Authorizations
Your API key (ta_live_…) from Settings → API keys, sent as Authorization: Bearer <key>. Keep it on a server: it can message every customer you have. A key is full, build or read-only; a request its level does not allow is refused with 403.
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.
Example:
"org_3fKq9TzQ1mN8vB2xR7cLpA"
Query Parameters
How many items to return, 1 to 100.
Required range:
1 <= x <= 100The nextCursor from the previous page. Leave it out for the first page.