Skip to Content
PeopleForce
Leaves

Deprecated

Company API v2 is deprecated. It no longer receives changes and will stop being supported, so move integrations to Company API v3, which serves every v2 path under /api/public/v3.

Get an employee leave type

Deprecated

GET
/api/public/v2/employees/{employee_id}/leave_types/{id}

Path Parameters

employee_id*integer
Formatint64
id*integer
Formatint64

Response Body

The API key is missing or invalid.

application/json
  1. response
status*integer
Formatint32
message*string
Example Request
curl -X GET 'https://app.peopleforce.io/api/public/v2/employees/0/leave_types/0'
Example Response
{  "status": 0,  "message": "string"}