/api/v1/meGet the signed-in user
Returns the user the key acts for, and what the key is allowed to do.
Needs profile:read
curl -H "Authorization: Bearer $HUMANX_KEY" \
"https://humanx.life/api/v1/me"HumanX API v1
Anything you can do in the app, an authorised tool can do through the API, with the same permissions. Plain JSON over HTTPS, one key, and you choose exactly what the key may touch.
export HUMANX_KEY=hx_live_...
curl -H "Authorization: Bearer $HUMANX_KEY" \
https://humanx.life/api/v1/me{
"data": {
"id": "5b7a0f3e-...",
"first_name": "Rudo",
"country_code": "ZW",
"currency": "USD",
"household_id": "9c1d2e4a-...",
"auth": { "type": "api_key", "full_access": false, "scopes": ["tasks:write"] }
}
}Send Authorization: Bearer hx_live_... on every request. A key acts as the person who created it, so it can only see and change what that person can. If their access shrinks, the key's access shrinks with it, on the very next request.
401 unauthenticated.Every key has either Full access, which means everything you can do including things we add later, or a chosen set of permissions. Each permission is None, Read, or Read and write. Write always includes read. A key that lacks a permission gets 403 insufficient_scope naming the one it needs.
Permissions marked Sensitive cover children's data, documents and payments. You confirm them when you create the key.
| Permission | What it allows |
|---|---|
profile:read | See your name, country, currency and settings. |
profile:write | Change your name, country, currency and settings. |
people:read | See the people in your household, including children, and their birth dates. |
people:writeSensitive | Add, change or remove people in your household, including children. |
| Permission | What it allows |
|---|---|
schools:read | Search schools and read their public profiles and fees. |
requirements:read | Read fee schedules and school lists for each grade. |
requirements:write | Create or change fee schedules and school lists. |
checklists:read | See your back-to-school checklists and every item on them. |
checklists:write | Tick items off, mark them as already owned, or reset them. |
| Permission | What it allows |
|---|---|
expenses:read | See the expenses you have recorded. |
expenses:write | Record new expenses. |
| Permission | What it allows |
|---|---|
calendar:read | See your family calendar events. |
calendar:write | Add and change calendar events. |
tasks:read | See your tasks and their due dates. |
tasks:write | Add tasks, change them and mark them done. |
waitlist:write | Join the waitlist for modules that are coming soon. |
JSON in and out, snake_case fields, ISO 8601 UTC dates, UUID ids. Money is { "amount_minor": 45000, "currency": "USD" }, where minor units are cents.
Lists take page and page_size (up to 100, default 25) and return:
{ "data": [ ... ], "page": 1, "page_size": 25, "total": 112 }Sort with a comma list, minus for descending, from the fields each endpoint allows. Filter with filter[field]=value. Several values are comma separated. Dates and times also take [gte] and [lte].
curl -H "Authorization: Bearer $HUMANX_KEY" \
"https://humanx.life/api/v1/expenses?sort=-occurred_on&filter[category]=fees,uniform&filter[occurred_on][gte]=2027-01-01"60 requests a minute per key. Every response carries RateLimit-Limit, RateLimit-Remaining and RateLimit-Reset. Over the limit you get 429 with Retry-After.
Every response has an X-Request-Id. Quote it if you contact us.
Errors are RFC 9457 problem documents with the content type application/problem+json. Branch on code, which is stable. Show detail to people.
HTTP/1.1 403 Forbidden
Content-Type: application/problem+json
{
"type": "https://humanx.life/problems/insufficient-scope",
"title": "Insufficient scope",
"status": 403,
"code": "insufficient_scope",
"detail": "This key needs the tasks:write permission.",
"required_scope": "tasks:write",
"request_id": "0b9c..."
}| Code | Status | Meaning |
|---|---|---|
unauthenticated | 401 | Authentication required |
insufficient_scope | 403 | Insufficient scope |
forbidden | 403 | Forbidden |
not_found | 404 | Not found |
validation_failed | 422 | Validation failed |
rate_limited | 429 | Too many requests |
internal_error | 500 | Something went wrong |
Validation errors add an errors list of { field, code, message }.
All paths are under https://humanx.life/api/v1. This list is generated from the same table the API runs on.
/api/v1/meGet the signed-in user
Returns the user the key acts for, and what the key is allowed to do.
Needs profile:read
curl -H "Authorization: Bearer $HUMANX_KEY" \
"https://humanx.life/api/v1/me"/api/v1/peopleList people in your household
Needs people:read
Paginated. Sort: first_name, created_at, birth_date. Filter: relationship.
curl -H "Authorization: Bearer $HUMANX_KEY" \
"https://humanx.life/api/v1/people?page=1&page_size=25"/api/v1/peopleAdd a person to your household
Sensitive. Needs people:write, which is marked sensitive because it covers children's data.
Needs people:write
| Field | Type | Required |
|---|---|---|
first_name | string | Yes |
last_name | string | No |
relationship | child | partner | parent | grandparent | sibling | ward | other | Yes |
birth_date | string | No |
birth_year | integer | No |
curl -X POST -H "Authorization: Bearer $HUMANX_KEY" \
-H "Content-Type: application/json" \
-d '{"first_name":"Tendai","relationship":"child","birth_year":2016}' \
"https://humanx.life/api/v1/people"/api/v1/schoolsSearch schools
Published schools. Fee ranges are the compulsory annual total from published requirement sets.
Needs schools:read
Paginated. Search with q. Sort: name, city, last_verified_at. Filter: province, city, level, curriculum, ownership_type, boarding.
curl -H "Authorization: Bearer $HUMANX_KEY" \
"https://humanx.life/api/v1/schools?page=1&page_size=25"/api/v1/schools/{id}Get a school
Needs schools:read
curl -H "Authorization: Bearer $HUMANX_KEY" \
"https://humanx.life/api/v1/schools/<id>"/api/v1/schools/{id}/requirement-setsList a school's published fee schedules and school lists
Needs requirements:read
Paginated. Sort: academic_year, version. Filter: academic_year, boarding_variant.
curl -H "Authorization: Bearer $HUMANX_KEY" \
"https://humanx.life/api/v1/schools/<id>/requirement-sets?page=1&page_size=25"/api/v1/checklistsList your checklists
Needs checklists:read
Paginated. Sort: created_at, academic_year. Filter: person_id, academic_year.
curl -H "Authorization: Bearer $HUMANX_KEY" \
"https://humanx.life/api/v1/checklists?page=1&page_size=25"/api/v1/checklists/{id}/itemsList the items on a checklist
Needs checklists:read
Paginated. Sort: sort_order, title, due_date. Filter: status, group.
curl -H "Authorization: Bearer $HUMANX_KEY" \
"https://humanx.life/api/v1/checklists/<id>/items?page=1&page_size=25"/api/v1/checklist-items/{id}Change a checklist item's status
Needs checklists:write
| Field | Type | Required |
|---|---|---|
status | todo | done | have_it | not_needed | Yes |
curl -X PATCH -H "Authorization: Bearer $HUMANX_KEY" \
-H "Content-Type: application/json" \
-d '{"status":"done"}' \
"https://humanx.life/api/v1/checklist-items/<id>"/api/v1/expensesList expenses
Needs expenses:read
Paginated. Sort: occurred_on, amount_minor, created_at. Filter: category, person_id, academic_year, term, occurred_on.
curl -H "Authorization: Bearer $HUMANX_KEY" \
"https://humanx.life/api/v1/expenses?page=1&page_size=25"/api/v1/expensesRecord an expense
Needs expenses:write
| Field | Type | Required |
|---|---|---|
description | string | Yes |
category | fees | uniform | stationery | textbooks | boarding | other | Yes |
amount_minor | integer | Yes |
currency | string | No |
occurred_on | string | Yes |
person_id | uuid | No |
term | integer | No |
academic_year | integer | No |
payment_method | string | No |
curl -X POST -H "Authorization: Bearer $HUMANX_KEY" \
-H "Content-Type: application/json" \
-d '{"description":"Term 1 fees","category":"fees","amount_minor":45000,"currency":"USD","occurred_on":"2027-01-12"}' \
"https://humanx.life/api/v1/expenses"/api/v1/calendar/eventsList calendar events
Needs calendar:read
Paginated. Sort: starts_at, created_at. Filter: person_id, starts_at.
curl -H "Authorization: Bearer $HUMANX_KEY" \
"https://humanx.life/api/v1/calendar/events?page=1&page_size=25"/api/v1/calendar/eventsAdd a calendar event
Needs calendar:write
| Field | Type | Required |
|---|---|---|
title | string | Yes |
starts_at | date-time | Yes |
ends_at | date-time | No |
all_day | boolean | No |
location | string | No |
notes | string | No |
person_id | uuid | No |
curl -X POST -H "Authorization: Bearer $HUMANX_KEY" \
-H "Content-Type: application/json" \
-d '{"title":"Open day","starts_at":"2027-02-05T08:00:00+02:00"}' \
"https://humanx.life/api/v1/calendar/events"/api/v1/tasksList tasks
Needs tasks:read
Paginated. Sort: due_at, created_at, title. Filter: status, person_id, due_at.
curl -H "Authorization: Bearer $HUMANX_KEY" \
"https://humanx.life/api/v1/tasks?page=1&page_size=25"/api/v1/tasksAdd a task
Needs tasks:write
| Field | Type | Required |
|---|---|---|
title | string | Yes |
notes | string | No |
due_at | date-time | No |
person_id | uuid | No |
curl -X POST -H "Authorization: Bearer $HUMANX_KEY" \
-H "Content-Type: application/json" \
-d '{"title":"Buy school shoes","due_at":"2027-01-08T00:00:00Z"}' \
"https://humanx.life/api/v1/tasks"/api/v1/tasks/{id}Change a task or mark it done
Needs tasks:write
| Field | Type | Required |
|---|---|---|
title | string | No |
notes | any | No |
due_at | any | No |
status | open | done | No |
curl -X PATCH -H "Authorization: Bearer $HUMANX_KEY" \
-H "Content-Type: application/json" \
-d '{"status":"done"}' \
"https://humanx.life/api/v1/tasks/<id>"/api/v1/waitlistJoin or leave a module waitlist
Needs waitlist:write
| Field | Type | Required |
|---|---|---|
module_key | string | Yes |
joined | boolean | No |
curl -X POST -H "Authorization: Bearer $HUMANX_KEY" \
-H "Content-Type: application/json" \
-d '{"module_key":"health"}' \
"https://humanx.life/api/v1/waitlist"/api/v1/modulesList HumanX modules and their status
Live and coming-soon modules. Coming-soon modules accept waitlist sign-ups.
Needs any valid key
curl -H "Authorization: Bearer $HUMANX_KEY" \
"https://humanx.life/api/v1/modules"/api/v1/openapi.jsonThis OpenAPI 3.1 document
Needs no key
The full contract is an OpenAPI 3.1 document at /api/v1/openapi.json. Import it into Postman, Insomnia or a code generator.