Need help with your APIs? I offer API discovery, governance & evangelism services. Explore services →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

Absence.io Reason Types API

Operations for retrieving absence reason type definitions.

Absence.io Reason Types API is one of 7 APIs that Absence.io publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

This API exposes 3 JSON Schema definitions.

Tagged areas include Reason Types. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, authentication docs, and 3 JSON Schemas.

This API exposes 1 operation across 1 path, and defines 4 schemas. It is described by OpenAPI 3.1.0, at version 2.0.0.

Requests are made against a single base URL, https://app.absence.io/api/v2.

1 operations 1 paths 4 schemas 1 POST

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.1.0
API Version
2.0.0
Server
https://app.absence.io/api/v2
Authentication
HTTP Hawk
Resource Areas
1

Authentication & Security 1

Absence.io Reason Types API declares 1 security scheme for authenticating requests. It uses HTTP hawk authentication (HawkAuth).

  • HawkAuth — Hawk authentication using an API key ID and API key. Generate your API key from your absence.io account profile under the Integrations tab. Use the @hapi/hawk…

Paths & Operations 1

Across 1 path, the API surfaces 1 operation — 1 POST. Each is listed below with its method, path, parameters, and response codes.

Reason Types 1

Operations for retrieving absence reason type definitions.

POST
/reasontypes
Absence.io List Reason Types
listReasonTypes body → 200401

Schemas 4

The contract defines 4 schemas that model the data the API accepts and returns. The most detailed are ReasonType (5 properties), ReasonTypeListResponse (4 properties), ListRequest (4 properties), Error (2 properties). Each schema is shown below with its type and property counts.

ReasonType
object
An absence reason type (e.g., vacation, sick leave, parental leave).
5 properties
ListRequest
object
Common request body for list operations with pagination and filtering.
4 properties
ReasonTypeListResponse
object
Paginated list response containing reason type records.
4 properties
Error
object
Error response returned when a request fails.
2 properties

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

absence-io-reason-types-api-openapi.yml Raw ↑

Other APIs Absence.io publishes across the network.

Absence.io Absences API
Absence.io Allowances API
Absence.io Departments API
Absence.io Locations API
Absence.io Timespans API
Absence.io Users API