Reply to a thread
curl --request POST \
--url https://api.salessequencer.com/api/v1/inbox/thread/{thread_id}/reply \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '
{
"body": "<string>",
"to": "<string>"
}
'import requests
url = "https://api.salessequencer.com/api/v1/inbox/thread/{thread_id}/reply"
payload = {
"body": "<string>",
"to": "<string>"
}
headers = {
"X-API-Key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'X-API-Key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({body: JSON.stringify('<string>'), to: '<string>'})
};
fetch('https://api.salessequencer.com/api/v1/inbox/thread/{thread_id}/reply', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));Inbox
Reply to a thread
Sends a REAL email from the thread’s mailbox (Gmail API or SMTP), logs it as an outbound message, marks the thread read and deletes the saved draft. If cc or bcc is set, the prior thread messages are quoted below the body. Refuses (flash ‘Could not send: …’) when to or body is empty, the thread has no mailbox, the mailbox cannot send, or auth fails (mailbox is then set to needs_reconnect). 404 if the thread is not in the workspace.
Minimum role: edit (x-min-role). Destructive: true (x-destructive).
POST
/
inbox
/
thread
/
{thread_id}
/
reply
Reply to a thread
curl --request POST \
--url https://api.salessequencer.com/api/v1/inbox/thread/{thread_id}/reply \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '
{
"body": "<string>",
"to": "<string>"
}
'import requests
url = "https://api.salessequencer.com/api/v1/inbox/thread/{thread_id}/reply"
payload = {
"body": "<string>",
"to": "<string>"
}
headers = {
"X-API-Key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'X-API-Key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({body: JSON.stringify('<string>'), to: '<string>'})
};
fetch('https://api.salessequencer.com/api/v1/inbox/thread/{thread_id}/reply', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));Authorizations
Path Parameters
Body
application/json
Response
200
Redirect to the thread; flash 'Reply sent.' or the error.