messages
GET
https://hermeticor.com /v1/messages/export CSV export of messages with every message-search filter (tag, sender, state, recipient, metadata, channel, dates)
Parameters
sortstringqueryprofileIdstringquerystatusstringquerysourceKindstringquerysourceIdstringqueryqstringqueryobjectTypestringqueryobjectIdstringqueryorderstringquerytagstringquerymetadatastringquerysenderIdentityIdstringquerytemplateIdstringquerychannelstringqueryfromstringquerytostringqueryvarsstringqueryeventKindstringqueryCode samples
cURL
curl -X GET "https://hermeticor.com/v1/messages/export" \
-H "Authorization: Bearer $HERMETICOR_API_KEY"TypeScript
Python
Go
PHP
Ruby
Java
Responses
200 Default Response
{}4XX Default Response
Example
{
"error": {
"code": "string",
"message": "string",
"details": {}
}
}Schema
errorobjectrequiredShow child parameters
codestringrequiredmessagestringrequireddetailsobjectGET
https://hermeticor.com /v1/messages/events/export CSV export of message events (delivered, bounced, opened, clicked...) for a date range
Parameters
fromstringquerytostringquerykindstringqueryjobIdstringquerychannelstringqueryCode samples
cURL
curl -X GET "https://hermeticor.com/v1/messages/events/export" \
-H "Authorization: Bearer $HERMETICOR_API_KEY"TypeScript
Python
Go
PHP
Ruby
Java
Responses
200 Default Response
{}POST
https://hermeticor.com /v1/messages/{id}/reply Record that the recipient replied to this message (once per message); feeds scoring, journeys and reports
Parameters
idstringpathrequiredCode samples
cURL
curl -X POST "https://hermeticor.com/v1/messages/{id}/reply" \
-H "Authorization: Bearer $HERMETICOR_API_KEY"TypeScript
Python
Go
PHP
Ruby
Java
Responses
200 Default Response
Example
{
"recorded": true
}Schema
recordedbooleanrequiredPOST
https://hermeticor.com /v1/messages/{id}/unsubscribe Unsubscribe the recipient of this message from the channel and purpose it was sent on (consent revoked, address suppressed)
Parameters
idstringpathrequiredCode samples
cURL
curl -X POST "https://hermeticor.com/v1/messages/{id}/unsubscribe" \
-H "Authorization: Bearer $HERMETICOR_API_KEY"TypeScript
Python
Go
PHP
Ruby
Java
Responses
200 Default Response
Example
{
"ok": true
}Schema
okbooleanrequiredGET
https://hermeticor.com /v1/messages/{id}/preview A message re-rendered for its recipient (any purpose and channel; stored content is transactional email only). Unsubscribe links stay placeholders
Parameters
idstringpathrequiredCode samples
cURL
curl -X GET "https://hermeticor.com/v1/messages/{id}/preview" \
-H "Authorization: Bearer $HERMETICOR_API_KEY"TypeScript
Python
Go
PHP
Ruby
Java
Responses
200 Default Response
Example
{
"title": "string",
"html": "string"
}Schema
titlestringrequiredhtmlstringrequiredUpdated