Developer Portal

Typed SDK, webhooks, and OpenAPI for extending AtlasHR.

@atlashr/sdk

Install from the monorepo workspace and create a typed client:

import { createAtlasClient } from '@atlashr/sdk';

const client = createAtlasClient({
  baseUrl: 'https://api.example.com/api/v1',
  token: process.env.ATLASHR_TOKEN,
});

const console = await client.admin.getConsole();
const forms = await client.forms.list();
await client.approvals.start(definitionId, {
  subjectType: 'leave_request',
  subjectId: '...',
  context: { amount: 3 },
});

OpenAPI

Full REST surface documented at /api/docs (NestJS Swagger).