This endpoint lets you retrieve all contracts use throughout Piloty
This endpoint requires :
• brand_admin, media_admin or media_partner roles.
brand_admin
media_admin
media_partner
• r_jobs scope.
r_jobs
GET https://api-piloty.fr/contracts
GET
https://api-piloty.fr/contracts
{ "total": 121, "data":[ { "id": "627d16c172f9aba0dccfb00d", "name": "Apprenticeship", "ref": "apprenticeship", "content": { "translation": { "en": "Apprenticeship", "fr": "Alternance" } } }, { "id": "627d176572f9aba0dccfd39f", "name": "Fixed-term Contract", "ref": "fixed_term" "content": { "translation": { "en": "Fixed-term Contract", "fr": "CDD" } } }, {...}, ] }
{ "status": 401, "error": "unauthorized-limitation", "errorMessage": "Unauthorized" }
Request example
curl -X GET -G "https://api-piloty.fr/contracts" \ -H "Authorization: Bearer PILOTY_TOKEN" \
Last updated 1 month ago