Archive Thread
Archive an inbox conversation thread.
POST
/
v1
/
threads
/
{thread_id}
/
archive
Archive Thread
curl --request POST \
--url https://api.topo.io/v1/threads/{thread_id}/archive \
--header 'Authorization: Bearer <token>'const options = {method: 'POST', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.topo.io/v1/threads/{thread_id}/archive', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.topo.io/v1/threads/{thread_id}/archive"
headers = {"Authorization": "Bearer <token>"}
response = requests.post(url, headers=headers)
print(response.text){
"thread_id": "<string>",
"archived": true
}Archive an inbox conversation thread.
Requires the
contacts:write scope on the API key.Authorizations
Bearer API key issued from Settings → Developers.
Path Parameters
ID of the thread.
Was this page helpful?
⌘I
Archive Thread
curl --request POST \
--url https://api.topo.io/v1/threads/{thread_id}/archive \
--header 'Authorization: Bearer <token>'const options = {method: 'POST', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.topo.io/v1/threads/{thread_id}/archive', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.topo.io/v1/threads/{thread_id}/archive"
headers = {"Authorization": "Bearer <token>"}
response = requests.post(url, headers=headers)
print(response.text){
"thread_id": "<string>",
"archived": true
}