Human Sourcing Webhooks
The goal is to be able to push new jobs / candidates in real time to a specific URL (endpoint) with their relative content.
All HTTP calls will format as following:
{
"event": "...",
"type": "..",
"data": {
...
}
}
Job webhook [/your-job-endpoint]
Job creation [POST]
Response 200 (application/json)
[ { "event": "creation", "type": "job", "data": { "job_id": 126751, "job_office_id": 0, "job_office_name": "", "job_reference": "REF", "job_title": "Candidature Spontanée", "job_description": "", "job_profil": "", "job_commentaire": "", "job_jobstart": "2019-07-19T00:00:00+0200", "job_mission_start": "2019-07-19T00:00:00+0200", "job_type": "spont", "job_address": "Adresse complète", "job_company": "", "job_company_description": "", "job_contract_type": "", "job_contract_status": "", "job_salary": "0", "job_education_level": "", "job_experience_level": "", "job_city": "", "job_city_intl": "", "job_country_intl": { "name": "France", "code": "FRA", "iso2": "FR" }, "job_regions": [], "job_departments": [], "job_working_time": "", "job_logo": "", "job_published_at": "2019-07-19T16:57:17+0200", "job_updated_at": "2019-08-29T17:16:11+0200", "job_category_id": 999999999, "job_category_name": "~Autres Familles", "job_sub_category_id": 0, "job_sub_category_name": "", "job_secteur_id": 0, "job_secteur_name": "", "job_interlocutor_id": 0, "job_interlocutor_name": "", "job_nb_cand_to_recruit": 1, "job_var_salary": "", "job_recruitment_cost": "", "job_other_cost": "", "job_customer": "", "job_form_url": "URL_FORM" } } ]
Job update [POST]
Response 200 (application/json)
[ { "event": "update", "type": "job", "data": { "job_id": 126751, "job_office_id": 0, "job_office_name": "", "job_reference": "REF", "job_title": "Candidature Spontanée", "job_description": "", "job_profil": "", "job_commentaire": "", "job_jobstart": "2019-07-19T00:00:00+0200", "job_mission_start": "2019-07-19T00:00:00+0200", "job_type": "spont", "job_address": "Adresse complète", "job_company": "", "job_company_description": "", "job_contract_type": "", "job_contract_status": "", "job_salary": "0", "job_education_level": "", "job_experience_level": "", "job_city": "", "job_city_intl": "", "job_country_intl": { "name": "France", "code": "FRA", "iso2": "FR" }, "job_regions": [], "job_departments": [], "job_working_time": "", "job_logo": "", "job_published_at": "2019-07-19T16:57:17+0200", "job_updated_at": "2019-08-29T17:16:11+0200", "job_category_id": 999999999, "job_category_name": "~Autres Familles", "job_sub_category_id": 0, "job_sub_category_name": "", "job_secteur_id": 0, "job_secteur_name": "", "job_interlocutor_id": 0, "job_interlocutor_name": "", "job_nb_cand_to_recruit": 1, "job_var_salary": "", "job_recruitment_cost": "", "job_other_cost": "", "job_customer": "", "job_form_url": "URL_FORM" } } ]
Job delete [POST]
Response 200 (application/json)
[ { "event": "delete", "type": "job", "data": { "job_id": 126751 } } ]
Candidate webhook [/your-candidate-endpoint]
Candidate creation [POST]
Response 200 (application/json)
[ { "event": "creation", "type": "candidate", "data": { "id": 1234567876, "id_company": "11111", "first_name": "Candidate Firstname", "last_name": "Candidate Last Name", "email": "[email protected]", "tel_landline": null, "tel_mobile": null, "tags": [], "action": [ { "id": "14437912", "type": "11730", "default_type": "56", "media": null, "rating": 0, "pastille": null, "code": "CLO", "emailing": false, "date": "2016-01-20T14:27:00+01:00", "consultant": { "id": "3144", "office": "128", "first_name": "Vanessa", "last_name": "DURANT" }, "poste": { "id": "186226", "title": "Attaché(e) commercial h/f", "status": "2043", "pastille": null, "customer": "0", "consultant": { "id": "3144", "office": "128" } } }, { "id": "14197986", "type": "11736", "default_type": "93", "media": null, "rating": "-1", "pastille": null, "code": "AR_a", "emailing": false, "date": "2015-12-21T23:45:46+01:00", "consultant": { "id": "3144", "office": "128", "first_name": "Vanessa", "last_name": "DURANT" }, "poste": { "id": "186226", "title": "Attaché(e) commercial h/f", "status": "2043", "pastille": null, "customer": "0", "consultant": { "id": "3144", "office": "128" } }, "attachment": [ { "id": 367481, "type": 9, "mimetype": "TEXT/PLAIN", "text": "#Maxime#################################################M#a#x#i#m#e### '<#?", "filename": "ENVOI : Accusé de réception automatique.txt", "uniqfilename": null } ] }, { "id": "14197985", "type": "11668", "default_type": "4", "media": "1100064", "rating": "-1", "pastille": null, "code": "CAND", "emailing": false, "date": "2015-12-21T23:45:44+01:00", "consultant": { "id": "3144", "office": "128", "first_name": "Vanessa", "last_name": "DURANT" }, "poste": { "id": "186226", "title": "Attaché(e) commercial h/f", "status": "2043", "pastille": null, "customer": "0", "consultant": { "id": "3144", "office": "128" } }, "attachment": [ { "id": 367479, "type": 10, "mimetype": "application/pdf", "text": "#Maxime#################################################M#a#x#i#m#e### '<#?", "filename": "cv-31144169.pdf", "uniqfilename": "201512/3144_d33f7caf411aa7add14e44521c9084a7" }, { "id": 367480, "type": 10, "mimetype": "application/pdf", "text": "#Maxime#################################################M#a#x#i#m#e### '<#?", "filename": "Documentsanstitre (1).pdf", "uniqfilename": "201512/3144_dd860c22d4dcb7cd990a82974b67ca96" } ], "form": { "id": "2599363", "image": "16343d20c273cffc06e1821c27c09d024e8d657b1a31c7e381a0e771a09e136e.png", "input": [ { "id_form_answer": "12065", "id_question": "4339", "question": "Civilité", "id_form_answer_value": "94040", "answer": "Monsieur" }, { "id_form_answer": "12791", "id_question": "4630", "question": "Nom", "id_form_answer_value": null, "answer": "Lastname value" }, { "id_form_answer": "12792", "id_question": "4631", "question": "Prénom", "id_form_answer_value": null, "answer": "Firstname Value" }, { "id_form_answer": "3088", "id_question": "1097", "question": "E-mail", "id_form_answer_value": null, "answer": "[email protected]" }, { "id_form_answer": "3778", "id_question": "1328", "question": "Mobilité professionnelle", "id_form_answer_value": "25807", "answer": "France " }, { "id_form_answer": "3783", "id_question": "1329", "question": "Fonction", "id_form_answer_value": "25930", "answer": "Vente terrain" }, { "id_form_answer": "3787", "id_question": "1331", "question": "Prétentions salariales", "id_form_answer_value": "25941", "answer": "de X à X KEuros" }, { "id_form_answer": "3788", "id_question": "1332", "question": "Anglais", "id_form_answer_value": "25952", "answer": "Opérationel" } ] } }, { "id": "4775507", "type": "11736", "default_type": "93", "media": null, "rating": 0, "pastille": null, "code": "AR_a", "emailing": false, "date": "2011-05-02T11:53:00+02:00", "consultant": { "id": "3144", "office": "128", "first_name": "Vanessa", "last_name": "DURANT" }, "poste": { "id": "53634", "title": "Conseiller Clientèle H/F", "status": "2043", "pastille": null, "customer": "0", "consultant": { "id": "3144", "office": "128" } }, "attachment": [ { "id": 127165, "type": 9, "mimetype": "TEXT/PLAIN", "text": "#Maxime#################################################M#a#x#i#m#e### '<#?", "filename": "texte.txt", "uniqfilename": null } ] } ], "latest_action": "2016-01-20T14:27:00+01:00" } } ]
Candidate update [POST]
Response 200 (application/json)
[ { "event": "update", "type": "candidate", "data": { "id": 1234567876, "id_company": "11111", "first_name": "Candidate Firstname", "last_name": "Candidate Last Name", "email": "[email protected]", "tel_landline": null, "tel_mobile": null, "tags": [], "action": [ { "id": "14437912", "type": "11730", "default_type": "56", "media": null, "rating": 0, "pastille": null, "code": "CLO", "emailing": false, "date": "2016-01-20T14:27:00+01:00", "consultant": { "id": "3144", "office": "128", "first_name": "Vanessa", "last_name": "DURANT" }, "poste": { "id": "186226", "title": "Attaché(e) commercial h/f", "status": "2043", "pastille": null, "customer": "0", "consultant": { "id": "3144", "office": "128" } } }, { "id": "14197986", "type": "11736", "default_type": "93", "media": null, "rating": "-1", "pastille": null, "code": "AR_a", "emailing": false, "date": "2015-12-21T23:45:46+01:00", "consultant": { "id": "3144", "office": "128", "first_name": "Vanessa", "last_name": "DURANT" }, "poste": { "id": "186226", "title": "Attaché(e) commercial h/f", "status": "2043", "pastille": null, "customer": "0", "consultant": { "id": "3144", "office": "128" } }, "attachment": [ { "id": 367481, "type": 9, "mimetype": "TEXT/PLAIN", "text": "#Maxime#################################################M#a#x#i#m#e### '<#?", "filename": "ENVOI : Accusé de réception automatique.txt", "uniqfilename": null } ] }, { "id": "14197985", "type": "11668", "default_type": "4", "media": "1100064", "rating": "-1", "pastille": null, "code": "CAND", "emailing": false, "date": "2015-12-21T23:45:44+01:00", "consultant": { "id": "3144", "office": "128", "first_name": "Vanessa", "last_name": "DURANT" }, "poste": { "id": "186226", "title": "Attaché(e) commercial h/f", "status": "2043", "pastille": null, "customer": "0", "consultant": { "id": "3144", "office": "128" } }, "attachment": [ { "id": 367479, "type": 10, "mimetype": "application/pdf", "text": "#Maxime#################################################M#a#x#i#m#e### '<#?", "filename": "cv-31144169.pdf", "uniqfilename": "201512/3144_d33f7caf411aa7add14e44521c9084a7" }, { "id": 367480, "type": 10, "mimetype": "application/pdf", "text": "#Maxime#################################################M#a#x#i#m#e### '<#?", "filename": "Documentsanstitre (1).pdf", "uniqfilename": "201512/3144_dd860c22d4dcb7cd990a82974b67ca96" } ], "form": { "id": "2599363", "image": "16343d20c273cffc06e1821c27c09d024e8d657b1a31c7e381a0e771a09e136e.png", "input": [ { "id_form_answer": "12065", "id_question": "4339", "question": "Civilité", "id_form_answer_value": "94040", "answer": "Monsieur" }, { "id_form_answer": "12791", "id_question": "4630", "question": "Nom", "id_form_answer_value": null, "answer": "Lastname value" }, { "id_form_answer": "12792", "id_question": "4631", "question": "Prénom", "id_form_answer_value": null, "answer": "Firstname Value" }, { "id_form_answer": "3088", "id_question": "1097", "question": "E-mail", "id_form_answer_value": null, "answer": "[email protected]" }, { "id_form_answer": "3778", "id_question": "1328", "question": "Mobilité professionnelle", "id_form_answer_value": "25807", "answer": "France " }, { "id_form_answer": "3783", "id_question": "1329", "question": "Fonction", "id_form_answer_value": "25930", "answer": "Vente terrain" }, { "id_form_answer": "3787", "id_question": "1331", "question": "Prétentions salariales", "id_form_answer_value": "25941", "answer": "de X à X KEuros" }, { "id_form_answer": "3788", "id_question": "1332", "question": "Anglais", "id_form_answer_value": "25952", "answer": "Opérationel" } ] } }, { "id": "4775507", "type": "11736", "default_type": "93", "media": null, "rating": 0, "pastille": null, "code": "AR_a", "emailing": false, "date": "2011-05-02T11:53:00+02:00", "consultant": { "id": "3144", "office": "128", "first_name": "Vanessa", "last_name": "DURANT" }, "poste": { "id": "53634", "title": "Conseiller Clientèle H/F", "status": "2043", "pastille": null, "customer": "0", "consultant": { "id": "3144", "office": "128" } }, "attachment": [ { "id": 127165, "type": 9, "mimetype": "TEXT/PLAIN", "text": "#Maxime#################################################M#a#x#i#m#e### '<#?", "filename": "texte.txt", "uniqfilename": null } ] } ], "latest_action": "2016-01-20T14:27:00+01:00" } } ]
Candidate delete [POST]
Response 200 (application/json)
[ { "event": "delete", "type": "candidate", "data": { "id": 12121 } } ]