Reply To Message
Reply to a lead in the thread they wrote in, over email or LinkedIn.
POST
/
v1
/
messages
/
{message_id}
/
reply
Reply To Message
curl --request POST \
--url https://api.topo.io/v1/messages/{message_id}/reply \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"body": "<string>",
"subject": "<string>",
"invalidate_scheduled_steps": false
}
'const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
body: JSON.stringify('<string>'),
subject: '<string>',
invalidate_scheduled_steps: false
})
};
fetch('https://api.topo.io/v1/messages/{message_id}/reply', 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}/reply"
payload = {
"body": "<string>",
"subject": "<string>",
"invalidate_scheduled_steps": False
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text){
"sent_message_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"channel": "EMAIL",
"skipped_step_count": 123,
"cancelled_reminder_count": 123,
"sequence_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}Reply to a lead in the thread they wrote in, over email or LinkedIn.
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
Reply To Message payload
What to send to the lead.
Overrides the subject on email. Leave empty to keep the thread's subject. Ignored on LinkedIn.
Drop the sequence's remaining scheduled messages and reminders so this reply replaces them instead of racing them.
Response
200 - application/json
Successful Response
Unique identifier of the sent reply message.
Channel the reply was sent on.
Available options:
EMAIL, LINKEDIN, CALENDAR, MANUAL Number of scheduled sequence steps skipped.
Number of scheduled reminders cancelled.
Sequence run the message belongs to.
Was this page helpful?
⌘I
Reply To Message
curl --request POST \
--url https://api.topo.io/v1/messages/{message_id}/reply \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"body": "<string>",
"subject": "<string>",
"invalidate_scheduled_steps": false
}
'const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
body: JSON.stringify('<string>'),
subject: '<string>',
invalidate_scheduled_steps: false
})
};
fetch('https://api.topo.io/v1/messages/{message_id}/reply', 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}/reply"
payload = {
"body": "<string>",
"subject": "<string>",
"invalidate_scheduled_steps": False
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text){
"sent_message_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"channel": "EMAIL",
"skipped_step_count": 123,
"cancelled_reminder_count": 123,
"sequence_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}