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

Absentify Requests API

The Requests API from Absentify — 9 operation(s) for requests.

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

This API exposes 14 JSON Schema definitions.

Tagged areas include Requests. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, a JSON-LD context, and 14 JSON Schemas.

This API exposes 10 operations across 9 paths, and defines 5 schemas. It is described by OpenAPI 3.1.0, at version 1.0.0.

Requests are made against a single base URL, https://api.absentify.com/api/v1.

10 operations 9 paths 5 schemas 3 GET7 POST

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.1.0
API Version
1.0.0
Base URL
https://api.absentify.com/api/v1
Authentication
API Key, API Key
Resource Areas
1

Authentication & Security 2

Absentify Requests API declares 2 security schemes for authenticating requests. An API key is passed in the header as X-API-KEY (ApiKey). An API key is passed in the header as x-api-key (ApiKeyAuth).

  • ApiKeyAuth — API key from your absentify account settings. Requires Plus plan.

Paths & Operations 10

Across 9 paths, the API surfaces 10 operations — 3 GET, 7 POST. Each is listed below with its method, path, parameters, and response codes.

Requests 10
GET
/requests
Absentify Get All Requests
request-getRequests 5 params → 200400401403404500
POST
/requests
Absentify Create a Request
request-createRequest body → 200400401403500
GET
/requests_per_day
Absentify Get All Requests Per Day
request-getRequestsPerDay 5 params → 200400401403404500
GET
/requests/{id}
Absentify Read a Request by Id
request-getRequestById 1 param → 200400401403404500
POST
/requests/recurring
Absentify Create Recurring Requests
request-createRecurringRequests body → 200400401403500
POST
/requests/{id}/approve
Absentify Approve a Request
request-approveRequest 1 param → 200400401403500
POST
/requests/{id}/decline
Absentify Decline a Request
request-declineRequest 1 param body → 200400401403500
POST
/requests/{id}/approve_representative
Absentify Approve a Request as a Representative
request-approveRequestRepresentative 1 param → 200400401403500
POST
/requests/{id}/decline_representative
Absentify Decline a Request as a Representative
request-declineRequestRepresentative 1 param body → 200400401403500
POST
/requests/{id}/cancel
Absentify Cancel a Request
request-cancelRequest 1 param body → 200400401403500

Schemas 5

The contract defines 5 schemas that model the data the API accepts and returns. The most detailed are error.FORBIDDEN (3 properties), error.INTERNAL_SERVER_ERROR (3 properties), error.NOT_FOUND (3 properties), error.UNAUTHORIZED (3 properties). Each schema is shown below with its type and property counts.

error.BAD_REQUEST
object
The error information
3 properties 2 required
error.UNAUTHORIZED
object
The error information
3 properties 2 required
error.NOT_FOUND
object
The error information
3 properties 2 required
error.INTERNAL_SERVER_ERROR
object
The error information
3 properties 2 required
error.FORBIDDEN
object
The error information
3 properties 2 required

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

absentify-requests-api-openapi.yml Raw ↑

Other APIs Absentify publishes across the network.

Absentify Absences API
Absentify Departments API
Absentify Leave types API
Absentify Members API
Absentify Public holidays API
Absentify Workspace API