Webhooks
Update Webhook
Changed onReplace a webhook's settings: target URL, saved search, description, one event per company, and daily event limit. Send every setting you want to keep, because one left out goes back to its default (no daily limit, for example), so read the webhook first. The signing secret and the event types only change when sent. To pause or resume a webhook, change its status instead.
patch/v0/webhooks/{webhook_id}
Request
- Base URLhttps://api.theirstack.com
- URLhttps://api.theirstack.com/v0/webhooks/{webhook_id}
- AuthHTTP bearer
Path parameters
webhook_idinteger required
ID of the webhook
Example:123
Request body
Example request
{
"url": "https://example.com/webhook",
"search_id": 123,
"description": "Webhook for new jobs",
"listening_start_time": "2024-01-01T00:00:00Z",
"trigger_once_per_company": true,
"max_events_per_day": 500
}Response
Successful Response
Example response
{
"url": "https://example.com/webhook",
"search_id": 123,
"description": "Webhook for new jobs",
"listening_start_time": "2024-01-01T00:00:00Z",
"trigger_once_per_company": true,
"max_events_per_day": 500
}Changes
- breaking
the
/request property's min was increased to1.00
- breaking
- info
added the new optional request property
- info
added the optional property
to the response with the status
- info