openapi: 3.1.0 info: title: Breathe HR REST Absences Account API description: Breathe HR is a UK SMB HRIS. The REST API exposes employees, absences, holidays, sicknesses, and account resources as JSON over HTTP. Requests authenticate with an X-API-KEY header containing the per-account token generated under Configure > API Settings. version: v1 contact: name: Breathe HR Developer url: https://developer.breathehr.com/ servers: - url: https://api.breathehr.com/v1 description: Production - url: https://api.sandbox.breathehr.com/v1 description: Sandbox security: - ApiKeyAuth: [] tags: - name: Account paths: /accounts: get: summary: List accounts operationId: listAccounts tags: - Account responses: '200': description: Accounts content: application/json: schema: type: array items: $ref: '#/components/schemas/Account' components: schemas: Account: type: object properties: id: type: integer name: type: string plan: type: string securitySchemes: ApiKeyAuth: type: apiKey in: header name: X-API-KEY