curl --request POST \
--url https://app.thinnest.ai/api/v1/conversations/{id}/assign \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"assignee": "priya@sunrisedental.in"
}
'const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({assignee: 'priya@sunrisedental.in'})
};
fetch('https://app.thinnest.ai/api/v1/conversations/{id}/assign', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://app.thinnest.ai/api/v1/conversations/{id}/assign"
payload = { "assignee": "priya@sunrisedental.in" }
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text){
"assignee": {
"id": "6f2d4a8e-1b9c-4e57-8d3a-5c7e0b2f9a14",
"name": "Priya Nair",
"email": "priya@sunrisedental.in"
},
"changed": true
}{
"error": "That email is not a member of this workspace."
}{
"error": "Send a valid API key as `Authorization: Bearer <key>`."
}{
"error": "The shared inbox needs a paid plan. Switch to pay-as-you-go — there is no monthly fee — to move conversations."
}{
"error": "That conversation was not found."
}{
"error": "Over 240 requests a minute. Slow down and retry."
}Assign Conversation
Make a conversation a teammate’s job, by their email — or null to put it back in the pool. The teammate is notified when it really moves to them. Assigning does not silence the agent; taking it over with Update Conversation Status does. List your teammates with GET /members. The shared inbox needs a paid plan. A build key may do this.
curl --request POST \
--url https://app.thinnest.ai/api/v1/conversations/{id}/assign \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"assignee": "priya@sunrisedental.in"
}
'const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({assignee: 'priya@sunrisedental.in'})
};
fetch('https://app.thinnest.ai/api/v1/conversations/{id}/assign', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://app.thinnest.ai/api/v1/conversations/{id}/assign"
payload = { "assignee": "priya@sunrisedental.in" }
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text){
"assignee": {
"id": "6f2d4a8e-1b9c-4e57-8d3a-5c7e0b2f9a14",
"name": "Priya Nair",
"email": "priya@sunrisedental.in"
},
"changed": true
}{
"error": "That email is not a member of this workspace."
}{
"error": "Send a valid API key as `Authorization: Bearer <key>`."
}{
"error": "The shared inbox needs a paid plan. Switch to pay-as-you-go — there is no monthly fee — to move conversations."
}{
"error": "That conversation 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 conversation's id (conv_…).
Body
A teammate's email address (any case), or null to unassign.