hooks
POST
https://hermetica.15.204.158.166.sslip.io /v1/hooks/subscribe Subscribe a Zapier/Make REST hook to a trigger
Request body
application/json
triggerstringrequiredtargetUrlstringrequired{
"trigger": "new_reply",
"targetUrl": "string"
}Code samples
cURL
curl -X POST "https://hermetica.15.204.158.166.sslip.io/v1/hooks/subscribe" \
-H "Authorization: Bearer $SSLIP_API_KEY" \
-H "Content-Type: application/json" \
-d '{"trigger":"new_reply","targetUrl":"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[]requireddescriptionstringrequiredfiltersobject[]requiredShow child parameters
idstringpathstringrequiredopstringrequiredvaluelistIdsstring[]requiredsourcesstring[]requiredsequenceIdsstring[]requiredbodyTemplatestringrequiredauthHeadersobject[]requiredShow child parameters
headerstringrequiredsecretNamestringrequiredprefixstringthrottleSecondsintegerrequiredthrottleTopicsstring[]requiredstatusstringrequiredconsecutiveFailuresintegerrequiredcreatedAtstringrequiredupdatedAtstringrequiredsecretstringrequired4XX Default Response
Example
{
"error": {
"code": "string",
"message": "string",
"details": {}
}
}Schema
errorobjectrequiredShow child parameters
codestringrequiredmessagestringrequireddetailsobjectDELETE
https://hermetica.15.204.158.166.sslip.io /v1/hooks/{id} Unsubscribe a REST hook
Parameters
idstringpathrequiredCode samples
cURL
curl -X DELETE "https://hermetica.15.204.158.166.sslip.io/v1/hooks/{id}" \
-H "Authorization: Bearer $SSLIP_API_KEY"TypeScript
Python
Go
PHP
Ruby
Java
Responses
200 Default Response
Example
{
"ok": true
}Schema
okbooleanrequiredGET
https://hermetica.15.204.158.166.sslip.io /v1/hooks/triggers/{trigger}/sample Sample payload used by Zapier/Make to map fields
Parameters
triggerstringpathrequiredCode samples
cURL
curl -X GET "https://hermetica.15.204.158.166.sslip.io/v1/hooks/triggers/{trigger}/sample" \
-H "Authorization: Bearer $SSLIP_API_KEY"TypeScript
Python
Go
PHP
Ruby
Java
Responses
200 Default Response
[
{}
]Updated