Create a job
/partners/people/{uuid}/jobsAdds a job to a person in an existing position.
`title`, `rate`, `paymentUnit` and `compensationType` are required. Create the position in COUNT first if it does not exist. For a payroll employee the job's wage is also sent to the payroll provider.
Path parameters
uuiduuidrequiredThe person UUID, the `id` from List people.
Request body
titlestringThe name of an existing position in the workspace, matched without regard to case. The job takes that position. Required on create.
ratestringWage, zero or more. Required on create.
paymentUnitstringWhat the rate is paid per, for example `hour`. Required on create.
compensationTypeenumRequired on create.
One of: hourly, salary, commission
hireDatedateFirst day in the job (YYYY-MM-DD).
employmentStatusenumEmployment status.
One of: full_time, part_time, seasonal, variable
jobLocationTypestringWhere the job is worked, for example `office` or `remote`.
locationUuiduuidWork location UUID, the `location.id` on one of the workspace's jobs; null clears it. A location from another workspace returns 404.
flsaStatusstringFLSA status.
paymentMethodenumHow the job is paid.
One of: direct_deposit, check
overtimeEligiblebooleanWhether the job earns overtime.
primarybooleanWhether this is the person's primary job. A person has one.
Responses
201The new job.400A required field is missing, the rate is negative, or `locationId` / `originalJobId` was sent.404Person not found, no position named `title`, or the work location was not found.409Two positions share the name in `title`.401Missing or invalid HMAC signature, expired timestamp, or invalid Bearer token. Troubleshoot403The credential does not have access to this workspace or resource. Troubleshoot429Rate limit exceeded (100 requests per minute per user of each app, or 10,000 per minute per app). Retry after the Retry-After header. Troubleshoothttps://api.getcount.com/partners/people/{uuid}/jobsimport 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/f1a2b3c4-d5e6-4789-a012-3456789abcde/jobs';
const timestamp = Math.floor(Date.now() / 1000).toString();
const body = {
"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/f1a2b3c4-d5e6-4789-a012-3456789abcde/jobs`, {
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());{
"status": "success",
"message": "Success on creating employee job.",
"data": {
"employeeJob": {
"id": "0190a1b2-c3d4-7e5f-8a9b-0c1d2e3f4a8e",
"title": "Barista",
"primary": true,
"rate": "25.0000",
"paymentUnit": "hour",
"compensationType": "hourly",
"hireDate": "2026-11-01",
"employmentStatus": "part_time",
"jobLocationType": "office",
"location": {
"id": "0190a1b2-c3d4-7e5f-8a9b-0c1d2e3f4a6c",
"name": "Main Street"
}
}
}
}