Webhooks
Create Webhook
Changed onCreate a webhook on a saved search: each new record the search matches is sent as an HTTP POST to the URL you give, and every record sent consumes credits. Use it when the user wants new matches delivered to their own system. Check the URL first with a test event, and size the daily event limit from the saved search's estimated volume.
post/v0/webhooks
Request
- Base URLhttps://api.theirstack.com
- URLhttps://api.theirstack.com/v0/webhooks
- AuthHTTP bearer
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