Members
Get all members
Members
- GETGet all members
- POSTInvite a member
- GETRead a member by id
- PUTUpdate a member
- DELDelete a member
- GETRead a member by Microsoft user id
- GETRead a member by email
- GETRead a member by custom_id
- PUTUpdate approvers for a member
- PUTUpdate a member's allowance
- POSTAdd a member's schedule
- PUTUpdate a member's schedule
Departments
Leave types
Public holidays
Members
Get all members
Get all members
GET
/
members
curl --request GET \
--url https://api.absentify.com/api/v1/members \
--header 'X-API-KEY: <api-key>'
[
{
"id": "<string>",
"custom_id": "<string>",
"name": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"allowances": [
{
"remaining": 123,
"brought_forward": 123,
"allowance": 123,
"taken": 123,
"year": 123,
"compensatory_time_off": 123,
"updatedAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"id": "<string>",
"allowance_type": {
"id": "<string>",
"name": "<string>",
"ignore_allowance_limit": true
}
}
],
"allowance_type_configurtaions": [
{
"id": "<string>",
"allowance_type_id": "<string>",
"default": true,
"disabled": true
}
],
"approval_process": "Linear_all_have_to_agree",
"status": "INACTIVE",
"birthday": "2023-11-07T05:31:56Z",
"employment_start_date": "2023-11-07T05:31:56Z",
"employment_end_date": "2023-11-07T05:31:56Z",
"email": "<string>",
"departments": [
{
"id": "<string>",
"name": "<string>",
"manager_type": "Member"
}
]
}
]
Authorizations
Response
200
application/json
Successful response
The response is of type object[]
.
Was this page helpful?
curl --request GET \
--url https://api.absentify.com/api/v1/members \
--header 'X-API-KEY: <api-key>'
[
{
"id": "<string>",
"custom_id": "<string>",
"name": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"allowances": [
{
"remaining": 123,
"brought_forward": 123,
"allowance": 123,
"taken": 123,
"year": 123,
"compensatory_time_off": 123,
"updatedAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"id": "<string>",
"allowance_type": {
"id": "<string>",
"name": "<string>",
"ignore_allowance_limit": true
}
}
],
"allowance_type_configurtaions": [
{
"id": "<string>",
"allowance_type_id": "<string>",
"default": true,
"disabled": true
}
],
"approval_process": "Linear_all_have_to_agree",
"status": "INACTIVE",
"birthday": "2023-11-07T05:31:56Z",
"employment_start_date": "2023-11-07T05:31:56Z",
"employment_end_date": "2023-11-07T05:31:56Z",
"email": "<string>",
"departments": [
{
"id": "<string>",
"name": "<string>",
"manager_type": "Member"
}
]
}
]