PeopleCreate a person

Create a person

POST/partners/people

Creates a person, optionally with a primary job and expense reporting accounts.

Giving the person a role that signs in (`time tracking`, `sales rep`, `expense reporting`) needs an email address. Bank accounts (`externalAccounts`), a tax identification number (`taxInfo.taxNumber`) and the `payroll` role are refused with 400.

HMAC signature + Bearer access token
Try this request

Request body

typeenum

Kind of person.

One of: Employee, Contractor, Volunteer, Donor, Other

firstNamestring

First name.

middleNamestring

Middle name.

lastNamestring

Last name.

emailstring

Email address.

phonestring

Phone number.

employeeNumberstring

Your own number for the person.

rolearray

Any of `time tracking`, `sales rep`, `expense reporting`. `payroll` is refused.

accountUuidsarray

Up to 200 transacting account UUIDs (`isPhysicalAccount: true` in List accounts) the person spends from as an expense reporter. Any other account is refused with 400.

sendEmailboolean

Email the person their sign-in invite.

addressobject

Home address: `street`, `street2`, `city`, `state`, `zipCode`, `country`.

jobDetailsobject

The person's primary job, with the fields of Create a job.

titlestring

The name of an existing position in the workspace, matched without regard to case. The job takes that position. Required on create.

ratestring

Wage, zero or more. Required on create.

paymentUnitstring

What the rate is paid per, for example `hour`. Required on create.

compensationTypeenum

Required on create.

One of: hourly, salary, commission

hireDatedate

First day in the job (YYYY-MM-DD).

employmentStatusenum

Employment status.

One of: full_time, part_time, seasonal, variable

jobLocationTypestring

Where the job is worked, for example `office` or `remote`.

locationUuiduuid

Work location UUID, the `location.id` on one of the workspace's jobs; null clears it. A location from another workspace returns 404.

flsaStatusstring

FLSA status.

paymentMethodenum

How the job is paid.

One of: direct_deposit, check

overtimeEligibleboolean

Whether the job earns overtime.

primaryboolean

Whether this is the person's primary job. A person has one.

notesstring

Notes.

Responses

201The new person.
400Validation failed; a role that signs in without an email; `externalAccounts`, `taxInfo.taxNumber` or the `payroll` role sent; `accountIDs` sent instead of `accountUuids`; or an account that is not a transacting account.
404An account, position (`jobDetails.title`) or work location was not found.
409Two positions share the name in `jobDetails.title`.
401Missing or invalid HMAC signature, expired timestamp, or invalid Bearer token. Troubleshoot
403The credential does not have access to this workspace or resource. Troubleshoot
429Rate limit exceeded (100 requests per minute per user of each app, or 10,000 per minute per app). Retry after the Retry-After header. Troubleshoot
POSThttps://api.getcount.com/partners/people
Request
import crypto from 'node:crypto';

const BASE_URL = 'https://api.getcount.com';
const CLIENT_ID = process.env.COUNT_CLIENT_ID;
const CLIENT_SECRET = process.env.COUNT_CLIENT_SECRET;
const ACCESS_TOKEN = process.env.COUNT_ACCESS_TOKEN;

const method = 'POST';
const signingPath = '/people';
const timestamp = Math.floor(Date.now() / 1000).toString();
const body = {
  "type": "Employee",
  "firstName": "Jane",
  "lastName": "Smith",
  "email": "jane.smith@acme.com",
  "role": [
    "time tracking"
  ],
  "sendEmail": true,
  "jobDetails": {
    "title": "Barista",
    "rate": "25",
    "paymentUnit": "hour",
    "compensationType": "hourly",
    "hireDate": "2026-11-01"
  }
};
const bodyString = JSON.stringify(body);

const bodyHash = crypto.createHash('sha256').update(bodyString).digest('hex');
const baseString = `${method}:${signingPath}:${timestamp}:${bodyHash}`;
const signature = crypto.createHmac('sha256', CLIENT_SECRET).update(baseString).digest('hex');

const response = await fetch(`${BASE_URL}/partners/people`, {
  method,
  headers: {
    'x-client-id': CLIENT_ID,
    'x-timestamp': timestamp,
    'x-signature': signature,
    'Content-Type': 'application/json',
    Authorization: `Bearer ${ACCESS_TOKEN}`,
  },
  body: bodyString,
});

console.log(await response.json());
Response · 201
{
  "status": "success",
  "message": "Success on creating a person",
  "data": {
    "people": {
      "id": "f1a2b3c4-d5e6-4789-a012-3456789abcde",
      "firstName": "Jane",
      "lastName": "Smith",
      "email": "jane.smith@acme.com",
      "phone": "+19876543210",
      "type": "Employee",
      "enabled": true,
      "terminated": false,
      "role": [
        "time tracking"
      ],
      "position": "Barista",
      "createdAt": "2026-01-15T10:30:00.000Z",
      "updatedAt": "2026-01-28T14:22:30.000Z"
    }
  }
}