connections
POST
https://hermeticor.com /v1/connections/{id}/ses/tenant Create an SES tenant in your own AWS account and associate the domain identity and configuration set with it (unverified against live AWS)
Parameters
idstringpathrequiredRequest body
application/json
tenantNamestringrequireddomainstringrequiredawsAccountIdstringrequired{
"tenantName": "string",
"domain": "string",
"awsAccountId": "string"
}Code samples
cURL
curl -X POST "https://hermeticor.com/v1/connections/{id}/ses/tenant" \
-H "Authorization: Bearer $HERMETICOR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"tenantName":"string","domain":"string","awsAccountId":"string"}'TypeScript
Python
Go
PHP
Ruby
Java
Responses
200 Default Response
Example
{
"tenantName": "string",
"associated": [
"string"
]
}Schema
tenantNamestringrequiredassociatedstring[]required4XX Default Response
Example
{
"error": {
"code": "string",
"message": "string",
"details": {}
}
}Schema
errorobjectrequiredShow child parameters
codestringrequiredmessagestringrequireddetailsobjectPOST
https://hermeticor.com /v1/connections/{id}/ses/setup Create the SES domain identity, Easy DKIM, MAIL FROM, configuration set and SNS event destination in the customer account
Parameters
idstringpathrequiredRequest body
application/json
domainstringrequired{
"domain": "string"
}Code samples
cURL
curl -X POST "https://hermeticor.com/v1/connections/{id}/ses/setup" \
-H "Authorization: Bearer $HERMETICOR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"domain":"string"}'TypeScript
Python
Go
PHP
Ruby
Java
Responses
200 Default Response
Example
{
"domain": "string",
"verified": true,
"dkimStatus": "string",
"mailFromStatus": "string",
"configurationSet": "string",
"topicArn": "string",
"records": [
{
"purpose": "dkim",
"type": "CNAME",
"name": "string",
"value": "string",
"priority": 0,
"required": true
}
]
}Schema
domainstringrequiredverifiedbooleanrequireddkimStatusstringrequiredmailFromStatusstringrequiredconfigurationSetstringrequiredtopicArnstringrequiredrecordsRecordsItem2[]requiredShow child parameters
purposestringrequiredtypestringrequirednamestringrequiredvaluestringrequiredpriorityintegerrequiredbooleanrequiredPOST
https://hermeticor.com /v1/connections/{id}/ses/recheck Re-read SES identity verification and DKIM status
Parameters
idstringpathrequiredRequest body
application/json
domainstringrequired{
"domain": "string"
}Code samples
cURL
curl -X POST "https://hermeticor.com/v1/connections/{id}/ses/recheck" \
-H "Authorization: Bearer $HERMETICOR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"domain":"string"}'TypeScript
Python
Go
PHP
Ruby
Java
Responses
POST
https://hermeticor.com /v1/connections/{id}/ses/byodkim Sign with your own DKIM key (pasted or generated here); the private key goes to SES and is never stored or returned
Parameters
idstringpathrequiredRequest body
application/json
domainstringrequiredselectorstringrequiredprivateKeystring{
"domain": "string",
"selector": "string",
"privateKey": "string"
}Code samples
cURL
curl -X POST "https://hermeticor.com/v1/connections/{id}/ses/byodkim" \
-H "Authorization: Bearer $HERMETICOR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"domain":"string","selector":"string","privateKey":"string"}'TypeScript
Python
Go
PHP
Ruby
Java
Responses
200 Default Response
Example
{
"domain": "string",
"verified": true,
"dkimStatus": "string",
"mailFromStatus": "string",
"configurationSet": "string",
"topicArn": "string",
"records": [
{
"purpose": "dkim",
"type": "CNAME",
"name": "string",
"value": "string",
"priority": 0,
"required": true
}
],
"generatedKey": true,
"selector": "string"
}Schema
domainstringrequiredverifiedbooleanrequireddkimStatusstringrequiredmailFromStatusstringrequiredconfigurationSetstringrequiredtopicArnstringrequiredrecordsRecordsItem2[]requiredShow child parameters
purposestringrequiredtypestringrequirednamestringrequiredvaluestringrequiredpriorityintegerrequiredbooleanrequiredgeneratedKeybooleanrequiredselectorstringrequiredGET
https://hermeticor.com /v1/sending-domains/{id} One sending domain by id or name, with its last DNS check
Parameters
idstringpathrequiredCode samples
cURL
curl -X GET "https://hermeticor.com/v1/sending-domains/{id}" \
-H "Authorization: Bearer $HERMETICOR_API_KEY"TypeScript
Python
Go
PHP
Ruby
Java
Responses
200 Default Response
Example
{
"id": "string",
"domain": "string"
}Schema
idstringrequireddomainstringrequiredDELETE
https://hermeticor.com /v1/sending-domains/{id} Delete a sending domain (refused while senders still use it)
Parameters
idstringpathrequiredCode samples
cURL
curl -X DELETE "https://hermeticor.com/v1/sending-domains/{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/sending-domains/{id} Set open and click tracking for mail sent from this domain (null = follow the workspace setting)
Parameters
idstringpathrequiredRequest body
application/json
openTrackingbooleanclickTrackingboolean{
"openTracking": true,
"clickTracking": true
}Code samples
cURL
curl -X PATCH "https://hermeticor.com/v1/sending-domains/{id}" \
-H "Authorization: Bearer $HERMETICOR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"openTracking":true,"clickTracking":true}'TypeScript
Python
Go
PHP
Ruby
Java
Responses
GET
https://hermeticor.com /v1/senders Every sender identity in the workspace, across connections
Parameters
channelstringquerydomainstringqueryverifiedstringqueryqstringquerylimitintegerqueryPage size; omitted returns the whole list
cursorstringqueryOpaque: the
nextCursor of the previous pageCode samples
cURL
curl -X GET "https://hermeticor.com/v1/senders" \
-H "Authorization: Bearer $HERMETICOR_API_KEY"TypeScript
Python
Go
PHP
Ruby
Java
Responses
200 Default Response
Example
{
"items": [
{
"id": "string",
"connectionId": "string",
"connectionName": "string",
"connectionKind": "string",
"connectionStatus": "string",
"channel": "string",
"fromEmail": "string",
"fromName": "string",
"replyTo": "string",
"phoneNumber": "string",
"senderIdAlpha": "string",
"domain": "string",
"verifiedAt": "2024-01-01T00:00:00Z",
"createdAt": "2024-01-01T00:00:00Z",
"dnsChecks": {}
}
],
"nextCursor": "string"
}Schema
itemsItemsItem46[]requiredShow child parameters
idstringrequiredconnectionIdstringrequiredconnectionNamestringrequiredconnectionKindstringrequiredconnectionStatusstringrequiredchannelstringrequiredfromEmailstringrequiredfromNamestringrequiredreplyTostringrequiredphoneNumberstringrequiredsenderIdAlphastringrequireddomainstringrequiredverifiedAtstringrequiredcreatedAtstringrequireddnsChecksnextCursorstringrequiredUpdated