GET : List Worktimes

This endpoint lets you retrieve all remote policies use throughout Piloty

This endpoint requires :

brand_admin, media_admin or media_partner roles.

r_jobs scope.

All Worktimes elements

GET https://api.piloty.fr/worktimes

{
    "total": 121,
    "data":[
       
        {
            "id": "633ab32f2cca2e7e75e8676d",
            "name": "Fulltime",
            "ref": "fulltime",
            "content": {
                "translation": {
                    "en": "Fulltime",
                    "fr": "Temps plein"
                }
            }
        },
        {...},
    ]
}

Request example

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

Last updated