Introduction
This documentation aims to provide all the information you need to work with our API.
Authenticating requests
To authenticate requests, include an Authorization
header with the value "Bearer {YOUR_AUTH_KEY}"
.
All authenticated endpoints are marked with a requires authentication
badge in the documentation below.
You can retrieve your token by visiting your dashboard and clicking Team Settings > API Tokens.
Intelligence
Single Email
Retrieve Single Email.
requires authentication
Example request:
curl --request GET \
--get "https://postmasterplus.app/api/v1/intelligence/single-emails/example@postmasterplus.com" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"
const url = new URL(
"https://postmasterplus.app/api/v1/intelligence/single-emails/example@postmasterplus.com"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());
Example response (200):
{
"data": {
"id": 19,
"email": "example@postmasterplus.com",
"status": "Deliverable",
"created_at": "2025-01-29 16:13:54",
"updated_at": "2025-01-29 16:14:13"
}
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Scan Single Email.
requires authentication
Example request:
curl --request POST \
"https://postmasterplus.app/api/v1/intelligence/single-emails/scan" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"email\": \"example@postmasterplus.com\",
\"actions\": \"\\\"verification,activity,postal_append\\\"\"
}"
const url = new URL(
"https://postmasterplus.app/api/v1/intelligence/single-emails/scan"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"email": "example@postmasterplus.com",
"actions": "\"verification,activity,postal_append\""
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Delete Single Email.
requires authentication
Example request:
curl --request DELETE \
"https://postmasterplus.app/api/v1/intelligence/single-emails/example@postmasterplus.com" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"
const url = new URL(
"https://postmasterplus.app/api/v1/intelligence/single-emails/example@postmasterplus.com"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "DELETE",
headers,
}).then(response => response.json());
Example response (200):
{
"message": "Single email deleted.",
"deleted": true
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.