- authentication
- Secret API key as a bearer token
- billing
- Free.
The rules behind ok_to_send on every email lookup this account runs: the signals that block, the risk-score ceiling and the mailbox-confidence floor. The policy belongs to the account, so every member reads and changes the same one. An undeliverable verdict is always blocked whatever the policy says.
Example request
curl https://spaw.co/api/v1/email/policy \ -H "Authorization: Bearer sk_live_…"
This endpoint has no console on its page. It answers with records from your own account, often by an id only you have, rather than about a value you can type here. The dashboard lists the same rows.
Responses
200The policy in force.
{
"success": true,
"data": {
"max_risk_score": 60,
"block_signals": [
"disposable",
"likely_typo",
"parked_domain",
"mx_blocklisted",
"no_reply"
],
"min_mailbox_confidence": null,
"is_default": true,
"updated_at": null
}
}Error codes
Failures answer { success: false, error: { code, message, request_id } }. Each code has its own page.