Skip to content

API reference

API: People

Markdown version

MethodPathWhat it doesScope
GET/v1/work/peopleEveryone who does the work. Rates and pay show only to people who may see thempeople:read
POST/v1/work/peopleAdd someone who does work. They aren't emailed; invite them when you want them to sign inpeople:write
GET/v1/work/people/:idOne person, with the history of their rates (only what you may see)people:read
PATCH/v1/work/people/:idCorrect someone's details or hours, or archive them (their time stays)people:write
PUT/v1/work/people/:id/rates/:kindSet what someone's hour bills at, or costs, from a day on. Time already on an invoice never changespeople:write
DELETE/v1/work/people/:id/rates/:rate_idRemove a rate that was set by mistakepeople:write
GET/v1/work/people/accessWhich person you are, and what you may see and dopeople:read
DELETE/v1/work/people/chatStop posting to the channel, and forget its address (web app only)people:write
GET/v1/work/people/chatWhat your Slack or Google Chat channel hears about (web app only)people:read
PUT/v1/work/people/chatConnect a Slack or Google Chat channel, or change what it hears. A new address gets one test message (web app only)people:write
GET/v1/work/people/importsRecords brought from other systems, the newest firstpeople:write
POST/v1/work/people/importsStart bringing records in, from files or from an old account with your own key to it. Nothing is added yetpeople:write
DELETE/v1/work/people/imports/:idForget what was found, before anything is brought inpeople:write
GET/v1/work/people/imports/:idOne import: where it's up to, what was found, and what's here nowpeople:write
POST/v1/work/people/imports/:id/bringBring in what was found. Nobody is emailed, invited, reminded or invoicedpeople:write
POST/v1/work/people/imports/:id/lookEvery row is sent: work out what was found. Nothing is added yetpeople:write
POST/v1/work/people/imports/:id/rowsSend some of a file's rows, up to 2 MB at a timepeople:write
POST/v1/work/people/imports/:id/undoTake away everything an import brought. What's been invoiced here since stayspeople:write
GET/v1/work/people/rolesRoles of your ownpeople:read
POST/v1/work/people/rolesAdd a role of your own (owners only) (web app only)people:write
DELETE/v1/work/people/roles/:idRemove a role of your own. People keep what it let them do (web app only)people:write
PATCH/v1/work/people/roles/:idChange a role of your own. Everyone who has it changes with it (web app only)people:write
DELETE/v1/work/people/sampleRemove the made-up clients, projects, people and timepeople:write
POST/v1/work/people/sampleAdd made-up clients, projects and time to try everything with (nothing is sent to anyone)people:write
GET/v1/work/people/settingsHow your organization tracks time: time zone, currency, week, rounding and rulespeople:read
PUT/v1/work/people/settingsChange how your organization tracks time. New rounding applies to time that isn't on an invoice yetpeople:write
GET/v1/work/people/setupYour first steps and which are done (the sample data never counts)people:read
GET/v1/work/people/teamEveryone who can sign in, and what each may dopeople:read
PUT/v1/work/people/team/:user_idSet what someone may see and do: a role, or abilities one by one. Only an owner gives pay and settingspeople:write
POST/v1/work/people/team/inviteInvite someone by email with a role, which they get when they accept (owners only) (web app only)members:write

Examples

GET /v1/work/people

Everyone who does the work. Rates and pay show only to people who may see them

curl -s "https://api.hourfinch.com/v1/work/people" \
  -H "Authorization: Bearer $TK_API_KEY"
const res = await fetch(`https://api.hourfinch.com/v1/work/people`, {
  method: "GET",
  headers: { authorization: `Bearer ${process.env.TK_API_KEY}` },
});
const data = await res.json();

POST /v1/work/people

Add someone who does work. They aren't emailed; invite them when you want them to sign in

curl -s -X POST "https://api.hourfinch.com/v1/work/people" \
  -H "Authorization: Bearer $TK_API_KEY" \
  -H "content-type: application/json" \
  -d '{}'
const res = await fetch(`https://api.hourfinch.com/v1/work/people`, {
  method: "POST",
  headers: { authorization: `Bearer ${process.env.TK_API_KEY}`, "content-type": "application/json" },
  body: JSON.stringify({}), // fields: see the OpenAPI schema
});
const data = await res.json();

GET /v1/work/people/$ID

One person, with the history of their rates (only what you may see)

curl -s "https://api.hourfinch.com/v1/work/people/$ID" \
  -H "Authorization: Bearer $TK_API_KEY"
const res = await fetch(`https://api.hourfinch.com/v1/work/people/${id}`, {
  method: "GET",
  headers: { authorization: `Bearer ${process.env.TK_API_KEY}` },
});
const data = await res.json();

PATCH /v1/work/people/$ID

Correct someone's details or hours, or archive them (their time stays)

curl -s -X PATCH "https://api.hourfinch.com/v1/work/people/$ID" \
  -H "Authorization: Bearer $TK_API_KEY" \
  -H "content-type: application/json" \
  -d '{}'
const res = await fetch(`https://api.hourfinch.com/v1/work/people/${id}`, {
  method: "PATCH",
  headers: { authorization: `Bearer ${process.env.TK_API_KEY}`, "content-type": "application/json" },
  body: JSON.stringify({}), // fields: see the OpenAPI schema
});
const data = await res.json();

PUT /v1/work/people/$ID/rates/$KIND

Set what someone's hour bills at, or costs, from a day on. Time already on an invoice never changes

curl -s -X PUT "https://api.hourfinch.com/v1/work/people/$ID/rates/$KIND" \
  -H "Authorization: Bearer $TK_API_KEY" \
  -H "content-type: application/json" \
  -d '{}'
const res = await fetch(`https://api.hourfinch.com/v1/work/people/${id}/rates/${kind}`, {
  method: "PUT",
  headers: { authorization: `Bearer ${process.env.TK_API_KEY}`, "content-type": "application/json" },
  body: JSON.stringify({}), // fields: see the OpenAPI schema
});
const data = await res.json();

DELETE /v1/work/people/$ID/rates/$RATE_ID

Remove a rate that was set by mistake

curl -s -X DELETE "https://api.hourfinch.com/v1/work/people/$ID/rates/$RATE_ID" \
  -H "Authorization: Bearer $TK_API_KEY"
const res = await fetch(`https://api.hourfinch.com/v1/work/people/${id}/rates/${rate_id}`, {
  method: "DELETE",
  headers: { authorization: `Bearer ${process.env.TK_API_KEY}` },
});
const data = await res.json();

GET /v1/work/people/access

Which person you are, and what you may see and do

curl -s "https://api.hourfinch.com/v1/work/people/access" \
  -H "Authorization: Bearer $TK_API_KEY"
const res = await fetch(`https://api.hourfinch.com/v1/work/people/access`, {
  method: "GET",
  headers: { authorization: `Bearer ${process.env.TK_API_KEY}` },
});
const data = await res.json();

GET /v1/work/people/imports

Records brought from other systems, the newest first

curl -s "https://api.hourfinch.com/v1/work/people/imports" \
  -H "Authorization: Bearer $TK_API_KEY"
const res = await fetch(`https://api.hourfinch.com/v1/work/people/imports`, {
  method: "GET",
  headers: { authorization: `Bearer ${process.env.TK_API_KEY}` },
});
const data = await res.json();

POST /v1/work/people/imports

Start bringing records in, from files or from an old account with your own key to it. Nothing is added yet

curl -s -X POST "https://api.hourfinch.com/v1/work/people/imports" \
  -H "Authorization: Bearer $TK_API_KEY" \
  -H "content-type: application/json" \
  -d '{}'
const res = await fetch(`https://api.hourfinch.com/v1/work/people/imports`, {
  method: "POST",
  headers: { authorization: `Bearer ${process.env.TK_API_KEY}`, "content-type": "application/json" },
  body: JSON.stringify({}), // fields: see the OpenAPI schema
});
const data = await res.json();

DELETE /v1/work/people/imports/$ID

Forget what was found, before anything is brought in

curl -s -X DELETE "https://api.hourfinch.com/v1/work/people/imports/$ID" \
  -H "Authorization: Bearer $TK_API_KEY"
const res = await fetch(`https://api.hourfinch.com/v1/work/people/imports/${id}`, {
  method: "DELETE",
  headers: { authorization: `Bearer ${process.env.TK_API_KEY}` },
});
const data = await res.json();

GET /v1/work/people/imports/$ID

One import: where it's up to, what was found, and what's here now

curl -s "https://api.hourfinch.com/v1/work/people/imports/$ID" \
  -H "Authorization: Bearer $TK_API_KEY"
const res = await fetch(`https://api.hourfinch.com/v1/work/people/imports/${id}`, {
  method: "GET",
  headers: { authorization: `Bearer ${process.env.TK_API_KEY}` },
});
const data = await res.json();

POST /v1/work/people/imports/$ID/bring

Bring in what was found. Nobody is emailed, invited, reminded or invoiced

curl -s -X POST "https://api.hourfinch.com/v1/work/people/imports/$ID/bring" \
  -H "Authorization: Bearer $TK_API_KEY" \
  -H "content-type: application/json" \
  -d '{}'
const res = await fetch(`https://api.hourfinch.com/v1/work/people/imports/${id}/bring`, {
  method: "POST",
  headers: { authorization: `Bearer ${process.env.TK_API_KEY}`, "content-type": "application/json" },
  body: JSON.stringify({}), // fields: see the OpenAPI schema
});
const data = await res.json();

POST /v1/work/people/imports/$ID/look

Every row is sent: work out what was found. Nothing is added yet

curl -s -X POST "https://api.hourfinch.com/v1/work/people/imports/$ID/look" \
  -H "Authorization: Bearer $TK_API_KEY" \
  -H "content-type: application/json" \
  -d '{}'
const res = await fetch(`https://api.hourfinch.com/v1/work/people/imports/${id}/look`, {
  method: "POST",
  headers: { authorization: `Bearer ${process.env.TK_API_KEY}`, "content-type": "application/json" },
  body: JSON.stringify({}), // fields: see the OpenAPI schema
});
const data = await res.json();

POST /v1/work/people/imports/$ID/rows

Send some of a file's rows, up to 2 MB at a time

curl -s -X POST "https://api.hourfinch.com/v1/work/people/imports/$ID/rows" \
  -H "Authorization: Bearer $TK_API_KEY" \
  -H "content-type: application/json" \
  -d '{}'
const res = await fetch(`https://api.hourfinch.com/v1/work/people/imports/${id}/rows`, {
  method: "POST",
  headers: { authorization: `Bearer ${process.env.TK_API_KEY}`, "content-type": "application/json" },
  body: JSON.stringify({}), // fields: see the OpenAPI schema
});
const data = await res.json();

POST /v1/work/people/imports/$ID/undo

Take away everything an import brought. What's been invoiced here since stays

curl -s -X POST "https://api.hourfinch.com/v1/work/people/imports/$ID/undo" \
  -H "Authorization: Bearer $TK_API_KEY" \
  -H "content-type: application/json" \
  -d '{}'
const res = await fetch(`https://api.hourfinch.com/v1/work/people/imports/${id}/undo`, {
  method: "POST",
  headers: { authorization: `Bearer ${process.env.TK_API_KEY}`, "content-type": "application/json" },
  body: JSON.stringify({}), // fields: see the OpenAPI schema
});
const data = await res.json();

GET /v1/work/people/roles

Roles of your own

curl -s "https://api.hourfinch.com/v1/work/people/roles" \
  -H "Authorization: Bearer $TK_API_KEY"
const res = await fetch(`https://api.hourfinch.com/v1/work/people/roles`, {
  method: "GET",
  headers: { authorization: `Bearer ${process.env.TK_API_KEY}` },
});
const data = await res.json();

DELETE /v1/work/people/sample

Remove the made-up clients, projects, people and time

curl -s -X DELETE "https://api.hourfinch.com/v1/work/people/sample" \
  -H "Authorization: Bearer $TK_API_KEY"
const res = await fetch(`https://api.hourfinch.com/v1/work/people/sample`, {
  method: "DELETE",
  headers: { authorization: `Bearer ${process.env.TK_API_KEY}` },
});
const data = await res.json();

POST /v1/work/people/sample

Add made-up clients, projects and time to try everything with (nothing is sent to anyone)

curl -s -X POST "https://api.hourfinch.com/v1/work/people/sample" \
  -H "Authorization: Bearer $TK_API_KEY" \
  -H "content-type: application/json" \
  -d '{}'
const res = await fetch(`https://api.hourfinch.com/v1/work/people/sample`, {
  method: "POST",
  headers: { authorization: `Bearer ${process.env.TK_API_KEY}`, "content-type": "application/json" },
  body: JSON.stringify({}), // fields: see the OpenAPI schema
});
const data = await res.json();

GET /v1/work/people/settings

How your organization tracks time: time zone, currency, week, rounding and rules

curl -s "https://api.hourfinch.com/v1/work/people/settings" \
  -H "Authorization: Bearer $TK_API_KEY"
const res = await fetch(`https://api.hourfinch.com/v1/work/people/settings`, {
  method: "GET",
  headers: { authorization: `Bearer ${process.env.TK_API_KEY}` },
});
const data = await res.json();

PUT /v1/work/people/settings

Change how your organization tracks time. New rounding applies to time that isn't on an invoice yet

curl -s -X PUT "https://api.hourfinch.com/v1/work/people/settings" \
  -H "Authorization: Bearer $TK_API_KEY" \
  -H "content-type: application/json" \
  -d '{}'
const res = await fetch(`https://api.hourfinch.com/v1/work/people/settings`, {
  method: "PUT",
  headers: { authorization: `Bearer ${process.env.TK_API_KEY}`, "content-type": "application/json" },
  body: JSON.stringify({}), // fields: see the OpenAPI schema
});
const data = await res.json();

GET /v1/work/people/setup

Your first steps and which are done (the sample data never counts)

curl -s "https://api.hourfinch.com/v1/work/people/setup" \
  -H "Authorization: Bearer $TK_API_KEY"
const res = await fetch(`https://api.hourfinch.com/v1/work/people/setup`, {
  method: "GET",
  headers: { authorization: `Bearer ${process.env.TK_API_KEY}` },
});
const data = await res.json();

GET /v1/work/people/team

Everyone who can sign in, and what each may do

curl -s "https://api.hourfinch.com/v1/work/people/team" \
  -H "Authorization: Bearer $TK_API_KEY"
const res = await fetch(`https://api.hourfinch.com/v1/work/people/team`, {
  method: "GET",
  headers: { authorization: `Bearer ${process.env.TK_API_KEY}` },
});
const data = await res.json();

PUT /v1/work/people/team/$USER_ID

Set what someone may see and do: a role, or abilities one by one. Only an owner gives pay and settings

curl -s -X PUT "https://api.hourfinch.com/v1/work/people/team/$USER_ID" \
  -H "Authorization: Bearer $TK_API_KEY" \
  -H "content-type: application/json" \
  -d '{}'
const res = await fetch(`https://api.hourfinch.com/v1/work/people/team/${user_id}`, {
  method: "PUT",
  headers: { authorization: `Bearer ${process.env.TK_API_KEY}`, "content-type": "application/json" },
  body: JSON.stringify({}), // fields: see the OpenAPI schema
});
const data = await res.json();

Request and response schemas: https://www.hourfinch.com/openapi.json. All resources: API reference.

Send feedback

Tell us what's broken, confusing or missing on this page, or an idea. It goes to the team that builds the product.
Please don't include passwords or card numbers.
Only to reply about this. Never added to any mailing list.