connections
GET
https://hermeticor.com /v1/senders/{id} Parameters
idstringpathrequiredCode samples
cURL
curl -X GET "https://hermeticor.com/v1/senders/{id}" \
-H "Authorization: Bearer $HERMETICOR_API_KEY"TypeScript
Python
Go
PHP
Ruby
Java
Responses
200 Default Response
Example
{
"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": {}
}Schema
idstringrequiredconnectionIdstringrequiredconnectionNamestringrequiredconnectionKindstringrequiredconnectionStatusstringrequiredchannelstringrequiredfromEmailstringrequiredfromNamestringrequiredreplyTostringrequiredphoneNumberstringrequiredsenderIdAlphastringrequireddomainstringrequiredverifiedAtstringrequiredcreatedAtstringrequireddnsChecks4XX Default Response
Example
{
"error": {
"code": "string",
"message": "string",
"details": {}
}
}Schema
errorobjectrequiredShow child parameters
codestringrequiredmessagestringrequireddetailsobjectGET
https://hermeticor.com /v1/senders/{id}/stats Parameters
limitintegerqueryPage size; omitted returns the whole list
cursorstringqueryOpaque: the
nextCursor of the previous pageidstringpathrequiredCode samples
cURL
curl -X GET "https://hermeticor.com/v1/senders/{id}/stats" \
-H "Authorization: Bearer $HERMETICOR_API_KEY"TypeScript
Python
Go
PHP
Ruby
Java
Responses
200 Default Response
Example
{
"items": [
{
"period": "string",
"sent": 0,
"delivered": 0,
"bounced": 0,
"complained": 0,
"blocked": 0,
"opens": 0,
"clicks": 0
}
],
"nextCursor": "string"
}Schema
itemsItemsItem50[]requiredShow child parameters
periodstringrequiredsentintegerrequireddeliveredintegerrequiredbouncedintegerrequiredcomplainedintegerrequiredblockedintegerrequiredopensintegerrequiredclicksintegerrequirednextCursorstringrequiredGET
https://hermeticor.com /v1/senders/{id}/signing S/MIME certificate and PGP signing key of an email sender (metadata only; private parts never leave the vault)
Parameters
idstringpathrequiredCode samples
cURL
curl -X GET "https://hermeticor.com/v1/senders/{id}/signing" \
-H "Authorization: Bearer $HERMETICOR_API_KEY"TypeScript
Python
Go
PHP
Ruby
Java
Responses
200 Default Response
Example
{
"smime": {
"subject": "string",
"issuer": "string",
"notAfter": "2024-01-01T00:00:00Z",
"fingerprint": "string"
},
"pgp": {
"fingerprint": "string",
"userIds": [
"string"
]
}
}Schema
smimeobjectrequiredShow child parameters
subjectstringrequiredissuerstringrequirednotAfterstringrequiredfingerprintstringrequiredpgpobjectrequiredShow child parameters
fingerprintstringrequireduserIdsstring[]requiredPUT
https://hermeticor.com /v1/senders/{id}/signing/smime Sign this sender's email with S/MIME: PEM certificate issued for its address, its unencrypted private key, optional chain
Parameters
idstringpathrequiredRequest body
application/json
certificatePemstringrequiredprivateKeyPemstringrequiredchainPemstring{
"certificatePem": "string",
"privateKeyPem": "string",
"chainPem": "string"
}Code samples
cURL
curl -X PUT "https://hermeticor.com/v1/senders/{id}/signing/smime" \
-H "Authorization: Bearer $HERMETICOR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"certificatePem":"string","privateKeyPem":"string","chainPem":"string"}'TypeScript
Python
Go
PHP
Ruby
Java
Responses
PUT
https://hermeticor.com /v1/senders/{id}/signing/pgp Sign this sender's email with PGP/MIME: an armored private key with a user id for its address, and its passphrase
Parameters
idstringpathrequiredRequest body
application/json
privateKeyArmoredstringrequiredpassphrasestring{
"privateKeyArmored": "string",
"passphrase": "string"
}Code samples
cURL
curl -X PUT "https://hermeticor.com/v1/senders/{id}/signing/pgp" \
-H "Authorization: Bearer $HERMETICOR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"privateKeyArmored":"string","passphrase":"string"}'TypeScript
Python
Go
PHP
Ruby
Java
Responses
DELETE
https://hermeticor.com /v1/senders/{id}/signing/{kind} Parameters
idstringpathrequiredkindstringpathrequiredCode samples
cURL
curl -X DELETE "https://hermeticor.com/v1/senders/{id}/signing/{kind}" \
-H "Authorization: Bearer $HERMETICOR_API_KEY"TypeScript
Python
Go
PHP
Ruby
Java
Responses
Updated