HR
People's jobs and dates, joiners and leavers, changes from a date and reviews: for setting up and closing accounts elsewhere, and reports. Every request needs an API key; the examples read it from $MAVATU_API_KEY. How lists, dates, money and errors work is in the API guide.
The hr change object
A change to someone's job from a date: a new title, department, manager, hours, kind of employment or pay, why, and whether it's applied yet.
objectstringAlways hr_change.
idstringfile{id, name}Whose file it's on.
fromstringThe day it applies from, YYYY-MM-DD.
statusstringscheduled (waiting for its day), applied, cancelled or failed (it couldn't apply on its day).
reasonstringWhy: Promotion, Pay review, Correction…
changesarray of stringsor nullWhat it changes: job_title, department, manager, work_location, working_pattern, employment, holiday_policy, pay.
employmentstringor nullThe kind of employment it changes to, if it does.
payobjector nullThe pay it changes to: only for keys whose person sees pay, else null.
amountintegercurrencystringperiodstringWhat the amount is for: a year, a month, a week, a day or an hour.
created_by{id, name}or nullurlstringcreated_attime
{ "object": "hr_change", "id": "hrc_01jfq3m8x2b6n9d4t7w1z5c0hk", "file": { "id": "hrf_01jfm2a9c3g7k0p4t8x1b5f9jq", "name": "Maisie Thornbury" }, "from": "2027-04-01", "status": "scheduled", "reason": "Pay review", "changes": [ "pay" ], "employment": null, "pay": { "amount": 3400000, "currency": "GBP", "period": "year" }, "created_by": { "id": "mem_01jcg4n8r2v6z0d3h7k1p5t9wb", "name": "Martin Kowalski" }, "url": "https://app.mavatu.com/kettle-kite/people/mem_01jfm2k7q4w8z1c5f9h3n6r0tx?tab=hr.job", "created_at": "2027-03-20T14:02:51Z"}List changes
GET/hr_changes
Changes to people's jobs from a date (a new title, department, manager, hours, kind of employment or pay), newest first. Filter by file or status.
Filters and paging
file_idstringOnly this file's changes.
statusstringOne of
scheduled,applied,cancelled,failed.limitintegerHow many to return, 1 to 100. Default 25.
cursorstringnext_cursor from the previous page.
Returns
curl "https://app.mavatu.com/api/v1/hr_changes?status=scheduled" \ -H "Authorization: Bearer $MAVATU_API_KEY"Get a change
GET/hr_changes/{id}
One change from a date: what it changes, from when, why, and whether it's applied yet.
curl https://app.mavatu.com/api/v1/hr_changes/hrc_01jfq3m8x2b6n9d4t7w1z5c0hk \ -H "Authorization: Bearer $MAVATU_API_KEY"The hr file object
Someone's HR file, as far as setting up and closing their accounts elsewhere needs: their job, department, manager and dates. Pay only for keys whose person sees pay; never personal details, documents or notes.
objectstringAlways hr_file.
idstringmember{id, name}or nullTheir member in the workspace: null for a joiner who hasn't accepted their invite.
namestringemailstringor nullTheir work email, once they're a member.
statusstringjoining (before their first day), here, leaving (a last day is planned) or left.
job_titlestringdepartment{id, name}or nullmanager{id, name}or nullstart_datestringor nullTheir first day, YYYY-MM-DD.
employmentstringThe kind of employment.
One of
employee,fixed_term,part_time,apprentice,intern,contractor,casual.continuous_fromstringor nullWhen their continuous employment started, YYYY-MM-DD, if it isn't their start date.
probation_endstringor nullWhen their probation ends, YYYY-MM-DD, while it's still to pass.
probation_passed_ondateor nullWhen they passed their probation, YYYY-MM-DD.
fixed_term_endstringor nullwork_placestringWhere they work: an office's name, home, or empty.
payroll_idstringTheir payroll ID, for those who see HR files.
last_daystringor nullTheir last working day, YYYY-MM-DD, once their leaving is recorded.
left_ondateor nullWhen they left, YYYY-MM-DD.
payobjector nullTheir pay now: only for keys whose person sees pay, else null.
amountintegercurrencystringperiodstringWhat the amount is for: a year, a month, a week, a day or an hour.
urlstringcreated_attimeupdated_attime
{ "object": "hr_file", "id": "hrf_01jfm2a9c3g7k0p4t8x1b5f9jq", "member": { "id": "mem_01jfm2k7q4w8z1c5f9h3n6r0tx", "name": "Maisie Thornbury" }, "name": "Maisie Thornbury", "email": "maisie@kettleandkite.co.uk", "status": "here", "job_title": "Junior developer", "department": { "id": "grp_01jcp6x0b3f7k1n5r9v2y6c0gm", "name": "Development" }, "manager": { "id": "mem_01jcd8t2w6y0b4f7j1m5q9s3vx", "name": "Ewan Fraser" }, "start_date": "2027-03-02", "employment": "employee", "continuous_from": null, "probation_end": "2027-09-01", "probation_passed_on": null, "fixed_term_end": null, "work_place": "Bristol studio", "payroll_id": "KK0052", "last_day": null, "left_on": null, "pay": { "amount": 3200000, "currency": "GBP", "period": "year" }, "url": "https://app.mavatu.com/kettle-kite/people/mem_01jfm2k7q4w8z1c5f9h3n6r0tx?tab=hr.job", "created_at": "2027-02-12T10:31:08Z", "updated_at": "2027-03-02T07:00:12Z"}List HR files
GET/hr_files
Everyone with an HR file, newest first: their job, department, manager and dates, joiners before they start and those who've left. Filter by status, department or manager. Pay is there only for keys whose person sees pay.
Filters and paging
statusstringOnly those who stand there.
One of
joining,here,leaving,left.department_idstringOnly those in this department (a team's ID).
manager_idstringOnly those who report to this member, or me.
limitintegerHow many to return, 1 to 100. Default 25.
cursorstringnext_cursor from the previous page.
sortstringcreated_at (the default: in the order they were made) or updated_at (by when they last changed).
orderstringdesc (the default: newest first) or asc (oldest first). To sync everything that changed, use sort=updated_at&order=asc with updated_since: what changes while you page through comes again at the end.
updated_sincetimeOnly what changed at or after this time (RFC 3339, e.g. 2026-11-06T09:00:00Z): for polling.
Returns
curl "https://app.mavatu.com/api/v1/hr_files?status=joining" \ -H "Authorization: Bearer $MAVATU_API_KEY"Get an HR file
GET/hr_files/{id}
One person's HR file: their job and its dates, for setting up and closing their accounts elsewhere. Never personal details, documents or notes.
curl https://app.mavatu.com/api/v1/hr_files/hrf_01jfm2a9c3g7k0p4t8x1b5f9jq \ -H "Authorization: Bearer $MAVATU_API_KEY"The leaver object
Someone leaving, or who's left: when they gave notice, their last working day, when their employment ends and why.
objectstringAlways leaver.
idstringfile{id, name}member{id, name}or nullnotice_givenstringor nullWhen they gave notice, YYYY-MM-DD.
last_daystringTheir last working day, YYYY-MM-DD.
ends_ondateWhen their employment ends, YYYY-MM-DD: the same, unless holiday or time at home comes last.
reasonstringOne of
resigned,end_of_contract,redundancy,dismissed,retired,other.welcome_backbooleanor nullWhether they'd be welcome back: for those who see HR files.
statusstringplanned (still to come), done or cancelled (they're staying).
urlstringcreated_attime
{ "object": "leaver", "id": "hrl_01jfr5p0k3c7m1v9x2b6n4d8th", "file": { "id": "hrf_01jc4w8r2m6p0t3v7y1b5d9gkx", "name": "Wren Abbott" }, "member": { "id": "mem_01jc3e28jt97kb6cq643dzvmxx", "name": "Wren Abbott" }, "notice_given": "2027-05-28", "last_day": "2027-06-25", "ends_on": "2027-06-30", "reason": "resigned", "welcome_back": true, "status": "planned", "url": "https://app.mavatu.com/kettle-kite/people/mem_01jc3e28jt97kb6cq643dzvmxx?tab=hr.job", "created_at": "2027-05-28T16:20:44Z"}List leavers
GET/leavers
People leaving and who've left, newest first: when they gave notice, their last working day, when their employment ends and why they left.
Filters and paging
statusstringOne of
planned,done,cancelled.limitintegerHow many to return, 1 to 100. Default 25.
cursorstringnext_cursor from the previous page.
Returns
curl "https://app.mavatu.com/api/v1/leavers?status=planned" \ -H "Authorization: Bearer $MAVATU_API_KEY"Get a leaver
GET/leavers/{id}
One person's leaving: their notice, last working day, when their employment ends and why.
curl https://app.mavatu.com/api/v1/leavers/hrl_01jfr5p0k3c7m1v9x2b6n4d8th \ -H "Authorization: Bearer $MAVATU_API_KEY"The review object
A review or probation review: whose, who reviews it, when it's due, where it stands and, for a probation, its outcome. Never what anyone wrote.
objectstringAlways review.
idstringperson{id, name}Whose review it is: their HR file.
member{id, name}or nulltitlestringkindstringOne of
probation,annual,quarterly,exit,review.reviewer{id, name}or nulldue_ondateor nullYYYY-MM-DD.
statusstringopen (being written or talked through), done (finished by the reviewer) or acknowledged (by the person).
stagestringwriting, talking (both parts are in), done or acknowledged.
outcomestringor nullA probation review's outcome, once it's done.
One of
passed,extended,not_passed.extended_tostringor nullAn extended probation's new end, YYYY-MM-DD.
round_idstringor nullThe round it's part of, if any.
done_attimeor nullacknowledged_attimeor nullurlstringcreated_attimeupdated_attime
{ "object": "review", "id": "rev_01jfs7r2m5q9t3w6y0b4d8g1kn", "person": { "id": "hrf_01jfm2a9c3g7k0p4t8x1b5f9jq", "name": "Maisie Thornbury" }, "member": { "id": "mem_01jfm2k7q4w8z1c5f9h3n6r0tx", "name": "Maisie Thornbury" }, "title": "Probation", "kind": "probation", "reviewer": { "id": "mem_01jcd8t2w6y0b4f7j1m5q9s3vx", "name": "Ewan Fraser" }, "due_on": "2027-08-25", "status": "done", "stage": "done", "outcome": "passed", "extended_to": null, "round_id": null, "done_at": "2027-08-24T15:12:09Z", "acknowledged_at": null, "url": "https://app.mavatu.com/kettle-kite/hr/reviews/rev_01jfs7r2m5q9t3w6y0b4d8g1kn", "created_at": "2027-07-21T06:00:03Z", "updated_at": "2027-08-24T15:12:09Z"}List reviews
GET/reviews
Reviews and probation reviews, newest first: whose, who reviews it, when it's due and where it stands. Never what anyone wrote.
Filters and paging
statusstringOne of
open,done,acknowledged.kindstringOne of
probation,annual,quarterly,exit,review.file_idstringOnly this file's reviews.
limitintegerHow many to return, 1 to 100. Default 25.
cursorstringnext_cursor from the previous page.
sortstringcreated_at (the default: in the order they were made) or updated_at (by when they last changed).
orderstringdesc (the default: newest first) or asc (oldest first). To sync everything that changed, use sort=updated_at&order=asc with updated_since: what changes while you page through comes again at the end.
updated_sincetimeOnly what changed at or after this time (RFC 3339, e.g. 2026-11-06T09:00:00Z): for polling.
Returns
curl "https://app.mavatu.com/api/v1/reviews?kind=probation&status=open" \ -H "Authorization: Bearer $MAVATU_API_KEY"Get a review
GET/reviews/{id}
One review: whose, who reviews it, when it's due, where it stands and, for a probation review, its outcome. Never what anyone wrote.
curl https://app.mavatu.com/api/v1/reviews/rev_01jfs7r2m5q9t3w6y0b4d8g1kn \ -H "Authorization: Bearer $MAVATU_API_KEY"