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. JOBS API
  2. Job's fields

GET : List Contracts

This endpoint lets you retrieve all contracts use throughout Piloty

This endpoint requires :

• brand_admin, media_admin or media_partner roles.

• r_jobs scope.

All Contracts elements

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" \
PreviousJob's fieldsNextGET : List Experiences

Last updated 1 month ago

💼