> ## Documentation Index
> Fetch the complete documentation index at: https://docs.stackone.com/llms.txt
> Use this file to discover all available pages before exploring further.

# absence.io

> How to set up the absence.io connector, plus the actions that are available.

![absence.io](https://stackone-logos.com/api/absenceio/filled/svg)

v1.2.0[See changelog](https://docs.stackone.com/connectors/absenceio/changelog.md)

[24 actions](#actions) · 2 auth methods

HRIS

## Getting Started

**1. Create or Select a Project**

Set up a new project or select an existing one. See [Organizations & Projects](https://docs.stackone.com/gateway/concepts/organizations-and-projects.md).

**2. Configure the Connector**

Enable the connector and create a Connector Profile in your project. See [Setup Connector Profile](https://docs.stackone.com/gateway/quickstart.md#setup-connector-profile).

> [card] [OAuth 2.0 (Client Credentials) · Connector Profile](https://docs.stackone.com/connectors/absenceio/guides/connector-profile/oauth-2-0-client-credentials.md)
>
> Uses absence.io's customized OAuth 2.0 Client Credentials flow. The issued access token is user-mapped — calls operate w\...

> [card] [API Key · Connector Profile](https://docs.stackone.com/connectors/absenceio/guides/connector-profile/api-key.md)
>
> Uses absence.io's Hawk API Key (a key ID plus a secret key). Every request is signed with an HMAC-SHA256 MAC, so the sec...

**3. Link an Account**

Link an account [from the dashboard](https://docs.stackone.com/connect/managing-connectors/linking-accounts.md#link-from-the-dashboard) (or via [StackOne Hub](https://docs.stackone.com/embed/account-linking/overview)).

See the guide for the authentication type chosen in the Connector Profile:

> [card] [OAuth 2.0 (Client Credentials) · Link Account](https://docs.stackone.com/connectors/absenceio/guides/link-account/oauth-2-0-client-credentials.md)

> [card] [API Key · Link Account](https://docs.stackone.com/connectors/absenceio/guides/link-account/api-key.md)

**4. Use Actions**

Connect an AI platform to the linked account's actions. See [AI Platforms](https://docs.stackone.com/ai-platforms/overview.md).

Other ways to call actions are listed in [Protocols & SDKs](https://docs.stackone.com/connect/protocols-and-sdks.md).

## Actions

Authentication type

Select all
|
Clear

API Key

OAuth 2.0 (Client Credentials)

No auth methods found

24 actions

ActionDescription

List Absences`absenceio_list_absences`

List absences with optional MongoDB-style filtering, sorting, and relation resolution.

Get Absence`absenceio_get_absence`

Retrieve a single absence by its MongoDB ObjectId.

Create Absence`absenceio_create_absence`

Create a new absence assigned to a user with a specific reason and approver.

Update Absence`absenceio_update_absence`

Update an existing absence — only the fields supplied are changed.

List Allowance Types`absenceio_list_allowance_types`

List allowance types with optional MongoDB-style filtering, sorting, and pagination.

Get Allowance Type`absenceio_get_allowance_type`

Retrieve a single allowance type by its MongoDB ObjectId.

List Departments`absenceio_list_departments`

List departments with optional MongoDB-style filtering, sorting, and pagination.

Get Department`absenceio_get_department`

Retrieve a single department by its MongoDB ObjectId.

List Holidays`absenceio_list_holidays`

Retrieve holidays for a user or location within a date range, with optional filtering by company, day type, and mandator...

List Locations`absenceio_list_locations`

List locations with optional MongoDB-style filtering, sorting, and pagination.

Get Location`absenceio_get_location`

Retrieve a single location by its MongoDB ObjectId.

List Reasons`absenceio_list_reasons`

List absence reasons with optional MongoDB-style filtering, sorting, and pagination.

Get Reason`absenceio_get_reason`

Retrieve a single absence reason by its MongoDB ObjectId.

List Teams`absenceio_list_teams`

List teams with optional MongoDB-style filtering, sorting, and pagination.

Get Team`absenceio_get_team`

Retrieve a single team by its MongoDB ObjectId.

List Timespans`absenceio_list_timespans`

List timetracking entries with optional MongoDB-style filtering, sorting, and pagination.

Get Timespan`absenceio_get_timespan`

Retrieve a single timespan by its MongoDB ObjectId.

Create Timespan`absenceio_create_timespan`

Create a new timespan (work or break entry) for a user.

Update Timespan`absenceio_update_timespan`

Update an existing timespan — only the fields supplied are changed.

Delete Timespan`absenceio_delete_timespan`

Delete a timespan by its MongoDB ObjectId.

List Users`absenceio_list_users`

List users with optional MongoDB-style filtering, sorting, and pagination.

Get User`absenceio_get_user`

Retrieve a single user by their MongoDB ObjectId.

Invite User`absenceio_invite_user`

Register a new user for the company; optionally send an invitation email.

Update User`absenceio_update_user`

Update an existing user — only the fields supplied are changed.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.