transactional
PUT
https://hermeticor.com /v1/send-options/{sourceKind}/{sourceId} Replace the attachments (base64, stored in object storage) and allowlisted headers of a source; reserved headers are rejected
Parameters
sourceKindstringpathrequiredsourceIdstringpathrequiredRequest body
application/json
attachmentsAttachmentsItem[]Show child parameters
filenamestringrequiredcontentTypestringrequiredcontentBase64stringrequiredcidstringheadersobjectccstring[]bccstring[]profileFileAttrsstring[]{
"attachments": [],
"headers": {},
"cc": [],
"bcc": [],
"profileFileAttrs": []
}Code samples
cURL
curl -X PUT "https://hermeticor.com/v1/send-options/{sourceKind}/{sourceId}" \
-H "Authorization: Bearer $HERMETICOR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"attachments":[],"headers":{},"cc":[],"bcc":[],"profileFileAttrs":[]}'TypeScript
Python
Go
PHP
Ruby
Java
Responses
200 Default Response
Example
{
"sourceKind": "string",
"sourceId": "string",
"attachments": [
{
"filename": "string",
"contentType": "string",
"size": 0,
"cid": "string"
}
],
"headers": {},
"profileFileAttrs": [],
"cc": [
"string"
],
"bcc": [
"string"
],
"postalAddressId": "string",
"toName": "string",
"strictLiquid": true,
"fromOwner": true,
"updatedAt": "2024-01-01T00:00:00Z"
}Schema
sourceKindstringrequiredsourceIdstringrequiredattachmentsAttachmentsItem3[]requiredShow child parameters
filenamestringrequiredcontentTypestringrequiredsizeintegerrequiredcidstringheadersobjectrequiredprofileFileAttrsstring[]requiredccstring[]requiredbccstring[]requiredpostalAddressIdstringrequiredtoNamestringstrictLiquidbooleanfromOwnerbooleanupdatedAtstringrequired4XX Default Response
Example
{
"error": {
"code": "string",
"message": "string",
"details": {}
}
}Schema
errorobjectrequiredShow child parameters
codestringrequiredmessagestringrequireddetailsobjectDELETE
https://hermeticor.com /v1/send-options/{sourceKind}/{sourceId} Parameters
sourceKindstringpathrequiredsourceIdstringpathrequiredCode samples
cURL
curl -X DELETE "https://hermeticor.com/v1/send-options/{sourceKind}/{sourceId}" \
-H "Authorization: Bearer $HERMETICOR_API_KEY"TypeScript
Python
Go
PHP
Ruby
Java
Responses
200 Default Response
Example
{
"ok": true
}Schema
okbooleanrequiredPUT
https://hermeticor.com /v1/send-options/{sourceKind}/{sourceId}/footer-address Choose which saved address prints in the email footer of a campaign, journey or sequence (null = workspace address); attachments and headers are untouched
Parameters
sourceKindstringpathrequiredsourceIdstringpathrequiredRequest body
application/json
postalAddressIdstringrequired{
"postalAddressId": "string"
}Code samples
cURL
curl -X PUT "https://hermeticor.com/v1/send-options/{sourceKind}/{sourceId}/footer-address" \
-H "Authorization: Bearer $HERMETICOR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"postalAddressId":"string"}'TypeScript
Python
Go
PHP
Ruby
Java
Responses
PUT
https://hermeticor.com /v1/send-options/{sourceKind}/{sourceId}/to-name Set the recipient display-name template for the To header of a campaign, journey or sequence (for example {{ profile.firstName }}; null clears it)
Parameters
sourceKindstringpathrequiredsourceIdstringpathrequiredRequest body
application/json
toNamestringrequired{
"toName": "string"
}Code samples
cURL
curl -X PUT "https://hermeticor.com/v1/send-options/{sourceKind}/{sourceId}/to-name" \
-H "Authorization: Bearer $HERMETICOR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"toName":"string"}'TypeScript
Python
Go
PHP
Ruby
Java
Responses
GET
https://hermeticor.com /v1/soft-bounce-allowlist Parameters
limitintegerqueryPage size; omitted returns the whole list
cursorstringqueryOpaque: the
nextCursor of the previous pageCode samples
cURL
curl -X GET "https://hermeticor.com/v1/soft-bounce-allowlist" \
-H "Authorization: Bearer $HERMETICOR_API_KEY"TypeScript
Python
Go
PHP
Ruby
Java
Responses
200 Default Response
Example
{
"items": [
{
"id": "string",
"value": "string",
"note": "string",
"createdAt": "2024-01-01T00:00:00Z"
}
],
"nextCursor": "string"
}Schema
itemsItemsItem178[]requiredShow child parameters
idstringrequiredvaluestringrequirednotestringrequiredcreatedAtstringrequirednextCursorstringrequiredPOST
https://hermeticor.com /v1/soft-bounce-allowlist Exempt an address or domain from automatic soft-bounce suppression
Request body
application/json
valuestringrequirednotestring{
"value": "string",
"note": "string"
}Code samples
cURL
curl -X POST "https://hermeticor.com/v1/soft-bounce-allowlist" \
-H "Authorization: Bearer $HERMETICOR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"value":"string","note":"string"}'TypeScript
Python
Go
PHP
Ruby
Java
Responses
201 Default Response
Example
{
"id": "string",
"value": "string",
"note": "string",
"createdAt": "2024-01-01T00:00:00Z"
}Schema
idstringrequiredvaluestringrequirednotestringrequiredcreatedAtstringrequiredDELETE
https://hermeticor.com /v1/soft-bounce-allowlist/{id} Parameters
idstringpathrequiredCode samples
cURL
curl -X DELETE "https://hermeticor.com/v1/soft-bounce-allowlist/{id}" \
-H "Authorization: Bearer $HERMETICOR_API_KEY"TypeScript
Python
Go
PHP
Ruby
Java
Responses
GET
https://hermeticor.com /v1/soft-bounce-allowlist/export CSV of the allowlist
Code samples
cURL
curl -X GET "https://hermeticor.com/v1/soft-bounce-allowlist/export" \
-H "Authorization: Bearer $HERMETICOR_API_KEY"TypeScript
Python
Go
PHP
Ruby
Java
Responses
200 Default Response
{}GET
https://hermeticor.com /v1/transactional/definitions/{id}/contents Parameters
limitintegerqueryPage size; omitted returns the whole list
cursorstringqueryOpaque: the
nextCursor of the previous pageidstringpathrequiredCode samples
cURL
curl -X GET "https://hermeticor.com/v1/transactional/definitions/{id}/contents" \
-H "Authorization: Bearer $HERMETICOR_API_KEY"TypeScript
Python
Go
PHP
Ruby
Java
Responses
200 Default Response
Example
{
"items": [
{
"id": "string",
"locale": "string",
"status": "string",
"content": {}
}
],
"nextCursor": "string"
}Schema
itemsItemsItem49[]requiredShow child parameters
idstringrequiredlocalestringrequiredstatusstringrequiredcontentobjectrequirednextCursorstringrequiredGET
https://hermeticor.com /v1/transactional/definitions/{id}/contents/{contentId} Parameters
idstringpathrequiredcontentIdstringpathrequiredCode samples
cURL
curl -X GET "https://hermeticor.com/v1/transactional/definitions/{id}/contents/{contentId}" \
-H "Authorization: Bearer $HERMETICOR_API_KEY"TypeScript
Python
Go
PHP
Ruby
Java
Responses
200 Default Response
Example
{
"id": "string",
"locale": "string",
"status": "string",
"content": {}
}Schema
idstringrequiredlocalestringrequiredstatusstringrequiredcontentobjectrequiredUpdated