transactional
PUT
https://hermeticor.com /v1/transactional/definitions/{id}/contents/{contentId} Parameters
idstringpathrequiredcontentIdstringpathrequiredRequest body
application/json
statusstringcontentobjectrequired{
"status": "approved",
"content": {}
}Code samples
cURL
curl -X PUT "https://hermeticor.com/v1/transactional/definitions/{id}/contents/{contentId}" \
-H "Authorization: Bearer $HERMETICOR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"status":"approved","content":{}}'TypeScript
Python
Go
PHP
Ruby
Java
Responses
200 Default Response
Example
{
"id": "string",
"locale": "string",
"status": "string",
"content": {}
}Schema
idstringrequiredlocalestringrequiredstatusstringrequiredcontentobjectrequired4XX Default Response
Example
{
"error": {
"code": "string",
"message": "string",
"details": {}
}
}Schema
errorobjectrequiredShow child parameters
codestringrequiredmessagestringrequireddetailsobjectGET
https://hermeticor.com /v1/account/summary Sent, delivered, bounced, complained, opens and clicks for today and the last 7, 30, 60 and 90 days, with bounce and complaint rates
Code samples
cURL
curl -X GET "https://hermeticor.com/v1/account/summary" \
-H "Authorization: Bearer $HERMETICOR_API_KEY"TypeScript
Python
Go
PHP
Ruby
Java
Responses
200 Default Response
Example
{
"workspace": {
"id": "string",
"name": "string"
},
"stats": {}
}Schema
workspaceobjectrequiredShow child parameters
idstringrequirednamestringrequiredstatsobjectrequiredGET
https://hermeticor.com /v1/transactional/metadata-fields Declared metadata keys shown as message-log columns, each with an optional view template ({{ value }})
Parameters
limitintegerqueryPage size; omitted returns the whole list
cursorstringqueryOpaque: the
nextCursor of the previous pageCode samples
cURL
curl -X GET "https://hermeticor.com/v1/transactional/metadata-fields" \
-H "Authorization: Bearer $HERMETICOR_API_KEY"TypeScript
Python
Go
PHP
Ruby
Java
Responses
200 Default Response
Example
{
"items": [
{
"id": "string",
"name": "string",
"viewTemplate": "string",
"createdAt": "2024-01-01T00:00:00Z"
}
],
"nextCursor": "string"
}Schema
itemsItemsItem237[]requiredShow child parameters
idstringrequirednamestringrequiredviewTemplatestringrequiredcreatedAtstringrequirednextCursorstringrequiredPOST
https://hermeticor.com /v1/transactional/metadata-fields Request body
application/json
namestringrequiredviewTemplatestring{
"name": "string",
"viewTemplate": "string"
}Code samples
cURL
curl -X POST "https://hermeticor.com/v1/transactional/metadata-fields" \
-H "Authorization: Bearer $HERMETICOR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"name":"string","viewTemplate":"string"}'TypeScript
Python
Go
PHP
Ruby
Java
Responses
200 Default Response
Example
{
"id": "string",
"name": "string",
"viewTemplate": "string",
"createdAt": "2024-01-01T00:00:00Z"
}Schema
idstringrequirednamestringrequiredviewTemplatestringrequiredcreatedAtstringrequiredDELETE
https://hermeticor.com /v1/transactional/metadata-fields/{name} Stop showing a metadata key in the log; messages keep their metadata
Parameters
namestringpathrequiredCode samples
cURL
curl -X DELETE "https://hermeticor.com/v1/transactional/metadata-fields/{name}" \
-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/transactional/metadata-fields/{name} Parameters
namestringpathrequiredRequest body
application/json
viewTemplatestringrequired{
"viewTemplate": "string"
}Code samples
cURL
curl -X PATCH "https://hermeticor.com/v1/transactional/metadata-fields/{name}" \
-H "Authorization: Bearer $HERMETICOR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"viewTemplate":"string"}'TypeScript
Python
Go
PHP
Ruby
Java
Responses
PUT
https://hermeticor.com /v1/send-options/{sourceKind}/{sourceId}/behaviour Strict Liquid (null = default strict) and send-from-contact-owner for a campaign, journey or sequence; other send options are untouched
Parameters
sourceKindstringpathrequiredsourceIdstringpathrequiredRequest body
application/json
strictLiquidbooleanfromOwnerboolean{
"strictLiquid": true,
"fromOwner": true
}Code samples
cURL
curl -X PUT "https://hermeticor.com/v1/send-options/{sourceKind}/{sourceId}/behaviour" \
-H "Authorization: Bearer $HERMETICOR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"strictLiquid":true,"fromOwner":true}'TypeScript
Python
Go
PHP
Ruby
Java
Responses
200 Default Response
Example
{
"strictLiquid": true,
"fromOwner": true
}Schema
strictLiquidbooleanrequiredfromOwnerbooleanrequiredUpdated