curl -X POST "https://sl-sd-api.smartlead.ai/api/v1/smart-delivery/tests/3f2b8c1e-5d4a-4e7b-9a60-1c2d3e4f5a6b/stop?api_key=YOUR_KEY"
import requests
API_KEY = "YOUR_API_KEY"
response = requests.post(
"https://sl-sd-api.smartlead.ai/api/v1/smart-delivery/tests/3f2b8c1e-5d4a-4e7b-9a60-1c2d3e4f5a6b/stop",
params={"api_key": API_KEY}
)
print(response.status_code)
print(response.json())
const API_KEY = 'YOUR_API_KEY';
const response = await fetch(
`https://sl-sd-api.smartlead.ai/api/v1/smart-delivery/tests/3f2b8c1e-5d4a-4e7b-9a60-1c2d3e4f5a6b/stop?api_key=${API_KEY}`,
{
method: 'POST'
}
);
console.log(await response.json());
{
"id": "3f2b8c1e-5d4a-4e7b-9a60-1c2d3e4f5a6b",
"name": "Q4 Outbound - sequence step 1",
"description": null,
"type": "MANUAL",
"status": "STOPPED",
"statusReason": "USER_STOPPED",
"folderId": null,
"campaignId": 5614,
"sequenceId": 20311,
"variantId": null,
"seedsPerSenderPerProvider": 4,
"sendAllAtOnce": true,
"sendGapMinutes": null,
"textOnly": false,
"schedule": null,
"startsAt": null,
"endsAt": null,
"maxRuns": null,
"nextRunAt": null,
"runsCreated": 1,
"createdAt": "2026-11-17T08:30:00.000Z"
}
{
"error": {
"code": "UNAUTHORIZED",
"message": "Invalid API Key"
}
}
Smart Delivery v2 (Deliverability Test)
Stop Deliverability Test
Stop a test for good
POST
/
api
/
v1
/
smart-delivery
/
tests
/
{id}
/
stop
curl -X POST "https://sl-sd-api.smartlead.ai/api/v1/smart-delivery/tests/3f2b8c1e-5d4a-4e7b-9a60-1c2d3e4f5a6b/stop?api_key=YOUR_KEY"
import requests
API_KEY = "YOUR_API_KEY"
response = requests.post(
"https://sl-sd-api.smartlead.ai/api/v1/smart-delivery/tests/3f2b8c1e-5d4a-4e7b-9a60-1c2d3e4f5a6b/stop",
params={"api_key": API_KEY}
)
print(response.status_code)
print(response.json())
const API_KEY = 'YOUR_API_KEY';
const response = await fetch(
`https://sl-sd-api.smartlead.ai/api/v1/smart-delivery/tests/3f2b8c1e-5d4a-4e7b-9a60-1c2d3e4f5a6b/stop?api_key=${API_KEY}`,
{
method: 'POST'
}
);
console.log(await response.json());
{
"id": "3f2b8c1e-5d4a-4e7b-9a60-1c2d3e4f5a6b",
"name": "Q4 Outbound - sequence step 1",
"description": null,
"type": "MANUAL",
"status": "STOPPED",
"statusReason": "USER_STOPPED",
"folderId": null,
"campaignId": 5614,
"sequenceId": 20311,
"variantId": null,
"seedsPerSenderPerProvider": 4,
"sendAllAtOnce": true,
"sendGapMinutes": null,
"textOnly": false,
"schedule": null,
"startsAt": null,
"endsAt": null,
"maxRuns": null,
"nextRunAt": null,
"runsCreated": 1,
"createdAt": "2026-11-17T08:30:00.000Z"
}
{
"error": {
"code": "UNAUTHORIZED",
"message": "Invalid API Key"
}
}
Smart Delivery v2 (Deliverability Test) API: the deliverability (inbox placement) test that sends your campaign email to seed inboxes and reports where it landed. Contact support@smartlead.ai for access.
Overview
Ends the test: queued runs are cancelled and their credits refunded, a run that is sending stops sending, and no new run starts. Results for emails already sent are still collected. A stopped test cannot be resumed. The response is the test asList Deliverability Tests shows it, including currentRun.
Path Parameters
Query Parameters
curl -X POST "https://sl-sd-api.smartlead.ai/api/v1/smart-delivery/tests/3f2b8c1e-5d4a-4e7b-9a60-1c2d3e4f5a6b/stop?api_key=YOUR_KEY"
import requests
API_KEY = "YOUR_API_KEY"
response = requests.post(
"https://sl-sd-api.smartlead.ai/api/v1/smart-delivery/tests/3f2b8c1e-5d4a-4e7b-9a60-1c2d3e4f5a6b/stop",
params={"api_key": API_KEY}
)
print(response.status_code)
print(response.json())
const API_KEY = 'YOUR_API_KEY';
const response = await fetch(
`https://sl-sd-api.smartlead.ai/api/v1/smart-delivery/tests/3f2b8c1e-5d4a-4e7b-9a60-1c2d3e4f5a6b/stop?api_key=${API_KEY}`,
{
method: 'POST'
}
);
console.log(await response.json());
Response Fields
Why the test is in this status, for example
USER_PAUSED, USER_STOPPED or SCHEDULE_ENDEDThe run still in flight (
id, runNo, status, progress and expected result time), or null when none isResponse Codes
Client (agency) API keys are not allowed (
CLIENT_NOT_ALLOWED), or your plan does not include API access (API_ACCESS_RESTRICTED)Too many requests for this API key. Wait the number of seconds in the
Retry-After header (RATE_LIMITED){
"id": "3f2b8c1e-5d4a-4e7b-9a60-1c2d3e4f5a6b",
"name": "Q4 Outbound - sequence step 1",
"description": null,
"type": "MANUAL",
"status": "STOPPED",
"statusReason": "USER_STOPPED",
"folderId": null,
"campaignId": 5614,
"sequenceId": 20311,
"variantId": null,
"seedsPerSenderPerProvider": 4,
"sendAllAtOnce": true,
"sendGapMinutes": null,
"textOnly": false,
"schedule": null,
"startsAt": null,
"endsAt": null,
"maxRuns": null,
"nextRunAt": null,
"runsCreated": 1,
"createdAt": "2026-11-17T08:30:00.000Z"
}
{
"error": {
"code": "UNAUTHORIZED",
"message": "Invalid API Key"
}
}
