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

CharlieHR Leave / Absences API

Leave (time off) requests.

CharlieHR Leave / Absences API is one of 4 APIs that CharlieHR publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

Tagged areas include Leave / Absences. The published artifact set on APIs.io includes an OpenAPI specification and API documentation.

This API exposes 3 operations across 3 paths, and defines 5 schemas. It is described by OpenAPI 3.0.1, at version 1.0.

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

3 operations 3 paths 5 schemas 3 GET

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.0.1
API Version
1.0
Base URL
https://charliehr.com/api/v1
Authentication
OAuth 2.0
Terms of Service
Resource Areas
1

Authentication & Security 1

CharlieHR Leave / Absences API declares 1 security scheme for authenticating requests. It supports OAuth 2.0 (oauth2) using the clientCredentials flow. By default, every request must be authenticated.

  • oauth2 — OAuth 2.0. A Client ID and Client Secret issued in the CharlieHR app are exchanged for an access token, which is sent in the Authorization header of each reque…

Paths & Operations 3

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

Leave / Absences 3

Leave (time off) requests.

GET
/team_members/{id}/leave_requests
List a team member's leave requests
listTeamMemberLeaveRequests 3 params → 200401404
GET
/leave_requests
List leave requests
listLeaveRequests 2 params → 200401
GET
/leave_requests/{id}
Get a leave request
getLeaveRequest 1 param → 200401404

Schemas 5

The contract defines 5 schemas that model the data the API accepts and returns. The most detailed are LeaveRequest (7 properties), Error (3 properties), Pagination (3 properties), LeaveRequestList (3 properties). Each schema is shown below with its type and property counts.

LeaveRequestList
object
3 properties
Pagination
object
Pagination metadata returned with list responses.
3 properties
LeaveRequestResponse
object
2 properties
LeaveRequest
object
A single leave (time off) request.
7 properties
Error
object
3 properties

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

charliehr-leave-absences-api-openapi.yml Raw ↑

Other APIs CharlieHR publishes across the network.

CharlieHR Company API
CharlieHR Leave Allowances API
CharlieHR Team Members API