GET : List Sectors

This endpoint lets you retrieve all sectors use throughout Piloty

This endpoint requires :

brand_admin, media_admin or media_partner roles.

r_companies scope.

All Sectors elements

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
        },
        {...},
    ]
}

Request example

curl -X GET -G "https://api-piloty.fr/company_sectors" \
    -H "Authorization: Bearer PILOTY_TOKEN" \

Last updated