Webhooks
Updates a webhook's URL, events, or active status. Re-enabling a webhook resets its failure count.
Authorization
bearerAuth AuthorizationBearer <token>
API key with fh_ prefix. Pass as Authorization: Bearer fh_...
In: header
Path Parameters
id*string
Request Body
application/json
url?string
Format
urievents?array<>
isActive?boolean
Response Body
application/json
application/json
curl -X PATCH "https://app.feedhorizon.dev/api/v1/webhooks/string" \ -H "Content-Type: application/json" \ -d '{}'{
"data": {
"id": "string",
"userId": "string",
"url": "http://example.com",
"events": [
"post.published"
],
"secret": "string",
"isActive": true,
"failCount": 0,
"createdAt": "2019-08-24T14:15:22Z",
"updatedAt": "2019-08-24T14:15:22Z"
}
}{
"error": {
"code": "VALIDATION_ERROR",
"message": "string",
"details": [
{
"field": "string",
"message": "string"
}
]
}
}