curl -X GET "https://sl-sd-api.smartlead.ai/api/v1/smart-delivery/providers?api_key=YOUR_KEY"
import requests
API_KEY = "YOUR_API_KEY"
response = requests.get(
"https://sl-sd-api.smartlead.ai/api/v1/smart-delivery/providers",
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/providers?api_key=${API_KEY}`,
{
method: 'GET'
}
);
console.log(await response.json());
{
"items": [
{ "id": 2, "code": "GOOGLE_WORKSPACE", "family": "GOOGLE", "displayName": "Google Workspace" },
{ "id": 4, "code": "MICROSOFT_365", "family": "MICROSOFT", "displayName": "Microsoft 365" }
]
}
{
"error": {
"code": "UNAUTHORIZED",
"message": "Invalid API Key"
}
}
Smart Delivery v2 (Deliverability Test)
List Seed Providers
List the email providers a deliverability test can be sent to
GET
/
api
/
v1
/
smart-delivery
/
providers
curl -X GET "https://sl-sd-api.smartlead.ai/api/v1/smart-delivery/providers?api_key=YOUR_KEY"
import requests
API_KEY = "YOUR_API_KEY"
response = requests.get(
"https://sl-sd-api.smartlead.ai/api/v1/smart-delivery/providers",
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/providers?api_key=${API_KEY}`,
{
method: 'GET'
}
);
console.log(await response.json());
{
"items": [
{ "id": 2, "code": "GOOGLE_WORKSPACE", "family": "GOOGLE", "displayName": "Google Workspace" },
{ "id": 4, "code": "MICROSOFT_365", "family": "MICROSOFT", "displayName": "Microsoft 365" }
]
}
{
"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
Returns the active seed providers. Pass theirid values as providerIds when you create a Smart Delivery v2 (Deliverability Test) test. A provider without an active seed inbox is not listed.
Query Parameters
curl -X GET "https://sl-sd-api.smartlead.ai/api/v1/smart-delivery/providers?api_key=YOUR_KEY"
import requests
API_KEY = "YOUR_API_KEY"
response = requests.get(
"https://sl-sd-api.smartlead.ai/api/v1/smart-delivery/providers",
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/providers?api_key=${API_KEY}`,
{
method: 'GET'
}
);
console.log(await response.json());
Response Fields
Response 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){
"items": [
{ "id": 2, "code": "GOOGLE_WORKSPACE", "family": "GOOGLE", "displayName": "Google Workspace" },
{ "id": 4, "code": "MICROSOFT_365", "family": "MICROSOFT", "displayName": "Microsoft 365" }
]
}
{
"error": {
"code": "UNAUTHORIZED",
"message": "Invalid API Key"
}
}
