Responses
-
200 application/json
List of webhooks
-
Bad Request -- Your request is invalid.
-
Unauthorized -- Your API key is wrong.
-
Forbidden -- The object requested is hidden for administrators only.
-
Not Found -- The specified object could not be found.
-
Too Many Requests -- You're requesting too many objects! Slow down!
-
Internal Server Error -- We had a problem with our server. Try again later.
-
Service Unavailable -- We're temporarily offline for maintenance. Please try again later.
GET
/webhooks
curl \
-X GET https://api.usecollect.com/v1/webhooks
Response examples (200)
[
{
"_id": "HBsDeedGXx7BYbXwo",
"status": "active",
"createdAt": "2022-07-05T14:30:41Z",
"targetUrl": "https://youserver.com/collect-hook",
"secretToken": "gWg3fowgIgkc5KQvSojqWU"
},
{
"_id": "mLASNBTu9n6vB6Zss",
"types": [
"docUploadedformSubmited"
],
"status": "active",
"createdAt": "2022-07-06T15:21:15Z",
"targetUrl": "https://yourserver.com/collect-hook-two",
"campaignId": "mYCsdgB4DQoENBaX6"
}
]