curl --request GET \
--url https://app.thinnest.ai/api/v1/invitations/{id} \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://app.thinnest.ai/api/v1/invitations/{id}', 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/{id}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"id": "inv_2d3f5a7c-9e1b-4d6f-8a2c-4e6a8c0e2f57",
"email": "anjali@sunrisedental.in",
"role": "member",
"status": "accepted",
"expiresAt": "2026-10-20T10:40:00.000Z",
"createdAt": "2026-10-06T10:40:00.000Z"
}{
"error": "Send a valid API key as `Authorization: Bearer <key>`."
}{
"error": "That invitation was not found."
}{
"error": "Over 240 requests a minute. Slow down and retry."
}Get Invitation
One invitation, whatever its status — pending, accepted or revoked.
curl --request GET \
--url https://app.thinnest.ai/api/v1/invitations/{id} \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://app.thinnest.ai/api/v1/invitations/{id}', 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/{id}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"id": "inv_2d3f5a7c-9e1b-4d6f-8a2c-4e6a8c0e2f57",
"email": "anjali@sunrisedental.in",
"role": "member",
"status": "accepted",
"expiresAt": "2026-10-20T10:40:00.000Z",
"createdAt": "2026-10-06T10:40:00.000Z"
}{
"error": "Send a valid API key as `Authorization: Bearer <key>`."
}{
"error": "That invitation was not found."
}{
"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.
"org_3fKq9TzQ1mN8vB2xR7cLpA"
Path Parameters
The invitation's id (inv_…).
Response
The invitation.
The invitation's id (inv_…).
"inv_2d3f5a7c-9e1b-4d6f-8a2c-4e6a8c0e2f57"
Who is invited, lower-cased.
"anjali@sunrisedental.in"
The role they will have.
owner, admin, member "member"
pending until it is accepted or revoked. A pending invitation past expiresAt no longer works.
pending, accepted, revoked "pending"
When its link stops working: 14 days after it was last sent.
"2026-10-20T10:40:00.000Z"
"2026-10-06T10:40:00.000Z"