deliverability
GET
https://hermeticor.com /v1/deliverability/overview Code samples
cURL
curl -X GET "https://hermeticor.com/v1/deliverability/overview" \
-H "Authorization: Bearer $HERMETICOR_API_KEY"TypeScript
Python
Go
PHP
Ruby
Java
Responses
200 Default Response
Example
{
"domains": [
{
"domain": "string",
"dnsbl": {
"id": "string",
"target": "string",
"listed": true,
"listings": [
{
"zone": "string",
"code": "string"
}
],
"errors": [
"string"
],
"checkedAt": "2024-01-01T00:00:00Z"
},
"reputation": [
{
"id": "string",
"source": "string",
"domain": "string",
"day": "string",
"metrics": {
"spamRate": 0,
"domainReputation": "HIGH",
"ipReputation": "HIGH",
"authPassRate": 0
}
}
],
"openAlerts": 0
}
]
}Schema
domainsobject[]requiredShow child parameters
domainstringrequireddnsblobjectrequiredShow child parameters
idstringrequiredtargetstringrequiredlistedbooleanrequiredlistingsobject[]requirederrorsstring[]requiredcheckedAtstringrequiredreputationReputationItem[]requiredShow child parameters
idstringrequiredsourcestringrequireddomainstringrequireddaystringrequiredmetricsobjectrequiredopenAlertsintegerrequired4XX Default Response
Example
{
"error": {
"code": "string",
"message": "string",
"details": {}
}
}Schema
errorobjectrequiredShow child parameters
codestringrequiredmessagestringrequireddetailsobjectGET
https://hermeticor.com /v1/deliverability/reputation Parameters
domainstringqueryrequiredlimitintegerqueryPage size; omitted returns the whole list
cursorstringqueryOpaque: the
nextCursor of the previous pageCode samples
cURL
curl -X GET "https://hermeticor.com/v1/deliverability/reputation?domain=<domain>" \
-H "Authorization: Bearer $HERMETICOR_API_KEY"TypeScript
Python
Go
PHP
Ruby
Java
Responses
200 Default Response
Example
{
"items": [
{
"id": "string",
"source": "string",
"domain": "string",
"day": "string",
"metrics": {
"spamRate": 0,
"domainReputation": "HIGH",
"ipReputation": "HIGH",
"authPassRate": 0
}
}
],
"nextCursor": "string"
}Schema
itemsReputationItem[]requiredShow child parameters
idstringrequiredsourcestringrequireddomainstringrequireddaystringrequiredmetricsobjectrequiredShow child parameters
spamRatenumberdomainReputationstringipReputationstringauthPassRatenumbernextCursorstringrequiredPOST
https://hermeticor.com /v1/deliverability/dnsbl-checks Request body
application/json
targetstringrequired{
"target": "string"
}Code samples
cURL
curl -X POST "https://hermeticor.com/v1/deliverability/dnsbl-checks" \
-H "Authorization: Bearer $HERMETICOR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"target":"string"}'TypeScript
Python
Go
PHP
Ruby
Java
Responses
201 Default Response
Example
{
"id": "string",
"target": "string",
"listed": true,
"listings": [
{
"zone": "string",
"code": "string"
}
],
"errors": [
"string"
],
"checkedAt": "2024-01-01T00:00:00Z"
}Schema
idstringrequiredtargetstringrequiredlistedbooleanrequiredlistingsobject[]requiredShow child parameters
zonestringrequiredcodestringrequirederrorsstring[]requiredcheckedAtstringrequiredGET
https://hermeticor.com /v1/deliverability/sources Parameters
limitintegerqueryPage size; omitted returns the whole list
cursorstringqueryOpaque: the
nextCursor of the previous pageCode samples
cURL
curl -X GET "https://hermeticor.com/v1/deliverability/sources" \
-H "Authorization: Bearer $HERMETICOR_API_KEY"TypeScript
Python
Go
PHP
Ruby
Java
Responses
200 Default Response
Example
{
"items": [
{
"id": "string",
"kind": "google_postmaster",
"name": "string",
"domains": [
"string"
],
"lastSyncAt": "2024-01-01T00:00:00Z",
"lastError": "string"
}
],
"nextCursor": "string"
}Schema
itemsItemsItem107[]requiredShow child parameters
idstringrequiredkindstringrequirednamestringrequireddomainsstring[]requiredlastSyncAtstringrequiredlastErrorstringrequirednextCursorstringrequiredPOST
https://hermeticor.com /v1/deliverability/sources Request body
application/json
kindstringrequirednamestringrequiredcredentialsobjectrequireddomainsstring[]{
"kind": "google_postmaster",
"name": "string",
"credentials": {},
"domains": []
}Code samples
cURL
curl -X POST "https://hermeticor.com/v1/deliverability/sources" \
-H "Authorization: Bearer $HERMETICOR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"kind":"google_postmaster","name":"string","credentials":{},"domains":[]}'TypeScript
Python
Go
PHP
Ruby
Java
Responses
201 Default Response
Example
{
"id": "string",
"kind": "google_postmaster",
"name": "string",
"domains": [
"string"
],
"lastSyncAt": "2024-01-01T00:00:00Z",
"lastError": "string"
}Schema
idstringrequiredkindstringrequirednamestringrequireddomainsstring[]requiredlastSyncAtstringrequiredlastErrorstringrequiredDELETE
https://hermeticor.com /v1/deliverability/sources/{id} Parameters
idstringpathrequiredCode samples
cURL
curl -X DELETE "https://hermeticor.com/v1/deliverability/sources/{id}" \
-H "Authorization: Bearer $HERMETICOR_API_KEY"TypeScript
Python
Go
PHP
Ruby
Java
Responses
200 Default Response
Example
{
"ok": true
}Schema
okbooleanrequiredGET
https://hermeticor.com /v1/deliverability/rules Parameters
limitintegerqueryPage size; omitted returns the whole list
cursorstringqueryOpaque: the
nextCursor of the previous pageCode samples
cURL
curl -X GET "https://hermeticor.com/v1/deliverability/rules" \
-H "Authorization: Bearer $HERMETICOR_API_KEY"TypeScript
Python
Go
PHP
Ruby
Java
Responses
200 Default Response
Example
{
"items": [
{
"name": "string",
"metric": "dnsbl_listed",
"threshold": 0,
"action": "notify",
"id": "string",
"enabled": true
}
],
"nextCursor": "string"
}Schema
itemsItemsItem108[]requiredShow child parameters
namestringrequiredmetricstringrequiredthresholdnumberrequiredA fraction, not a percent: spam_rate and bounce_rate fire at or above it (0.003 = 0.3%, the Gmail line; 0.05 = 5% bounces); domain_reputation fires at or below 0 BAD, 1 LOW, 2 MEDIUM; dnsbl_listed ignores it
actionstringrequiredidstringrequiredenabledbooleanrequirednextCursorstringrequiredPOST
https://hermeticor.com /v1/deliverability/rules Request body
application/json
namestringrequiredmetricstringrequiredthresholdnumberA fraction, not a percent: spam_rate and bounce_rate fire at or above it (0.003 = 0.3%, the Gmail line; 0.05 = 5% bounces); domain_reputation fires at or below 0 BAD, 1 LOW, 2 MEDIUM; dnsbl_listed ignores it
actionstring{
"name": "string",
"metric": "dnsbl_listed",
"threshold": 0,
"action": "notify"
}Code samples
cURL
curl -X POST "https://hermeticor.com/v1/deliverability/rules" \
-H "Authorization: Bearer $HERMETICOR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"name":"string","metric":"dnsbl_listed","threshold":0,"action":"notify"}'TypeScript
Python
Go
PHP
Ruby
Java
Responses
201 Default Response
Example
{
"name": "string",
"metric": "dnsbl_listed",
"threshold": 0,
"action": "notify",
"id": "string",
"enabled": true
}Schema
namestringrequiredmetricstringrequiredthresholdnumberrequiredA fraction, not a percent: spam_rate and bounce_rate fire at or above it (0.003 = 0.3%, the Gmail line; 0.05 = 5% bounces); domain_reputation fires at or below 0 BAD, 1 LOW, 2 MEDIUM; dnsbl_listed ignores it
actionstringrequiredidstringrequiredenabledbooleanrequiredUpdated