WhatsApp +1 844 686 2721
Worldwide
Keys and webhooks

Read and write workspace data, with keys you scope and events we sign.

A REST API under /api/v1 with scoped keys, signed webhooks with retries, cursor paging and an OpenAPI description. On every plan, within its limits.

Sign up free
Scoped keys Signed webhooks OpenAPI description
Public API settingsSaved
Keys Scopes Webhooks Limits
API keys

Give each system its own key, named after it. Set its scopes, an expiry and the addresses it may be used from. Revoking a key stops it at once.

Keys detailSynced
CONTROL SURFACE

API settings decide what each system may touch.

Every view stays structured and reviewable — nothing hides behind a tab.

Keys

API keys

Give each system its own key, named after it. Set its scopes, an expiry and the addresses it may be used from. Revoking a key stops it at once.

  • ExpiryUp to 365 days
  • IP allowlistUp to 20 entries
  • ShownOnce

Scopes

Scopes

Scopes are named by resource, read or write: employees, organisation, attendance, leave, payroll, expenses, documents and more. Sensitive employee fields have a scope of their own.

  • Shaperesource:read
  • PayrollRead only
  • Sensitive fieldsSeparate scope

Webhooks

Webhook endpoints

An endpoint is an https URL and the events it wants, or none ticked to receive every event. It receives nothing until a test succeeds.

  • URLhttps
  • EventsChosen, or all
  • Rotation24 hours of overlap

Limits

Limits by plan

Each plan sets the requests a minute and how many keys a workspace may hold. Every response says the limit and what is left, and a refused request says when to retry.

  • Starter60 a minute, 2 keys
  • Growth300 a minute, 10 keys
  • Enterprise1,000 a minute, no key limit
BUILT FOR CONTROL

Details that make public API dependable.

01

OpenAPI description

The API is described at /api/v1/openapi.json, readable without a key, and the reference is at developers.operentra.com.

02

Cursor paging

Lists are paged by cursor: 25 records a page unless you ask for more, 100 at most, and a next_cursor to continue.

03

Safe retries

Send an Idempotency-Key with a POST, and a retry returns the first answer instead of creating the record twice.

04

Errors a program can read

Errors are problem+json with a stable code, a request ID and, for a validation error, the fields at fault.

05

Delivery history

Every delivery attempt is listed with its status, the error and the response, kept for 30 days. One can be sent again by hand.

06

Usage on the keys page

Requests and the error rate of the last seven days, failed requests by error code, and when each key was last used.

THE FOUNDATION

Public API workflows that stay connected.

A REST API under /api/v1 with scoped keys, signed webhooks with retries, cursor paging and an OpenAPI description. On every plan, within its limits.

01

Keys that do only what you grant

A key carries a name, scopes, an expiry and an optional IP allowlist. It is shown once and stored only as a hash. A scope for writing does not include reading.

02

Events from the change itself

Webhooks tell your systems when something changes, so they do not have to poll. A leave application approved in the app sends the same event as one approved through the API.

03

The plan decides the data, the scope decides the key

A key may hold a scope for a module the plan lacks. Those requests are refused with an error that names the feature, and they work once the plan includes it.

ONE DELIVERY

A webhook you can verify before you trust it.

This is a leave.requested event as it arrives at your endpoint: the headers, then the JSON body. The signature shown is the real one for this secret, timestamp and body, so you can check your own code against it.

POST https://hr-sync.northwindlabs.example/operentra
Content-Type
application/json
User-Agent
Operentra-Webhooks/1.0
Operentra-Event
leave.requested
Operentra-Delivery
0c9f6c1e-5b7a-4e0e-9d55-3a1f4b7c2d10
Operentra-Timestamp
1796117407
Operentra-Signature
t=1796117407,v1=db93f9fa8363711813f41207e743a659a84f4760eb49823bc83c9d031a48fc7f
Body
{
  "id": "0c9f6c1e-5b7a-4e0e-9d55-3a1f4b7c2d10",
  "type": "leave.requested",
  "data": {
    "id": "7d2b0a34-91c6-4f58-b3e2-6a0c5d1e8f21",
    "hours": null,
    "object": "leave_application",
    "reason": "Family visit",
    "status": "pending",
    "to_date": "2026-12-09",
    "from_date": "2026-12-08",
    "created_at": "2026-12-01T09:30:05.000Z",
    "total_days": "2.0",
    "updated_at": "2026-12-01T09:30:05.000Z",
    "approved_at": null,
    "employee_id": "b41e7c90-2f3d-4a86-9c17-5e8d0f6a3b72",
    "is_half_day": false,
    "cancelled_at": null,
    "half_day_type": null,
    "leave_type_id": "3a6f9d12-c485-4b07-8e31-d27a9b0c4e65",
    "fiscal_year_id": "e58c1b47-06a9-4d3f-a2b5-9f31c7d08e46",
    "rejection_reason": null,
    "cancellation_reason": null
  }
}

Indented here to read. It is sent and signed as one line, with no spaces or line breaks.

To verify a delivery

  1. Keep the body exactly as it arrivedUse the raw bytes, before any JSON parsing.
  2. Join the timestamp and the body with a full stopThe timestamp is the t value in the signature header.
  3. Compute HMAC-SHA256 of that with the signing secret, as hexFor this example the result is the v1 value shown.
  4. Compare it with each v1 value in the headerFor 24 hours after a secret is rotated the header carries two: one for the new secret, one for the old.
  5. Refuse a timestamp outside your toleranceFive minutes is a common choice. It stops a captured request from being sent again later.

Signing secret for this examplewhsec_EXAMPLEdoNotUse0123456789abcdefA

Full referencedevelopers.operentra.com

If your endpoint does not answer with a 2xx status

  1. Attempt 1At once
  2. Attempt 21 minute later
  3. Attempt 35 minutes later
  4. Attempt 430 minutes later
  5. Attempt 52 hours later
  6. Attempt 65 hours later
  7. Attempt 710 hours later
  8. Attempt 820 hours later

Each wait is counted from the attempt before it. Your endpoint has 10 seconds to answer, and a redirect is not followed. After 20 failures in a row the endpoint is switched off until a test succeeds.

CONNECTED BY DESIGN

Public API works with the rest of HRM.

  • HR Desk
  • Approval Flows
  • Payroll
  • Attendance
  • People Analytics
COMMON QUESTIONS

What HR teams usually ask about public API.

Every plan, within its limits on requests a minute and keys. A resource that belongs to a module needs a plan with that module.

Compute the signature from the timestamp, the raw body and the endpoint's signing secret, and compare it with the Operentra-Signature header.

The delivery is tried eight times over about a day and a half. After 20 failures in a row the endpoint is switched off until a test succeeds.

Operentra HRM / Public API

See how public API fits your HR operation.

Map your current workflow to the right HRM setup, permissions and rollout plan.