Categorize Reply
Recategorize an inbound reply message.
PATCH
/
v1
/
messages
/
{message_id}
/
category
Categorize Reply
curl --request PATCH \
--url https://api.topo.io/v1/messages/{message_id}/category \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{}'const options = {
method: 'PATCH',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({})
};
fetch('https://api.topo.io/v1/messages/{message_id}/category', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.topo.io/v1/messages/{message_id}/category"
payload = {}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.patch(url, json=payload, headers=headers)
print(response.text){
"message_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"category": "MEETING"
}Recategorize an inbound reply message.
Requires the
sequences:write scope on the API key.Authorizations
Bearer API key issued from Settings → Developers.
Path Parameters
ID of the message.
Body
application/json
Categorize Reply payload
The reply category to apply.
Available options:
MEETING, INTERESTED, BAD_TIMING, REFERRAL, WRONG_PERSON, LEFT_COMPANY, OUT_OF_OFFICE, SPAM_FILTER, UNKNOWN, NOT_INTERESTED, UNSUBSCRIBED, BOUNCED Response
200 - application/json
Successful Response
Was this page helpful?
⌘I
Categorize Reply
curl --request PATCH \
--url https://api.topo.io/v1/messages/{message_id}/category \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{}'const options = {
method: 'PATCH',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({})
};
fetch('https://api.topo.io/v1/messages/{message_id}/category', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.topo.io/v1/messages/{message_id}/category"
payload = {}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.patch(url, json=payload, headers=headers)
print(response.text){
"message_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"category": "MEETING"
}