Reactivate a failed webhook
PUT
/webhooks/{id}/reactivateAuthorization
AuthorizationBearer token (JWT) · headerrequiredPath parameters
idintegerrequiredResponses
200Webhook reactivated
_linksHalLinksidintegerchannel_idintegertopicstringurlstringstatusstring`active` — receiving deliveries normally.
`failed_activation` — the initial activation handshake failed.
`failed` — disabled automatically after 100 consecutive non-2xx delivery
responses (see `error_count`); can be re-enabled via
`PUT /webhooks/{id}/reactivate`.
`disabled` — the target URL returned `410 Gone`; disabled immediately,
with no retry threshold. Also reactivatable via the same endpoint.
Allowed:
activefailed_activationfaileddisabledauthobjectnotify_originbooleanapp_idintegererror_countintegerlast_errorstringlast_error_onstring<date-time>created_onstring<date-time>updated_onstring<date-time>Request
curl -X PUT "https://api.onbolder.com/v2/webhooks/0/reactivate" \
-H "Authorization: Bearer YOUR_TOKEN"const response = await fetch("https://api.onbolder.com/v2/webhooks/0/reactivate", {
method: "PUT",
headers: {
"Authorization": "Bearer YOUR_TOKEN"
}
});import requests
response = requests.put(
"https://api.onbolder.com/v2/webhooks/0/reactivate",
headers={
"Authorization": "Bearer YOUR_TOKEN"
},
)Response
{
"_links": {
"property1": {
"href": "string",
"templated": true,
"method": "get",
"title": "string",
"type": "string"
},
"property2": {
"href": "string",
"templated": true,
"method": "get",
"title": "string",
"type": "string"
}
},
"id": 0,
"channel_id": 0,
"topic": "orders.created",
"url": "https://myapp.com/events",
"status": "active",
"auth": {},
"notify_origin": true,
"app_id": 0,
"error_count": 0,
"last_error": "string",
"last_error_on": "2019-08-24T14:15:22Z",
"created_on": "2019-08-24T14:15:22Z",
"updated_on": "2019-08-24T14:15:22Z"
}