Webhooks
Test Webhook Url
This endpoint is used to test the webhook before creating it. It will send a test event to the webhook URL.
Authorization
Bearer AuthorizationBearer <token>
In: header
Request Body
application/json
- urlstringlength: 1 <= length <= 2083urirequired
- event_typestringrequired
- job_new
- company_new
Response Body
application/json
application/json
application/json
application/json
application/json
curl -X POST "https://api.theirstack.com/v0/webhooks/test" \ -H "Content-Type: application/json" \ -d '{ "url": "http://example.com", "event_type": "job_new" }'{
"status": 0,
"message": "string"
}{
"request_id": null,
"error": {
"code": "E-001",
"title": "Not allowed exception",
"description": "string"
}
}{
"request_id": null,
"error": {
"code": "E-001",
"title": "Not allowed exception",
"description": "string"
}
}{
"request_id": null,
"error": {
"code": "E-001",
"title": "Not allowed exception",
"description": "string"
}
}{
"request_id": null,
"error": {
"code": "E-001",
"title": "Not allowed exception",
"description": "string"
}
}How is this guide?
Last updated on
