webhooks
POST
https://hermeticor.com /v1/webhooks/endpoints Request body
application/json
urlstringrequiredtopicsstring[]requireddescriptionstringfiltersFiltersItem2[]Show child parameters
idstringpathstringrequiredopstringrequiredvaluelistIdsstring[]sourcesstring[]sequenceIdsstring[]bodyTemplatestringauthHeadersAuthHeadersItem[]Show child parameters
headerstringrequiredsecretNamestringrequiredprefixstringthrottleSecondsintegerthrottleTopicsstring[]{
"url": "string",
"topics": [
"string"
],
"description": "string",
"filters": [
{
"id": "string",
"path": "string",
"op": "eq",
"value": {}
}
],
"listIds": [
"string"
],
"sources": [
"string"
],
"sequenceIds": [
"string"
],
"bodyTemplate": "string",
"authHeaders": [
{
"header": "string",
"secretName": "string",
"prefix": "string"
}
],
"throttleSeconds": 0,
"throttleTopics": [
"string"
]
}Code samples
cURL
curl -X POST "https://hermeticor.com/v1/webhooks/endpoints" \
-H "Authorization: Bearer $HERMETICOR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"url":"string","topics":["string"],"description":"string","filters":[{"id":"string","path":"string","op":"eq","value":{}}],"listIds":["string"],"sources":["string"],"sequenceIds":["string"],"bodyTemplate":"string","authHeaders":[{"header":"string","secretName":"string","prefix":"string"}],"throttleSeconds":0,"throttleTopics":["string"]}'TypeScript
Python
Go
PHP
Ruby
Java
Responses
201 Default Response
Example
{
"id": "string",
"url": "string",
"topics": [
"string"
],
"description": "string",
"filters": [
{
"id": "string",
"path": "string",
"op": "eq",
"value": {}
}
],
"listIds": [
"string"
],
"sources": [
"string"
],
"sequenceIds": [
"string"
],
"bodyTemplate": "string",
"authHeaders": [
{
"header": "string",
"secretName": "string",
"prefix": "string"
}
],
"throttleSeconds": 0,
"throttleTopics": [
"string"
],
"status": "active",
"consecutiveFailures": 0,
"createdAt": "2024-01-01T00:00:00Z",
"updatedAt": "2024-01-01T00:00:00Z",
"secret": "string"
}Schema
idstringrequiredurlstringrequiredtopicsstring[]requireddescriptionstringrequiredfiltersFiltersItem[]requiredShow child parameters
idstringpathstringrequiredopstringrequiredvaluelistIdsstring[]requiredsourcesstring[]requiredsequenceIdsstring[]requiredbodyTemplatestringrequiredauthHeadersAuthHeadersItem2[]requiredShow child parameters
headerstringrequiredsecretNamestringrequiredprefixstringthrottleSecondsintegerrequiredthrottleTopicsstring[]requiredstatusstringrequiredconsecutiveFailuresintegerrequiredcreatedAtstringrequiredupdatedAtstringrequiredsecretstringrequired4XX Default Response
Example
{
"error": {
"code": "string",
"message": "string",
"details": {}
}
}Schema
errorobjectrequiredShow child parameters
codestringrequiredmessagestringrequireddetailsobjectDELETE
https://hermeticor.com /v1/webhooks/endpoints Delete every webhook subscription in the workspace (pending deliveries are cancelled)
Code samples
cURL
curl -X DELETE "https://hermeticor.com/v1/webhooks/endpoints" \
-H "Authorization: Bearer $HERMETICOR_API_KEY"TypeScript
Python
Go
PHP
Ruby
Java
Responses
200 Default Response
Example
{
"deleted": 0
}Schema
deletedintegerrequiredGET
https://hermeticor.com /v1/webhooks/endpoints/{id} Parameters
idstringpathrequiredCode samples
cURL
curl -X GET "https://hermeticor.com/v1/webhooks/endpoints/{id}" \
-H "Authorization: Bearer $HERMETICOR_API_KEY"TypeScript
Python
Go
PHP
Ruby
Java
Responses
200 Default Response
Example
{
"id": "string",
"url": "string",
"topics": [
"string"
],
"description": "string",
"filters": [
{
"id": "string",
"path": "string",
"op": "eq",
"value": {}
}
],
"listIds": [
"string"
],
"sources": [
"string"
],
"sequenceIds": [
"string"
],
"bodyTemplate": "string",
"authHeaders": [
{
"header": "string",
"secretName": "string",
"prefix": "string"
}
],
"throttleSeconds": 0,
"throttleTopics": [
"string"
],
"status": "active",
"consecutiveFailures": 0,
"createdAt": "2024-01-01T00:00:00Z",
"updatedAt": "2024-01-01T00:00:00Z"
}Schema
idstringrequiredurlstringrequiredtopicsstring[]requireddescriptionstringrequiredfiltersFiltersItem[]requiredShow child parameters
idstringpathstringrequiredopstringrequiredvaluelistIdsstring[]requiredsourcesstring[]requiredsequenceIdsstring[]requiredbodyTemplatestringrequiredauthHeadersAuthHeadersItem2[]requiredShow child parameters
headerstringrequiredsecretNamestringrequiredprefixstringthrottleSecondsintegerrequiredthrottleTopicsstring[]requiredstatusstringrequiredconsecutiveFailuresintegerrequiredcreatedAtstringrequiredupdatedAtstringrequiredDELETE
https://hermeticor.com /v1/webhooks/endpoints/{id} Parameters
idstringpathrequiredCode samples
cURL
curl -X DELETE "https://hermeticor.com/v1/webhooks/endpoints/{id}" \
-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/webhooks/endpoints/{id} Parameters
idstringpathrequiredRequest body
application/json
urlstringtopicsstring[]filtersFiltersItem2[]Show child parameters
idstringpathstringrequiredopstringrequiredvaluelistIdsstring[]sourcesstring[]sequenceIdsstring[]descriptionstringbodyTemplatestringauthHeadersAuthHeadersItem[]Show child parameters
headerstringrequiredsecretNamestringrequiredprefixstringthrottleSecondsintegerthrottleTopicsstring[]statusstring{
"url": "string",
"topics": [
"string"
],
"filters": [
{
"id": "string",
"path": "string",
"op": "eq",
"value": {}
}
],
"listIds": [
"string"
],
"sources": [
"string"
],
"sequenceIds": [
"string"
],
"description": "string",
"bodyTemplate": "string",
"authHeaders": [
{
"header": "string",
"secretName": "string",
"prefix": "string"
}
],
"throttleSeconds": 0,
"throttleTopics": [
"string"
],
"status": "active"
}Code samples
cURL
curl -X PATCH "https://hermeticor.com/v1/webhooks/endpoints/{id}" \
-H "Authorization: Bearer $HERMETICOR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"url":"string","topics":["string"],"filters":[{"id":"string","path":"string","op":"eq","value":{}}],"listIds":["string"],"sources":["string"],"sequenceIds":["string"],"description":"string","bodyTemplate":"string","authHeaders":[{"header":"string","secretName":"string","prefix":"string"}],"throttleSeconds":0,"throttleTopics":["string"],"status":"active"}'TypeScript
Python
Go
PHP
Ruby
Java
Responses
POST
https://hermeticor.com /v1/webhooks/endpoints/{id}/rotate-secret Parameters
idstringpathrequiredCode samples
cURL
curl -X POST "https://hermeticor.com/v1/webhooks/endpoints/{id}/rotate-secret" \
-H "Authorization: Bearer $HERMETICOR_API_KEY"TypeScript
Python
Go
PHP
Ruby
Java
Responses
200 Default Response
Example
{
"secret": "string"
}Schema
secretstringrequiredPOST
https://hermeticor.com /v1/webhooks/endpoints/{id}/test Parameters
idstringpathrequiredCode samples
cURL
curl -X POST "https://hermeticor.com/v1/webhooks/endpoints/{id}/test" \
-H "Authorization: Bearer $HERMETICOR_API_KEY"TypeScript
Python
Go
PHP
Ruby
Java
Responses
200 Default Response
Example
{
"id": "string",
"endpointId": "string",
"outboxId": "string",
"topic": "string",
"attempt": 0,
"status": "pending",
"responseCode": 0,
"latencyMs": 0,
"error": "string",
"nextAttemptAt": "2024-01-01T00:00:00Z",
"createdAt": "2024-01-01T00:00:00Z"
}Schema
idstringrequiredendpointIdstringrequiredoutboxIdstringrequiredtopicstringrequiredattemptintegerrequiredstatusstringrequiredresponseCodeintegerrequiredlatencyMsintegerrequirederrorstringrequirednextAttemptAtstringrequiredcreatedAtstringrequiredUpdated