webhooks
POST
https://hermeticor.com /v1/webhooks/deliveries/{id}/replay Parameters
idstringpathrequiredCode samples
cURL
curl -X POST "https://hermeticor.com/v1/webhooks/deliveries/{id}/replay" \
-H "Authorization: Bearer $HERMETICOR_API_KEY"TypeScript
Python
Go
PHP
Ruby
Java
Responses
202 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
idstringrequiredendpointIdstringrequiredoutboxIdstringrequiredtopicstringrequiredattemptintegerrequiredstatusstringrequiredresponseCodeintegerrequiredlatencyMsintegerrequirederrorstringrequirednextAttemptAtstringrequiredcreatedAtstringrequired4XX Default Response
Example
{
"error": {
"code": "string",
"message": "string",
"details": {}
}
}Schema
errorobjectrequiredShow child parameters
codestringrequiredmessagestringrequireddetailsobjectGET
https://hermeticor.com /v1/webhook-templates Parameters
limitintegerqueryPage size; omitted returns the whole list
cursorstringqueryOpaque: the
nextCursor of the previous pageCode samples
cURL
curl -X GET "https://hermeticor.com/v1/webhook-templates" \
-H "Authorization: Bearer $HERMETICOR_API_KEY"TypeScript
Python
Go
PHP
Ruby
Java
Responses
200 Default Response
Example
{
"items": [
{
"id": "string",
"name": "string",
"url": "",
"method": "POST",
"headers": {},
"body": null,
"authHeaders": [],
"description": "",
"inputs": [],
"outputs": [],
"kind": "webhook",
"status": "published",
"labels": {},
"executionRules": [],
"code": null,
"preActionCode": null,
"allowedHosts": [],
"secretNames": [],
"timeoutMs": 5000,
"memoryMb": 64,
"createdAt": "2024-01-01T00:00:00Z",
"updatedAt": "2024-01-01T00:00:00Z"
}
],
"nextCursor": "string"
}Schema
itemsItemsItem70[]requiredShow child parameters
idstringrequirednamestringrequiredurlstringrequiredmethodstringrequiredheadersobjectrequiredbodyobjectrequiredauthHeadersAuthHeadersItem2[]requiredShow child parameters
headerstringrequiredsecretNamestringrequiredprefixstringdescriptionstringrequiredinputsInputsItem[]requiredShow child parameters
keystringrequiredlabelstringrequiredrequiredbooleanrequiredtypestringrequiredoptionsstring[]optionsUrlstringpropertystringlabelsobjectoutputsOutputsItem[]requiredShow child parameters
pathstringrequiredfieldstringrequiredlabelstringtypestringlabelsobjectkindstringrequiredstatusstringrequiredlabelsobjectrequiredexecutionRulesExecutionRulesItem[]requiredShow child parameters
pathstringrequiredopstringrequiredvaluestatestringrequiredmessagestringrequiredcodestringrequiredpreActionCodestringrequiredallowedHostsstring[]requiredsecretNamesstring[]requiredtimeoutMsintegerrequiredmemoryMbintegerrequiredcreatedAtstringrequiredupdatedAtstringrequirednextCursorstringrequiredPOST
https://hermeticor.com /v1/webhook-templates Request body
application/json
namestringrequiredurlstringmethodstringheadersobjectbodyobjectauthHeadersAuthHeadersItem[]Show child parameters
headerstringrequiredsecretNamestringrequiredprefixstringdescriptionstringinputsInputsItem2[]Show child parameters
keystringrequiredlabelstringrequiredrequiredbooleantypestringoptionsstring[]optionsUrlstringpropertystringlabelsobjectoutputsOutputsItem2[]Show child parameters
pathstringrequiredfieldstringrequiredlabelstringtypestringlabelsobjectkindstringstatusstringlabelsobjectexecutionRulesExecutionRulesItem2[]Show child parameters
pathstringrequiredopstringrequiredvaluestatestringrequiredmessagestringrequiredcodestringpreActionCodestringallowedHostsstring[]secretNamesstring[]timeoutMsintegermemoryMbinteger{
"name": "string",
"url": "",
"method": "POST",
"headers": {},
"body": null,
"authHeaders": [],
"description": "",
"inputs": [],
"outputs": [],
"kind": "webhook",
"status": "published",
"labels": {},
"executionRules": [],
"code": null,
"preActionCode": null,
"allowedHosts": [],
"secretNames": [],
"timeoutMs": 5000,
"memoryMb": 64
}Code samples
cURL
curl -X POST "https://hermeticor.com/v1/webhook-templates" \
-H "Authorization: Bearer $HERMETICOR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"name":"string","url":"","method":"POST","headers":{},"body":null,"authHeaders":[],"description":"","inputs":[],"outputs":[],"kind":"webhook","status":"published","labels":{},"executionRules":[],"code":null,"preActionCode":null,"allowedHosts":[],"secretNames":[],"timeoutMs":5000,"memoryMb":64}'TypeScript
Python
Go
PHP
Ruby
Java
Responses
201 Default Response
Example
{
"id": "string",
"name": "string",
"url": "",
"method": "POST",
"headers": {},
"body": null,
"authHeaders": [],
"description": "",
"inputs": [],
"outputs": [],
"kind": "webhook",
"status": "published",
"labels": {},
"executionRules": [],
"code": null,
"preActionCode": null,
"allowedHosts": [],
"secretNames": [],
"timeoutMs": 5000,
"memoryMb": 64,
"createdAt": "2024-01-01T00:00:00Z",
"updatedAt": "2024-01-01T00:00:00Z"
}Schema
idstringrequirednamestringrequiredurlstringrequiredmethodstringrequiredheadersobjectrequiredbodyobjectrequiredauthHeadersAuthHeadersItem2[]requiredShow child parameters
headerstringrequiredsecretNamestringrequiredprefixstringdescriptionstringrequiredinputsInputsItem[]requiredShow child parameters
keystringrequiredlabelstringrequiredrequiredbooleanrequiredtypestringrequiredoptionsstring[]optionsUrlstringpropertystringlabelsobjectoutputsOutputsItem[]requiredShow child parameters
pathstringrequiredfieldstringrequiredlabelstringtypestringlabelsobjectkindstringrequiredstatusstringrequiredlabelsobjectrequiredexecutionRulesExecutionRulesItem[]requiredShow child parameters
pathstringrequiredopstringrequiredvaluestatestringrequiredmessagestringrequiredcodestringrequiredpreActionCodestringrequiredallowedHostsstring[]requiredsecretNamesstring[]requiredtimeoutMsintegerrequiredmemoryMbintegerrequiredcreatedAtstringrequiredupdatedAtstringrequiredGET
https://hermeticor.com /v1/webhook-templates/{id} Parameters
idstringpathrequiredCode samples
cURL
curl -X GET "https://hermeticor.com/v1/webhook-templates/{id}" \
-H "Authorization: Bearer $HERMETICOR_API_KEY"TypeScript
Python
Go
PHP
Ruby
Java
Responses
Updated