Skip to content

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.

objectstring

Always hr_change.

idstring
file{id, name}

Whose file it's on.

fromstring

The day it applies from, YYYY-MM-DD.

statusstring

scheduled (waiting for its day), applied, cancelled or failed (it couldn't apply on its day).

reasonstring

Why: Promotion, Pay review, Correction…

changesarray of stringsor null

What it changes: job_title, department, manager, work_location, working_pattern, employment, holiday_policy, pay.

employmentstringor null

The kind of employment it changes to, if it does.

payobjector null

The pay it changes to: only for keys whose person sees pay, else null.

amountinteger
currencystring
periodstring

What the amount is for: a year, a month, a week, a day or an hour.

created_by{id, name}or null
urlstring
created_attime
The hr change object
{
"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_idstring

Only this file's changes.

statusstring

One of scheduled, applied, cancelled, failed.

limitinteger

How many to return, 1 to 100. Default 25.

cursorstring

next_cursor from the previous page.

Returns

A list of hr changes.

GET /hr_changes
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.

Path

idstringrequired

The hr change's ID.

Returns

The hr change.

GET /hr_changes/{id}
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.

objectstring

Always hr_file.

idstring
member{id, name}or null

Their member in the workspace: null for a joiner who hasn't accepted their invite.

namestring
emailstringor null

Their work email, once they're a member.

statusstring

joining (before their first day), here, leaving (a last day is planned) or left.

job_titlestring
department{id, name}or null
manager{id, name}or null
start_datestringor null

Their first day, YYYY-MM-DD.

employmentstring

The kind of employment.

One of employee, fixed_term, part_time, apprentice, intern, contractor, casual.

continuous_fromstringor null

When their continuous employment started, YYYY-MM-DD, if it isn't their start date.

probation_endstringor null

When their probation ends, YYYY-MM-DD, while it's still to pass.

probation_passed_ondateor null

When they passed their probation, YYYY-MM-DD.

fixed_term_endstringor null
work_placestring

Where they work: an office's name, home, or empty.

payroll_idstring

Their payroll ID, for those who see HR files.

last_daystringor null

Their last working day, YYYY-MM-DD, once their leaving is recorded.

left_ondateor null

When they left, YYYY-MM-DD.

payobjector null

Their pay now: only for keys whose person sees pay, else null.

amountinteger
currencystring
periodstring

What the amount is for: a year, a month, a week, a day or an hour.

urlstring
created_attime
updated_attime
The hr file object
{
"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

statusstring

Only those who stand there.

One of joining, here, leaving, left.

department_idstring

Only those in this department (a team's ID).

manager_idstring

Only those who report to this member, or me.

limitinteger

How many to return, 1 to 100. Default 25.

cursorstring

next_cursor from the previous page.

sortstring

created_at (the default: in the order they were made) or updated_at (by when they last changed).

orderstring

desc (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_sincetime

Only what changed at or after this time (RFC 3339, e.g. 2026-11-06T09:00:00Z): for polling.

Returns

A list of hr files.

GET /hr_files
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.

Path

idstringrequired

The hr file's ID.

Returns

The hr file.

GET /hr_files/{id}
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.

objectstring

Always leaver.

idstring
file{id, name}
member{id, name}or null
notice_givenstringor null

When they gave notice, YYYY-MM-DD.

last_daystring

Their last working day, YYYY-MM-DD.

ends_ondate

When their employment ends, YYYY-MM-DD: the same, unless holiday or time at home comes last.

reasonstring

One of resigned, end_of_contract, redundancy, dismissed, retired, other.

welcome_backbooleanor null

Whether they'd be welcome back: for those who see HR files.

statusstring

planned (still to come), done or cancelled (they're staying).

urlstring
created_attime
The leaver object
{
"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

statusstring

One of planned, done, cancelled.

limitinteger

How many to return, 1 to 100. Default 25.

cursorstring

next_cursor from the previous page.

Returns

A list of leavers.

GET /leavers
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.

Path

idstringrequired

The leaver's ID.

Returns

The leaver.

GET /leavers/{id}
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.

objectstring

Always review.

idstring
person{id, name}

Whose review it is: their HR file.

member{id, name}or null
titlestring
kindstring

One of probation, annual, quarterly, exit, review.

reviewer{id, name}or null
due_ondateor null

YYYY-MM-DD.

statusstring

open (being written or talked through), done (finished by the reviewer) or acknowledged (by the person).

stagestring

writing, talking (both parts are in), done or acknowledged.

outcomestringor null

A probation review's outcome, once it's done.

One of passed, extended, not_passed.

extended_tostringor null

An extended probation's new end, YYYY-MM-DD.

round_idstringor null

The round it's part of, if any.

done_attimeor null
acknowledged_attimeor null
urlstring
created_attime
updated_attime
The review object
{
"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

statusstring

One of open, done, acknowledged.

kindstring

One of probation, annual, quarterly, exit, review.

file_idstring

Only this file's reviews.

limitinteger

How many to return, 1 to 100. Default 25.

cursorstring

next_cursor from the previous page.

sortstring

created_at (the default: in the order they were made) or updated_at (by when they last changed).

orderstring

desc (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_sincetime

Only what changed at or after this time (RFC 3339, e.g. 2026-11-06T09:00:00Z): for polling.

Returns

A list of reviews.

GET /reviews
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.

Path

idstringrequired

The review's ID.

Returns

The review.

GET /reviews/{id}
curl https://app.mavatu.com/api/v1/reviews/rev_01jfs7r2m5q9t3w6y0b4d8g1kn \
-H "Authorization: Bearer $MAVATU_API_KEY"