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

Request example

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

Last updated