Skip to Content
PeopleForce
Employees

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.

List employee compensations

Deprecated

GET
/api/public/v2/employees/{employee_id}/compensations

Path Parameters

employee_id*integer
Formatint64

Response Body

The employee compensations.

application/json
  1. response
data*array<>
Example Request
curl -X GET 'https://app.peopleforce.io/api/public/v2/employees/0/compensations'
Example Response
{  "data": [    {      "id": 0,      "effective_on": "2019-08-24",      "amount": "string",      "currency_code": "string",      "per": "string",      "comment": "string",      "created_at": "2019-08-24T14:15:22Z",      "updated_at": "2019-08-24T14:15:22Z",      "compensation_component": {        "id": 0,        "name": "string",        "code": "string",        "payout_type": "once_off",        "frequency": "hourly"      }    }  ]}