Hiring alerts are triggered on two cases, representing the two alert types you can set:
job_added: when a company just added a new job posting
job_removed: when a company removed an existing job posting
On the json payload, the type
property allows you to identify the type of alert that has been triggered:
{"event_id": 458325,"timestamp": "2020-04-23T12:25:32.209Z","type": "job_added", // <<<< This is where you can identify the alert type"alert_name": "Hiring in marketing","event_verbose": "Acme Co. added a job: Marketing Lead","domain": "acme.co",...
Both job_added and job_removed alert types send the same 2 event properties under the "event_properties" key:
key | type | options |
job_title | string | Open |
job_location | string | Open |
"event_properties": {"job_title": "Marketing Lead","job_location": "Los Angeles, CA"},
"event_properties": {"job_title": "Marketing Lead","job_location": "Los Angeles, CA"},
{"event_id": 458325,"timestamp": "2020-01-01T12:25:32.209Z","type": "job_added","alert_name": "Hiring in Marketing","event_verbose": "Acme Co. added a job: Marketing Lead","domain": "acme.co","event_properties": {"job_title": "Marketing Lead","job_location": "Los Angeles, CA",},"company_properties": {"company_name": "Acme.co","alexa_rank": null,"country": "United States","location": "San Francisco, 94103 CA","industry": "Food & Beverages","employees_range": "1-10","social_linkedin_url": "linkedin.com/company/acme","social_facebook_url": "/acme","social_twitter_url": null,"year_founded": 2011}}