Update a job
/firm-partners/workspace/people/{uuid}/jobs/{jobUuid}Updates one of the person's jobs.
Send only the fields that change; the rest are kept from the current job. A new `title` moves the job to that existing position. For a payroll employee's primary job the change is also sent to the payroll provider.
Headers
count-workspace-iduuidrequiredUUID of the client workspace to act on. It must be one of your firm's client workspaces (or the firm's own workspace) and within the API key's client workspaces.
Path parameters
uuiduuidrequiredThe person UUID, the `id` from List people.
jobUuiduuidrequiredThe job UUID, the `id` from List a person's jobs.
Request body
titlestringThe name of an existing position in the workspace, matched without regard to case. The job takes that position.
ratestringWage, zero or more.
paymentUnitstringWhat the rate is paid per, for example `hour`.
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
200The updated job.400Validation failed, or a second primary job.401Missing signing headers, an invalid HMAC signature, or a timestamp more than 5 minutes off. Troubleshoot403The key is inactive or its scope does not allow this request, the workspace is not managed by your firm or is outside the key's client workspaces, the workspace has no active subscription, or it is portal-only and the route needs bookkeeping. Troubleshoot404Person, job, position or work location not found.409Two positions share the name in `title`.429Rate limit exceeded (100 requests per minute per firm user of each app, or 10,000 per minute per app). Troubleshoothttps://api.getcount.com/firm-partners/workspace/people/{uuid}/jobs/{jobUuid}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 method = 'PATCH';
const signingPath = '/workspace/people/f1a2b3c4-d5e6-4789-a012-3456789abcde/jobs/0190a1b2-c3d4-7e5f-8a9b-0c1d2e3f4a8e';
const timestamp = Math.floor(Date.now() / 1000).toString();
const body = {
"rate": "26"
};
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}/firm-partners/workspace/people/f1a2b3c4-d5e6-4789-a012-3456789abcde/jobs/0190a1b2-c3d4-7e5f-8a9b-0c1d2e3f4a8e`, {
method,
headers: {
'x-client-id': CLIENT_ID,
'x-timestamp': timestamp,
'x-signature': signature,
'Content-Type': 'application/json',
'count-workspace-id': '5e4d3c2b-1a09-4f8e-8d7c-6b5a49382716',
},
body: bodyString,
});
console.log(await response.json());{
"status": "success",
"message": "Success on updating employee job.",
"data": {
"employeeJob": {
"id": "0190a1b2-c3d4-7e5f-8a9b-0c1d2e3f4a8e",
"title": "Barista",
"primary": true,
"rate": "26.0000",
"paymentUnit": "hour",
"compensationType": "hourly",
"hireDate": "2026-11-01",
"employmentStatus": "part_time",
"jobLocationType": "office",
"location": {
"id": "0190a1b2-c3d4-7e5f-8a9b-0c1d2e3f4a6c",
"name": "Main Street"
}
}
}
}