consent
POST
https://hermeticor.com /v1/eligibility/check Debug: would this send be allowed?
Request body
application/json
profileIdstringrequiredchannelstringrequiredpurposestringrequiredtopicIdstringdestinationstringrequiredrecipientCountrystring{
"profileId": "string",
"channel": "email",
"purpose": "marketing",
"topicId": "string",
"destination": "string",
"recipientCountry": "string"
}Code samples
cURL
curl -X POST "https://hermeticor.com/v1/eligibility/check" \
-H "Authorization: Bearer $HERMETICOR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"profileId":"string","channel":"email","purpose":"marketing","topicId":"string","destination":"string","recipientCountry":"string"}'TypeScript
Python
Go
PHP
Ruby
Java
Responses
200 Default Response
Example
{
"eligible": true,
"reasons": [
"suppressed"
]
}Schema
eligiblebooleanrequiredreasonsstring[]required4XX Default Response
Example
{
"error": {
"code": "string",
"message": "string",
"details": {}
}
}Schema
errorobjectrequiredShow child parameters
codestringrequiredmessagestringrequireddetailsobjectGET
https://hermeticor.com /v1/outbound/blocklist Blocklist entries: domains (covering subdomains) and individual addresses
Parameters
kindstringqueryqstringquerylimitintegerqueryCode samples
cURL
curl -X GET "https://hermeticor.com/v1/outbound/blocklist" \
-H "Authorization: Bearer $HERMETICOR_API_KEY"TypeScript
Python
Go
PHP
Ruby
Java
Responses
200 Default Response
Example
{
"items": [
{
"id": "string",
"kind": "domain",
"value": "string",
"reason": "string",
"createdAt": "2024-01-01T00:00:00Z"
}
]
}Schema
itemsItemsItem132[]requiredShow child parameters
idstringrequiredkindstringrequiredvaluestringrequiredreasonstringrequiredcreatedAtstringrequiredPOST
https://hermeticor.com /v1/outbound/blocklist/bulk Add many emails and domains at once; an address with an "@" is a do-not-send address, anything else a domain
Request body
application/json
entriesstring[]requiredreasonstring{
"entries": [
"string"
],
"reason": "string"
}Code samples
cURL
curl -X POST "https://hermeticor.com/v1/outbound/blocklist/bulk" \
-H "Authorization: Bearer $HERMETICOR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"entries":["string"],"reason":"string"}'TypeScript
Python
Go
PHP
Ruby
Java
Responses
200 Default Response
Example
{
"added": 0,
"existing": 0,
"removed": 0,
"invalid": [
{
"value": "string",
"error": "string"
}
]
}Schema
addedintegerrequiredexistingintegerrequiredremovedintegerrequiredinvalidobject[]requiredShow child parameters
valuestringrequirederrorstringrequiredPOST
https://hermeticor.com /v1/outbound/blocklist/import Import a CSV or pasted list of emails and domains
Request body
application/json
csvstringrequiredreasonstring{
"csv": "string",
"reason": "string"
}Code samples
cURL
curl -X POST "https://hermeticor.com/v1/outbound/blocklist/import" \
-H "Authorization: Bearer $HERMETICOR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"csv":"string","reason":"string"}'TypeScript
Python
Go
PHP
Ruby
Java
Responses
POST
https://hermeticor.com /v1/outbound/blocklist/bulk-delete Remove many blocklist entries by value; suppressions from bounces, complaints and unsubscribes are never lifted here
Request body
application/json
entriesstring[]required{
"entries": [
"string"
]
}Code samples
cURL
curl -X POST "https://hermeticor.com/v1/outbound/blocklist/bulk-delete" \
-H "Authorization: Bearer $HERMETICOR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"entries":["string"]}'TypeScript
Python
Go
PHP
Ruby
Java
Responses
GET
https://hermeticor.com /v1/outbound/blocklist/download Parameters
kindstringqueryqstringquerylimitintegerqueryCode samples
cURL
curl -X GET "https://hermeticor.com/v1/outbound/blocklist/download" \
-H "Authorization: Bearer $HERMETICOR_API_KEY"TypeScript
Python
Go
PHP
Ruby
Java
Responses
200 Default Response
{}GET
https://hermeticor.com /v1/outbound/blocklist/{id} Parameters
idstringpathrequiredCode samples
cURL
curl -X GET "https://hermeticor.com/v1/outbound/blocklist/{id}" \
-H "Authorization: Bearer $HERMETICOR_API_KEY"TypeScript
Python
Go
PHP
Ruby
Java
Responses
200 Default Response
Example
{
"id": "string",
"kind": "domain",
"value": "string",
"reason": "string",
"createdAt": "2024-01-01T00:00:00Z"
}Schema
idstringrequiredkindstringrequiredvaluestringrequiredreasonstringrequiredcreatedAtstringrequiredPATCH
https://hermeticor.com /v1/outbound/blocklist/{id} Edit the note of one blocklist entry
Parameters
idstringpathrequiredRequest body
application/json
reasonstringrequired{
"reason": "string"
}Code samples
cURL
curl -X PATCH "https://hermeticor.com/v1/outbound/blocklist/{id}" \
-H "Authorization: Bearer $HERMETICOR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"reason":"string"}'TypeScript
Python
Go
PHP
Ruby
Java
Responses
GET
https://hermeticor.com /v1/consent/lookup Consent state and active suppressions for an email address or phone number
Parameters
emailstringqueryphonestringqueryCode samples
cURL
curl -X GET "https://hermeticor.com/v1/consent/lookup" \
-H "Authorization: Bearer $HERMETICOR_API_KEY"TypeScript
Python
Go
PHP
Ruby
Java
Responses
200 Default Response
Example
{
"profileId": "string",
"items": [
{
"profileId": "string",
"channel": "email",
"purpose": "marketing",
"topicId": "string",
"status": "granted",
"recordId": "string",
"expiresAt": "2024-01-01T00:00:00Z",
"updatedAt": "2024-01-01T00:00:00Z"
}
],
"suppressions": [
{
"channel": "email",
"scope": "string",
"reason": "string"
}
]
}Schema
profileIdstringrequireditemsItemsItem16[]requiredShow child parameters
profileIdstringrequiredchannelstringrequiredpurposestringrequiredtopicIdstringrequiredstatusstringrequiredrecordIdstringrequiredexpiresAtstringrequiredupdatedAtstringrequiredsuppressionsobject[]requiredShow child parameters
channelstringrequiredscopestringrequiredreasonstringrequiredPOST
https://hermeticor.com /v1/profiles/{id}/preference-link Mint a signed link to the hosted preference page (/p/...) for this profile
Parameters
idstringpathrequiredRequest body
application/json
channelstringtopicIdstring{
"channel": "email",
"topicId": "string"
}Code samples
cURL
curl -X POST "https://hermeticor.com/v1/profiles/{id}/preference-link" \
-H "Authorization: Bearer $HERMETICOR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"channel":"email","topicId":"string"}'TypeScript
Python
Go
PHP
Ruby
Java
Responses
200 Default Response
Example
{
"url": "string"
}Schema
urlstringrequiredUpdated