Trainings > TrainingMembership

Reads all Training memberships

Changed on

Reads all Training memberships

get/api/2026-10-01/resources/trainings/training_memberships

Request

  • Base URL
    https://api.factorialhr.com
  • URL
    https://api.factorialhr.com/api/2026-10-01/resources/trainings/training_memberships
  • 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

Query parameters

training_idstring

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

Example:1
ids[]string[]

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

[
  "1"
]
searchstring

This field is used to filter those trainings memberships whose employee name include some of the text written.

Example:Jane
team_idstring

This field is used to filter those memberships whose employees belongs to this team.

Example:1
statusstring

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

Example:notstarted
class_idstring

This field is used to filter those trainings memberships whose employees belongs to this group.

Example:1
employee_idstring

Get the training memberships by passing the employee id

Example:20
due_datestring required

This field is used to filter training memberships by due date. Values can be 'overdue', 'no_due_date', or a number of days (e.g., '7', '30', '90').

Example:7

Response

OK

Example response

{
  "data": [
    {
      "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