Factuarea APIDevelopers

List all absence types

List your company’s absence types with cursor-based pagination.

Supports filtering by status (active/archived) and measurement_unit (days/hours), plus free-text search over the type name.

GET
/absence-types
AuthorizationBearer <token>

In: header

Query Parameters

limit?integer

Number of objects to return. Integer between 1 and 100. Defaults to 25.

Default25
Range1 <= value <= 100
starting_after?string

Cursor for forward pagination. Use the uuid of the last object on the previous page.

Formatuuid
ending_before?string

Cursor for backward pagination. Use the uuid of the first object on the current page.

Formatuuid
status?string

Lifecycle status of the absence type. Exact match on status.

Value in"active" | "archived"
status[in]?string

Lifecycle status of the absence type. Comma-separated list. Any of the values matches.

measurement_unit?string

Measurement unit used to quantify the absence type. Exact match on measurement_unit.

Value in"days" | "hours"
measurement_unit[in]?string

Measurement unit used to quantify the absence type. Comma-separated list. Any of the values matches.

search?string

Free-text search. Escaped LIKE %term% (case-insensitive, max 80 chars) across the resource's key text columns, combined with the other filters (AND) and compatible with the cursor.

Lengthlength <= 80

Headers

Factuarea-Version?string

Pin the API version (YYYY-MM-DD, Stripe-style date versioning) for this request; omit to use the key's pinned version, or the latest if none. Unsupported version → 400 unsupported_api_version; malformed → 400 parameter_invalid_format. The effective version is echoed in the Factuarea-Version response header. See the Versioning guide.

Formatdate
X-Active-Profile?string

Operate on behalf of a child company (gestoría master key): pass its public id (UUID v7) and the request runs against that child's data without changing the key's scope, tier or environment (omit to use the key's own company). Invalid UUID → 400 parameter_invalid_uuid; unknown or non-owned id → 404 profile_not_found. See the Acting on behalf guide.

Formatuuid

Response Body

application/json

application/json

application/json

application/json

application/json

application/json