Save a reply draft
curl --request POST \
--url https://api.salessequencer.com/api/v1/inbox/thread/{thread_id}/draft \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '
{
"body": "<string>"
}
'import requests
url = "https://api.salessequencer.com/api/v1/inbox/thread/{thread_id}/draft"
payload = { "body": "<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>')})
};
fetch('https://api.salessequencer.com/api/v1/inbox/thread/{thread_id}/draft', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));Inbox
Save a reply draft
Stores (or overwrites) the single draft reply body for the thread. Sends nothing.
Minimum role: edit (x-min-role). Destructive: false (x-destructive).
POST
/
inbox
/
thread
/
{thread_id}
/
draft
Save a reply draft
curl --request POST \
--url https://api.salessequencer.com/api/v1/inbox/thread/{thread_id}/draft \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '
{
"body": "<string>"
}
'import requests
url = "https://api.salessequencer.com/api/v1/inbox/thread/{thread_id}/draft"
payload = { "body": "<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>')})
};
fetch('https://api.salessequencer.com/api/v1/inbox/thread/{thread_id}/draft', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));