Trainings > TrainingMembership

Reads a single Training membership

Changed on

Reads a single Training membership

get/api/2026-10-01/resources/trainings/training_memberships/{id}

Request

  • Base URL
    https://api.factorialhr.com
  • URL
    https://api.factorialhr.com/api/2026-10-01/resources/trainings/training_memberships/{id}
  • Auth
    • OAuth 2
      Authorization code: https://id.factorialhr.com/oauth/authorize
      Token URL: https://id.factorialhr.com/api/oauth/token scopes: trainings
    • or API key in header x-api-key

Path parameters

idstring required

This field is used to filter those trainings memberships whose id match with the given.

Response

OK

idstring required

Unique identifier for the training membership.

access_idstring required

Access_id associated to the employee, refers to employees/employees endpoint.

employee_idstring required

Employee_id associated to the employee, refers to employees/employees endpoint.

training_idstring required

This field is used to filter those trainings memberships that belongs to this training.

status'notassigned' | 'notstarted' | 'missing' | 'started' | 'partiallycompleted' | 'completed' required

This field is used to filter those trainings memberships whose attendance status is the given.

training_due_datestring

Date on which the training will expire for the employee, calculated from the completion date, for trainings with an expiry date.

training_completed_atstring

The date on which the employee completed the training.

Example response

{
  "id": "1",
  "access_id": "20",
  "employee_id": "20",
  "training_id": "1",
  "status": "notstarted",
  "training_due_date": "2022-01-01",
  "training_completed_at": "2022-01-01"
}

Changes