Piloty API
  • Introduction
  • 🔓Authentication
  • 🔭Scopes and Roles
  • ⏲️Rate limits
  • 📂Pagination
  • ⁉️Errors and Status
  • 🏢COMPANIES API
    • Companies
      • GET : Companies by media
      • GET : Retrieve Company
      • POST : Create company
      • PATCH : Update company
    • Company 's fields
      • GET : List Sectors
      • GET : List Sizes
  • 💼JOBS API
    • Jobs
      • GET : Jobs by media
      • GET : Retrieve job
      • GET : Jobs opened by media
      • GET : Retrieve job opened
      • POST : Create job
      • PATCH : Update job
    • Job's fields
      • GET : List Contracts
      • GET : List Experiences
      • GET : List Educations
      • GET : List Remote policies
      • GET : List Worktimes
      • GET : List Job Categories
  • 👤USERS API
    • Users
      • GET : Users by media
  • 🧑‍💼CANDIDATES API
    • Candidates
      • GET : User candidates by media
      • GET : Job alerts
      • GET : Favoris
    • Opportunities
      • POST : Job applications - v2
      • GET : Job applications
      • 🛑Deprecated - POST : Job applications - v1
  • 📕Changelog
Powered by GitBook
On this page
  1. COMPANIES API
  2. Company 's fields

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
        },
        {...},
    ]
}
{
    "status": 401,
    "error": "unauthorized-limitation",
    "errorMessage": "Unauthorized"
}

Request example

curl -X GET -G "https://api-piloty.fr/company_sectors" \
    -H "Authorization: Bearer PILOTY_TOKEN" \
PreviousCompany 's fieldsNextGET : List Sizes

Last updated 1 month ago

🏢