deliverability
GET
https://hermeticor.com /v1/deliverability/rules/{id} Parameters
idstringpathrequiredCode samples
cURL
curl -X GET "https://hermeticor.com/v1/deliverability/rules/{id}" \
-H "Authorization: Bearer $HERMETICOR_API_KEY"TypeScript
Python
Go
PHP
Ruby
Java
Responses
200 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
actionstringrequiredidstringrequiredenabledbooleanrequired4XX Default Response
Example
{
"error": {
"code": "string",
"message": "string",
"details": {}
}
}Schema
errorobjectrequiredShow child parameters
codestringrequiredmessagestringrequireddetailsobjectDELETE
https://hermeticor.com /v1/deliverability/rules/{id} Parameters
idstringpathrequiredCode samples
cURL
curl -X DELETE "https://hermeticor.com/v1/deliverability/rules/{id}" \
-H "Authorization: Bearer $HERMETICOR_API_KEY"TypeScript
Python
Go
PHP
Ruby
Java
Responses
200 Default Response
Example
{
"ok": true
}Schema
okbooleanrequiredPATCH
https://hermeticor.com /v1/deliverability/rules/{id} Parameters
idstringpathrequiredRequest body
application/json
namestringthresholdnumberactionstringenabledboolean{
"name": "string",
"threshold": 0,
"action": "notify",
"enabled": true
}Code samples
cURL
curl -X PATCH "https://hermeticor.com/v1/deliverability/rules/{id}" \
-H "Authorization: Bearer $HERMETICOR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"name":"string","threshold":0,"action":"notify","enabled":true}'TypeScript
Python
Go
PHP
Ruby
Java
Responses
GET
https://hermeticor.com /v1/deliverability/alerts 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/alerts" \
-H "Authorization: Bearer $HERMETICOR_API_KEY"TypeScript
Python
Go
PHP
Ruby
Java
Responses
200 Default Response
Example
{
"items": [
{
"id": "string",
"ruleId": "string",
"domain": "string",
"metric": "dnsbl_listed",
"value": "string",
"action": "notify",
"status": "open",
"pausedConnections": [
"string"
],
"openedAt": "2024-01-01T00:00:00Z",
"resolvedAt": "2024-01-01T00:00:00Z"
}
],
"nextCursor": "string"
}Schema
itemsItemsItem109[]requiredShow child parameters
idstringrequiredruleIdstringrequireddomainstringrequiredmetricstringrequiredvaluestringrequiredactionstringrequiredstatusstringrequiredpausedConnectionsstring[]requiredopenedAtstringrequiredresolvedAtstringrequirednextCursorstringrequiredPOST
https://hermeticor.com /v1/deliverability/alerts/{id}/resolve Parameters
idstringpathrequiredCode samples
cURL
curl -X POST "https://hermeticor.com/v1/deliverability/alerts/{id}/resolve" \
-H "Authorization: Bearer $HERMETICOR_API_KEY"TypeScript
Python
Go
PHP
Ruby
Java
Responses
GET
https://hermeticor.com /v1/deliverability/warmup/{connectionId} Parameters
connectionIdstringpathrequiredCode samples
cURL
curl -X GET "https://hermeticor.com/v1/deliverability/warmup/{connectionId}" \
-H "Authorization: Bearer $HERMETICOR_API_KEY"TypeScript
Python
Go
PHP
Ruby
Java
Responses
200 Default Response
Example
{
"connectionId": "string",
"status": "off",
"pausedReason": "string",
"address": "string",
"settings": {
"enabled": true,
"startPerDay": 2,
"incrementPerDay": 2,
"maxPerDay": 30
},
"lastError": "string",
"lastErrorAt": "2024-01-01T00:00:00Z",
"quotaToday": 0,
"sentToday": 0,
"poolSize": 0,
"score": 0,
"totals": {
"sent": 0,
"bounced": 0,
"inbox": 0,
"spam": 0,
"replies": 0
},
"series": [
{
"day": "string",
"sent": 0,
"inbox": 0,
"spam": 0
}
]
}Schema
connectionIdstringrequiredstatusstringrequiredpausedReasonstringrequiredaddressstringrequiredsettingsobjectrequiredShow child parameters
enabledbooleanrequiredstartPerDayintegerrequiredincrementPerDayintegerrequiredmaxPerDayintegerrequiredlastErrorstringrequiredlastErrorAtstringrequiredquotaTodayintegerrequiredsentTodayintegerrequiredpoolSizeintegerrequiredscoreintegerrequiredtotalsobjectrequiredShow child parameters
sentintegerrequiredbouncedintegerrequiredinboxintegerrequiredspamintegerrequiredrepliesintegerrequiredseriesSeriesItem[]requiredShow child parameters
daystringrequiredsentintegerrequiredinboxintegerrequiredspamintegerrequiredPUT
https://hermeticor.com /v1/deliverability/warmup/{connectionId} Parameters
connectionIdstringpathrequiredRequest body
application/json
enabledbooleanrequiredstartPerDayintegerincrementPerDayintegermaxPerDayinteger{
"enabled": true,
"startPerDay": 2,
"incrementPerDay": 2,
"maxPerDay": 30
}Code samples
cURL
curl -X PUT "https://hermeticor.com/v1/deliverability/warmup/{connectionId}" \
-H "Authorization: Bearer $HERMETICOR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"enabled":true,"startPerDay":2,"incrementPerDay":2,"maxPerDay":30}'TypeScript
Python
Go
PHP
Ruby
Java
Responses
GET
https://hermeticor.com /v1/deliverability/seeds 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/seeds" \
-H "Authorization: Bearer $HERMETICOR_API_KEY"TypeScript
Python
Go
PHP
Ruby
Java
Responses
200 Default Response
Example
{
"items": [
{
"id": "string",
"connectionId": "string",
"address": "string"
}
],
"nextCursor": "string"
}Schema
itemsItemsItem110[]requiredShow child parameters
idstringrequiredconnectionIdstringrequiredaddressstringrequirednextCursorstringrequiredPOST
https://hermeticor.com /v1/deliverability/seeds Request body
application/json
connectionIdstringrequired{
"connectionId": "string"
}Code samples
cURL
curl -X POST "https://hermeticor.com/v1/deliverability/seeds" \
-H "Authorization: Bearer $HERMETICOR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"connectionId":"string"}'TypeScript
Python
Go
PHP
Ruby
Java
Responses
201 Default Response
Example
{
"id": "string",
"connectionId": "string",
"address": "string"
}Schema
idstringrequiredconnectionIdstringrequiredaddressstringrequiredUpdated