GET
/
members
/
{id}
curl --request GET \
  --url https://api.absentify.com/api/v1/members/{id} \
  --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"
    }
  ],
  "schedules": [
    {
      "id": "<string>",
      "from": "2023-11-07T05:31:56Z",
      "monday_am_start": "2023-11-07T05:31:56Z",
      "monday_am_end": "2023-11-07T05:31:56Z",
      "monday_pm_start": "2023-11-07T05:31:56Z",
      "monday_pm_end": "2023-11-07T05:31:56Z",
      "monday_am_enabled": true,
      "monday_pm_enabled": true,
      "monday_deduct_fullday": true,
      "tuesday_am_start": "2023-11-07T05:31:56Z",
      "tuesday_am_end": "2023-11-07T05:31:56Z",
      "tuesday_pm_start": "2023-11-07T05:31:56Z",
      "tuesday_pm_end": "2023-11-07T05:31:56Z",
      "tuesday_am_enabled": true,
      "tuesday_pm_enabled": true,
      "tuesday_deduct_fullday": true,
      "wednesday_am_start": "2023-11-07T05:31:56Z",
      "wednesday_am_end": "2023-11-07T05:31:56Z",
      "wednesday_pm_start": "2023-11-07T05:31:56Z",
      "wednesday_pm_end": "2023-11-07T05:31:56Z",
      "wednesday_am_enabled": true,
      "wednesday_pm_enabled": true,
      "wednesday_deduct_fullday": true,
      "thursday_am_start": "2023-11-07T05:31:56Z",
      "thursday_am_end": "2023-11-07T05:31:56Z",
      "thursday_pm_start": "2023-11-07T05:31:56Z",
      "thursday_pm_end": "2023-11-07T05:31:56Z",
      "thursday_am_enabled": true,
      "thursday_pm_enabled": true,
      "thursday_deduct_fullday": true,
      "friday_am_start": "2023-11-07T05:31:56Z",
      "friday_am_end": "2023-11-07T05:31:56Z",
      "friday_pm_start": "2023-11-07T05:31:56Z",
      "friday_pm_end": "2023-11-07T05:31:56Z",
      "friday_am_enabled": true,
      "friday_pm_enabled": true,
      "friday_deduct_fullday": true,
      "saturday_am_start": "2023-11-07T05:31:56Z",
      "saturday_am_end": "2023-11-07T05:31:56Z",
      "saturday_pm_start": "2023-11-07T05:31:56Z",
      "saturday_pm_end": "2023-11-07T05:31:56Z",
      "saturday_am_enabled": true,
      "saturday_pm_enabled": true,
      "saturday_deduct_fullday": true,
      "sunday_am_start": "2023-11-07T05:31:56Z",
      "sunday_am_end": "2023-11-07T05:31:56Z",
      "sunday_pm_start": "2023-11-07T05:31:56Z",
      "sunday_pm_end": "2023-11-07T05:31:56Z",
      "sunday_am_enabled": true,
      "sunday_pm_enabled": true,
      "sunday_deduct_fullday": true,
      "updatedAt": "2023-11-07T05:31:56Z",
      "createdAt": "2023-11-07T05:31:56Z"
    }
  ]
}

Authorizations

X-API-KEY
string
header
required

Path Parameters

id
string
required

Response

200
application/json
Successful response
id
string
required
custom_id
string | null
required
name
string | null
required
createdAt
string
required
updatedAt
string
required
allowances
object[]
required
allowance_type_configurtaions
object[]
required
approval_process
enum<string>
required
Available options:
Linear_all_have_to_agree,
Linear_one_has_to_agree,
Parallel_all_have_to_agree,
Parallel_one_has_to_agree
status
enum<string>
required
Available options:
INACTIVE,
ACTIVE,
ARCHIVED
birthday
string | null
required
employment_start_date
string | null
required
employment_end_date
string | null
required
email
string | null
required
departments
object[]
required
schedules
object[]
required