WasaaHRM Open API · v1

Build integrations
with the HRM API

Connect your payroll systems, HRIS tools, and custom apps to WasaaHRM. Authenticate with API keys, stream events via webhooks, and explore full documentation.

40+

API Endpoints

12

Webhook Events

<100ms

Avg Latency

99.9%

Uptime SLA

Everything you need

A complete developer experience built into WasaaHRM

Quickstart

1

Sign in to the Developer Portal with your tenant admin credentials

2

Create an API key and select the scopes your integration needs

3

Call the WasaaHRM API with Authorization: Bearer <your_key> and X-Tenant-ID headers

4

Register a webhook endpoint to receive real-time employee and payroll events

// Install: npm install axios

const axios = require('axios')

const client = axios.create({
  baseURL: 'https://api.wasaahrm.com/api/v1',
  headers: {
    'Authorization': 'Bearer whrm_abc123_••••••••••••',
    'X-Tenant-ID': 'your-tenant-id',
  },
})

// List employees
const { data } = await client.get('/employees', {
  params: { page: 1, page_size: 20, status: 'active' },
})
console.log(data.data) // Employee[]

// Verify webhook signature
const crypto = require('crypto')
function verifySignature(secret, rawBody, header) {
  const expected = 'sha256=' + crypto
    .createHmac('sha256', secret)
    .update(rawBody)
    .digest('hex')
  return crypto.timingSafeEqual(
    Buffer.from(expected),
    Buffer.from(header)
  )
}

Webhook Events

Subscribe to any combination of these real-time HRM events

employee.created
employee.updated
employee.terminated
leave.requested
leave.approved
leave.rejected
payroll.run.completed
payroll.entry.updated
recruitment.application.created
recruitment.application.status_changed
attendance.checkin
attendance.checkout

Ready to build?

Sign in to the developer portal to create your first API key.

Open Developer Portal