Docs
API referencePeople and H R

List a person's employment history

Preview· P9
GET
/people/{person_id}/employment-history

Returns every change to the person's job title, department, position, manager, sites, employment type, contract, contracted hours and grade, and their start and leaving dates, newest first by the day each took effect, a page at a time. Each line says what it was and what it became, in words, with the IDs of a department, position, manager or sites.

Scope: hr:read · Plan: Pro and Enterprise in live mode; every plan in test mode.

Authorization

headerAuthorizationBearer <token>

Send Authorization: Bearer <token> on every request. The token is one of:

PrefixWhat it isWhere it may be used
agoo_sk_live_Secret key, live modeYour servers only
agoo_sk_test_Secret key, test modeYour servers only
agoo_pk_live_Publishable key, live modeBrowsers and apps: create pre-registrations and bookings, read public booking types (with their intake questions) and their free slots, read the visit types open for pre-registration with their public forms. Never lists people.
agoo_pk_test_Publishable key, test modeAs above, in test mode

Admins create keys in Console → Developers → API keys and choose each key's scopes. A key is shown once. Never put a secret key in a URL, a browser or a mobile app.

Scope: hr:read

Path Parameters

person_id*string

The person's ID.

Match^person_[0-7][0-9a-hjkmnp-tv-z]{25}$
Example"person_01kjsesxm0e4zbyvkr7bcfxbfg"

Query Parameters

limit?integer

How many items to return, from 1 to 100.

Range1 <= value <= 100
Default25
cursor?string

The next_cursor from the previous page. Leave it out for the first page.

Lengthlength <= 512

Response Body

The person's employment history.

application/json
  1. response
data*array<>
next_cursor*|

Pass this as cursor to get the next page. null on the last page.

Example"b3BhcXVlLWN1cnNvcg"
has_more*boolean
curl -X GET 'https://api.agoohq.com/v1/people/person_01kjsesxm0e4zbyvkr7bcfxbfg/employment-history?limit=25'
{  "data": [    {      "id": "jobh_01m6j4r8t2v6x0z4b8d2f6h0kn",      "object": "employment_history",      "person_id": "person_01kjw4mg80efgb5aqbsqnxhtbh",      "field": "job_title",      "from": "Operations officer",      "to": "Senior operations officer",      "from_id": null,      "to_id": null,      "effective_on": "2026-11-01",      "source": "change",      "change_id": "pchg_01m6j4p2r6t0v4x8z2b6d0f4hm",      "recorded_at": "2026-11-01T00:05:00Z"    },    {      "id": "jobh_01m6j4r8t2v6x0z4b8d2f6h0kp",      "object": "employment_history",      "person_id": "person_01kjw4mg80efgb5aqbsqnxhtbh",      "field": "position",      "from": null,      "to": "Senior operations officer",      "from_id": null,      "to_id": "pos_01m6h2k4q8e7r9t1v3w5x7y9za",      "effective_on": "2026-11-01",      "source": "change",      "change_id": "pchg_01m6j4p2r6t0v4x8z2b6d0f4hm",      "recorded_at": "2026-11-01T00:05:00Z"    },    {      "id": "jobh_01m6g0b2d4f6h8k0m2p4r6t8vw",      "object": "employment_history",      "person_id": "person_01kjw4mg80efgb5aqbsqnxhtbh",      "field": "started_on",      "from": null,      "to": "2021-06-14",      "from_id": null,      "to_id": null,      "effective_on": "2021-06-14",      "source": "backfill",      "change_id": null,      "recorded_at": "2026-10-19T08:00:00Z"    }  ],  "next_cursor": null,  "has_more": false}