Send a one-off test email for a lead
curl --request POST \
--url https://api.salessequencer.com/api/v1/campaigns/{campaign_id}/leads/{contact_id}/test-send \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '
{
"mailbox_id": 123,
"to": "<string>"
}
'import requests
url = "https://api.salessequencer.com/api/v1/campaigns/{campaign_id}/leads/{contact_id}/test-send"
payload = {
"mailbox_id": 123,
"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({mailbox_id: 123, to: '<string>'})
};
fetch('https://api.salessequencer.com/api/v1/campaigns/{campaign_id}/leads/{contact_id}/test-send', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));Leads
Send a one-off test email for a lead
Sends the exact subject/body supplied to the given address from the chosen mailbox. Sends REAL email. Writes no SendLog row, does not touch mailbox counters or the lead’s status. Errors (JSON): 400 missing/invalid mailbox_id or recipient, 404 mailbox not in workspace, 502 send failed or mailbox auth failed.
Minimum role: edit (x-min-role). Destructive: true (x-destructive).
POST
/
campaigns
/
{campaign_id}
/
leads
/
{contact_id}
/
test-send
Send a one-off test email for a lead
curl --request POST \
--url https://api.salessequencer.com/api/v1/campaigns/{campaign_id}/leads/{contact_id}/test-send \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '
{
"mailbox_id": 123,
"to": "<string>"
}
'import requests
url = "https://api.salessequencer.com/api/v1/campaigns/{campaign_id}/leads/{contact_id}/test-send"
payload = {
"mailbox_id": 123,
"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({mailbox_id: 123, to: '<string>'})
};
fetch('https://api.salessequencer.com/api/v1/campaigns/{campaign_id}/leads/{contact_id}/test-send', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));Authorizations
Body
application/json
Response
200
JSON {ok: true, sent_from: } or {ok: false, error}.