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 Departments API

The Departments API from Absentify — 2 operation(s) for departments.

Absentify Departments 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 Departments. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, a JSON-LD context, and 14 JSON Schemas.

This API exposes 5 operations across 2 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.

5 operations 2 paths 5 schemas 1 DELETE2 GET1 POST1 PUT

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 Departments 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 5

Across 2 paths, the API surfaces 5 operations — 1 DELETE, 2 GET, 1 POST, 1 PUT. Each is listed below with its method, path, parameters, and response codes.

Departments 5
GET
/departments
Absentify Get All Departments
department-getDepartments → 200400401403404500
POST
/departments
Absentify Create a Department
department-createDepartment body → 200400401403500
GET
/departments/{id}
Absentify Read a Department by Id
department-getDepartmentByid 1 param → 200400401403404500
PUT
/departments/{id}
Absentify Update a Department
department-updateDepartment 1 param body → 200400401403404500
DELETE
/departments/{id}
Absentify Delete a Department
department-DeleteDepartmentById 1 param → 200400401403404500

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-departments-api-openapi.yml Raw ↑

Other APIs Absentify publishes across the network.

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