webhooks
DELETE
https://hermeticor.com /v1/integrations/secrets/{name} Delete a secret no endpoint uses
Parameters
namestringpathrequiredCode samples
cURL
curl -X DELETE "https://hermeticor.com/v1/integrations/secrets/{name}" \
-H "Authorization: Bearer $HERMETICOR_API_KEY"TypeScript
Python
Go
PHP
Ruby
Java
Responses
200 Default Response
Example
{
"ok": true
}Schema
okbooleanrequired4XX Default Response
Example
{
"error": {
"code": "string",
"message": "string",
"details": {}
}
}Schema
errorobjectrequiredShow child parameters
codestringrequiredmessagestringrequireddetailsobjectGET
https://hermeticor.com /v1/webhooks/journal Events after an offset, optionally as one endpoint would have received them
Parameters
limitintegerqueryafterintegerqueryendpointIdstringquerytopicstringqueryCode samples
cURL
curl -X GET "https://hermeticor.com/v1/webhooks/journal" \
-H "Authorization: Bearer $HERMETICOR_API_KEY"TypeScript
Python
Go
PHP
Ruby
Java
Responses
200 Default Response
Example
{
"items": [
{
"offset": 0,
"id": "string",
"topic": "string",
"createdAt": "2024-01-01T00:00:00Z",
"data": {}
}
],
"nextOffset": 0
}Schema
itemsItemsItem69[]requiredShow child parameters
offsetintegerrequiredidstringrequiredtopicstringrequiredcreatedAtstringrequireddatarequirednextOffsetintegerrequiredPOST
https://hermeticor.com /v1/webhooks/journal/snapshots Write the current state of listed contacts into the journal as crm.snapshot entries, or freeze a segment and queue its entries for the worker
Request body
application/json
segmentIdstringprofileIdsstring[]{
"segmentId": "string",
"profileIds": [
"string"
]
}Code samples
cURL
curl -X POST "https://hermeticor.com/v1/webhooks/journal/snapshots" \
-H "Authorization: Bearer $HERMETICOR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"segmentId":"string","profileIds":["string"]}'TypeScript
Python
Go
PHP
Ruby
Java
Responses
201 Default Response
Example
{
"snapshotId": "string",
"records": 0,
"entries": 0,
"queued": true
}Schema
snapshotIdstringrequiredrecordsintegerrequiredentriesintegerrequiredqueuedbooleanrequiredGET
https://hermeticor.com /v1/webhooks/journal/bounds Code samples
cURL
curl -X GET "https://hermeticor.com/v1/webhooks/journal/bounds" \
-H "Authorization: Bearer $HERMETICOR_API_KEY"TypeScript
Python
Go
PHP
Ruby
Java
Responses
200 Default Response
Example
{
"earliest": 0,
"latest": 0
}Schema
earliestintegerrequiredlatestintegerrequiredGET
https://hermeticor.com /v1/webhooks/journal/earliest/{count} Parameters
limitintegerqueryPage size; omitted returns the whole list
cursorstringqueryOpaque: the
nextCursor of the previous pagecountintegerpathrequiredCode samples
cURL
curl -X GET "https://hermeticor.com/v1/webhooks/journal/earliest/{count}" \
-H "Authorization: Bearer $HERMETICOR_API_KEY"TypeScript
Python
Go
PHP
Ruby
Java
Responses
200 Default Response
Example
{
"items": [
{
"offset": 0,
"id": "string",
"topic": "string",
"createdAt": "2024-01-01T00:00:00Z",
"data": {}
}
],
"nextCursor": "string"
}Schema
itemsItemsItem69[]requiredShow child parameters
offsetintegerrequiredidstringrequiredtopicstringrequiredcreatedAtstringrequireddatarequirednextCursorstringrequiredGET
https://hermeticor.com /v1/webhooks/journal/latest/{count} Parameters
limitintegerqueryPage size; omitted returns the whole list
cursorstringqueryOpaque: the
nextCursor of the previous pagecountintegerpathrequiredCode samples
cURL
curl -X GET "https://hermeticor.com/v1/webhooks/journal/latest/{count}" \
-H "Authorization: Bearer $HERMETICOR_API_KEY"TypeScript
Python
Go
PHP
Ruby
Java
Responses
POST
https://hermeticor.com /v1/webhooks/journal/batch-read Request body
application/json
offsetsinteger[]required{
"offsets": [
0
]
}Code samples
cURL
curl -X POST "https://hermeticor.com/v1/webhooks/journal/batch-read" \
-H "Authorization: Bearer $HERMETICOR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"offsets":[0]}'TypeScript
Python
Go
PHP
Ruby
Java
Responses
200 Default Response
Example
{
"items": [
{
"offset": 0,
"id": "string",
"topic": "string",
"createdAt": "2024-01-01T00:00:00Z",
"data": {}
}
]
}Schema
itemsItemsItem69[]requiredShow child parameters
offsetintegerrequiredidstringrequiredtopicstringrequiredcreatedAtstringrequireddatarequiredGET
https://hermeticor.com /v1/webhooks/summary Parameters
endpointIdstringquerysincestringqueryuntilstringqueryCode samples
cURL
curl -X GET "https://hermeticor.com/v1/webhooks/summary" \
-H "Authorization: Bearer $HERMETICOR_API_KEY"TypeScript
Python
Go
PHP
Ruby
Java
Responses
200 Default Response
Example
{
"total": 0,
"succeeded": 0,
"failed": 0,
"pending": 0,
"avgLatencyMs": 0
}Schema
totalintegerrequiredsucceededintegerrequiredfailedintegerrequiredpendingintegerrequiredavgLatencyMsintegerrequiredGET
https://hermeticor.com /v1/webhooks/summary-by-date Parameters
endpointIdstringquerysincestringqueryuntilstringquerylimitintegerqueryPage size; omitted returns the whole list
cursorstringqueryOpaque: the
nextCursor of the previous pageCode samples
cURL
curl -X GET "https://hermeticor.com/v1/webhooks/summary-by-date" \
-H "Authorization: Bearer $HERMETICOR_API_KEY"TypeScript
Python
Go
PHP
Ruby
Java
Responses
200 Default Response
Example
{
"items": [
{
"total": 0,
"succeeded": 0,
"failed": 0,
"pending": 0,
"avgLatencyMs": 0,
"date": "string"
}
],
"nextCursor": "string"
}Schema
itemsobject[]requiredShow child parameters
totalintegerrequiredsucceededintegerrequiredfailedintegerrequiredpendingintegerrequiredavgLatencyMsintegerrequireddatestringrequirednextCursorstringrequiredGET
https://hermeticor.com /v1/webhooks/deliveries/export Download the delivery log (NDJSON with payloads, or CSV)
Parameters
endpointIdstringquerystatusstringquerysincestringqueryuntilstringqueryformatstringqueryCode samples
cURL
curl -X GET "https://hermeticor.com/v1/webhooks/deliveries/export" \
-H "Authorization: Bearer $HERMETICOR_API_KEY"TypeScript
Python
Go
PHP
Ruby
Java
Responses
200 Default Response
{}Updated