This endpoint lets you retrieve all remote policies 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/remote_policies
GET
https://api-piloty.fr/remote_policies
{ "total": 121, "data":[ { "id": "633ab1122cca2e7e75e8339d", "name": "Fulltime", "ref": "fulltime", "content": { "translation": { "en": "Fulltime", "fr": "100% télétravail" } } }, { "id": "633ab1122cca2e7e75e833a8", "name": "Part-time", "ref": "part_time", "content": { "translation": { "en": "Part-time", "fr": "Télétravail partiel possible" } } }, {...}, ] }
{ "status": 401, "error": "unauthorized-limitation", "errorMessage": "Unauthorized" }
Request example
curl -X GET -G "https://api-piloty.fr/remote_policies" \ -H "Authorization: Bearer PILOTY_TOKEN" \
Last updated 1 month ago