Webhooks
Update Webhook
Update a webhook's events or scope. The targetUrl cannot be changed and is ignored if sent; the handshake is repeated against the existing URL to confirm it is still reachable. Send X-Skip-Handshake: 1 to skip it.
put/hooks/{hook_id}
Request
- Base URLhttps://api.everhour.com
- AuthAPI key in header X-Api-Key
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
hook_idnumber required
Example:280382
Webhook ID
Request body
Example request
{
"events": [
"api:time:updated"
]
}Response
OK
Example response
{
"id": 12345,
"targetUrl": "https://some-secure-endpoint.com/path",
"events": [
"api:time:updated"
],
"project": "ev:12345657890",
"active": true,
"createdAt": "2018-03-05 16:17:14",
"lastUsedAt": "2018-03-05 20:01:58"
}Changes
No recorded changes to this operation across all 2 revisions of this API.