audience
POST
https://hermeticor.com /v1/exports/activity CSV export of the profile activity timeline (poll GET /v1/exports/:id)
Request body
application/json
fromstringtostringchannelstringnotifyEmailstring{
"from": "2024-01-01T00:00:00Z",
"to": "2024-01-01T00:00:00Z",
"channel": "email",
"notifyEmail": "string"
}Code samples
cURL
curl -X POST "https://hermeticor.com/v1/exports/activity" \
-H "Authorization: Bearer $HERMETICOR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"from":"2024-01-01T00:00:00Z","to":"2024-01-01T00:00:00Z","channel":"email","notifyEmail":"string"}'TypeScript
Python
Go
PHP
Ruby
Java
Responses
202 Default Response
Example
{
"id": "string",
"kind": "bulk",
"op": "string",
"status": "queued",
"progress": {
"total": 0,
"processed": 0,
"failed": 0
},
"error": "string",
"downloadUrl": "string",
"failures": [
{
"profileId": "string",
"message": "string"
}
],
"createdAt": "2024-01-01T00:00:00Z",
"finishedAt": "2024-01-01T00:00:00Z"
}Schema
idstringrequiredkindstringrequiredopstringrequiredstatusstringrequiredprogressobjectrequiredShow child parameters
totalintegerrequiredprocessedintegerrequiredfailedintegerrequirederrorstringrequireddownloadUrlstringfailuresFailuresItem[]Show child parameters
profileIdstringrequiredmessagestringrequiredcreatedAtstringrequiredfinishedAtstringrequired4XX Default Response
Example
{
"error": {
"code": "string",
"message": "string",
"details": {}
}
}Schema
errorobjectrequiredShow child parameters
codestringrequiredmessagestringrequireddetailsobjectPOST
https://hermeticor.com /v1/exports/suppressions CSV export of suppressions (rejects)
Request body
application/json
fromstringtostringchannelstringnotifyEmailstring{
"from": "2024-01-01T00:00:00Z",
"to": "2024-01-01T00:00:00Z",
"channel": "email",
"notifyEmail": "string"
}Code samples
cURL
curl -X POST "https://hermeticor.com/v1/exports/suppressions" \
-H "Authorization: Bearer $HERMETICOR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"from":"2024-01-01T00:00:00Z","to":"2024-01-01T00:00:00Z","channel":"email","notifyEmail":"string"}'TypeScript
Python
Go
PHP
Ruby
Java
Responses
Updated