Work with this as data
Every API here is available over the APIs.io API and to AI agents over MCP.
MCP server
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
Tools for apis
7 MCP tools reach this
find_apisBrowse and filter every API in the catalog.get_api_artifactsOne API's artifacts, grouped by type.get_openapiThe primary OpenAPI for this API.find_similar_apisAPIs that look like this one.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.
Call it yourself
curl for this page
This API
curl "https://apis.io/api/v1/apis/workmotion:workmotion-absences-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.
OpenAPI Specification
openapi: 3.2.0
info:
title: WorkMotion Partner Absences API
description: Partner / Open API for the WorkMotion global employment and Employer of Record (EOR) platform.
termsOfService: https://workmotion.com/terms-and-conditions/
contact:
name: WorkMotion
url: https://workmotion.com/integrations/
version: '1.0'
servers:
- url: https://api.workmotion.com/v1
description: Production (modeled base URL; confirm with partner documentation)
security:
- bearerAuth: []
tags:
- name: Absences
description: Time-off and leave management.
paths:
/absences:
get:
operationId: listAbsences
tags:
- Absences
summary: List absences
parameters:
- name: employeeId
in: query
required: false
schema:
type: string
- $ref: '#/components/parameters/PageParam'
- $ref: '#/components/parameters/PageSizeParam'
responses:
'200':
description: A page of absences.
content:
application/json:
schema:
$ref: '#/components/schemas/AbsenceList'
post:
operationId: createAbsence
tags:
- Absences
summary: Submit an absence request
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/AbsenceCreate'
responses:
'201':
description: Absence request created.
content:
application/json:
schema:
$ref: '#/components/schemas/Absence'
/absences/{absenceId}:
parameters:
- $ref: '#/components/parameters/AbsenceIdParam'
get:
operationId: getAbsence
tags:
- Absences
summary: Retrieve an absence
responses:
'200':
description: The requested absence.
content:
application/json:
schema:
$ref: '#/components/schemas/Absence'
'404':
$ref: '#/components/responses/NotFound'
components:
schemas:
Absence:
type: object
properties:
id:
type: string
employeeId:
type: string
type:
type: string
enum:
- paid_time_off
- sick_leave
- unpaid_leave
- other
startDate:
type: string
format: date
endDate:
type: string
format: date
status:
type: string
enum:
- requested
- approved
- rejected
- cancelled
Error:
type: object
properties:
code:
type: string
message:
type: string
Pagination:
type: object
properties:
page:
type: integer
pageSize:
type: integer
total:
type: integer
AbsenceList:
type: object
properties:
data:
type: array
items:
$ref: '#/components/schemas/Absence'
pagination:
$ref: '#/components/schemas/Pagination'
AbsenceCreate:
type: object
required:
- employeeId
- type
- startDate
- endDate
properties:
employeeId:
type: string
type:
type: string
enum:
- paid_time_off
- sick_leave
- unpaid_leave
- other
startDate:
type: string
format: date
endDate:
type: string
format: date
responses:
NotFound:
description: Resource not found.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
parameters:
PageParam:
name: page
in: query
required: false
schema:
type: integer
minimum: 0
default: 0
AbsenceIdParam:
name: absenceId
in: path
required: true
schema:
type: string
PageSizeParam:
name: pageSize
in: query
required: false
schema:
type: integer
minimum: 1
maximum: 200
default: 50
securitySchemes:
bearerAuth:
type: http
scheme: bearer
bearerFormat: JWT
description: OAuth 2.0 access token supplied as a Bearer token in the Authorization header. Partner credentials are issued by WorkMotion.