This endpoint lets you retrieve all sectors use throughout Piloty
This endpoint requires :
• brand_admin, media_admin or media_partner roles.
brand_admin
media_admin
media_partner
• r_companies scope.
r_companies
GET https://api-piloty.fr/company_sectors
GET
https://api-piloty.fr/company_sectors
{ "total": 121, "data":[ { "id": "615ef4b4d8764832b8bc55fc", "ref": "health_social", "content": { "translation": { "en": "Health / Social", "fr": "Santé / Social" } }, "parent_ref": null, "level": 0 }, { "id": "615ef4b4d8764832b8bc55fb", "ref": "advertising_marketing_agency_public_relations", "content": { "translation": { "en": "Public Relations", "fr": "Relations publiques" } }, "parent_ref": "advertising_marketing_agency", "level": 1 }, {...}, ] }
{ "status": 401, "error": "unauthorized-limitation", "errorMessage": "Unauthorized" }
Request example
curl -X GET -G "https://api-piloty.fr/company_sectors" \ -H "Authorization: Bearer PILOTY_TOKEN" \
Last updated 1 month ago