HR API

Bramble HR: the people directory and org chart, time off (requests, approvals, balances, adjustments and dated allowance changes), documents with acknowledgements, and onboarding and leaver checklists. HR policy, leave types and checklist templates are in the Admin Centre API.

Address
https://<your-org>.brambleit.cloud/hr
Sign-in
Signed-in browser session (the sso_session / session_id cookies from Bramble sign-in).
Endpoints
39
OpenAPI
hr.json
Guides
How HR works

Signing in

These endpoints use a signed-in browser session. From your own systems, use Flows webhooks and Bramble steps, or the main API with an API key. See Calling the API.

Who can see and change what. Everyone can see the directory. People can edit some of their own details; HR admins (Global Administrator or HR Admin) can edit everyone's; managers approve time off for anyone below them in the reporting line.

Days. Time off is counted in working days for that person (their work_days), skipping bank holidays and company closures. Half days work when the organisation's HR policy allows them.

Resources

People

The directory, one person's record, new starters, removing people, and emergency contacts.

MethodPathSummary
GET/api/meWho you are: the signed-in person and what they can do here
GET/api/peopleThe directory
GET/api/people/:idGet a person's HR record
PATCH/api/people/:idUpdate a person's HR record
POST/api/peopleNew starter (before their account exists) — HR admins only
DELETE/api/people/:idRemove someone from HR (a mistake, a duplicate, a service account)
POST/api/people/:id/contactsAdd an emergency contact
PUT/api/people/:id/contacts/:cidUpdate an emergency contact
DELETE/api/people/:id/contacts/:cidRemove an emergency contact
GET/api/activityRecent HR activity

Time off

Balances, requests and approvals, previews (how many days a request would use), the team calendar, adjustments, and dated allowance changes.

MethodPathSummary
GET/api/leave/balanceA person's time-off balance
GET/api/leave/requestsList time-off requests
POST/api/leave/previewHow many days a request would use
POST/api/leave/requestsRequest time off
POST/api/leave/requests/:id/decideApprove or decline time off
POST/api/leave/requests/:id/cancelCancel time off
POST/api/leave/adjustmentsAdd or take away days
DELETE/api/leave/adjustments/:idRemove an adjustment
POST/api/leave/allowance-changesFrom a leave year on, someone's allowance is days a year ('set') or days on top of the policy ('extra')
DELETE/api/leave/allowance-changes/:idRemove an allowance change
GET/api/leave/calendarWho's off when
GET/api/leave/typesLeave types

Documents

A person's documents (contracts, right-to-work…) and company documents people must acknowledge. Files are stored encrypted in Bramble.

MethodPathSummary
GET/api/documentsList documents
GET/api/documents/expiringHR: documents expiring in the next 60 days or already expired
POST/api/documentsUpload a document
GET/api/documents/:id/fileDownload a document
PATCH/api/documents/:idUpdate a document's details
DELETE/api/documents/:idDelete a document
POST/api/documents/:id/ackAcknowledge a document
GET/api/documents/:id/acksHR: who has and hasn't acknowledged a company document

Checklists

Onboarding and leaver checklists made from templates, their tasks, and your own open tasks.

MethodPathSummary
GET/api/checklistsList checklists
GET/api/checklists/tasks/mineOpen tasks that are the viewer's to do, across every checklist
GET/api/checklists/templatesChecklist templates
GET/api/checklists/:idGet a checklist
POST/api/checklistsStart a checklist
POST/api/checklists/:id/tasksAdd a task
POST/api/checklists/tasks/:tid/toggleTick or untick a task
DELETE/api/checklists/tasks/:tidDelete a task
DELETE/api/checklists/:idCancel a checklist

Web pages

These return pages for the browser rather than data.

  • GET /
  • GET /sw.js