Workers
Worker calls need the workers ability. The records are profiles owned by the token's integration. They are not staff logins, they do not appear in the organisation's member list, and creating one does not assign that person to a job.
Profiles are paged. limit defaults to 50 and cannot exceed 100. Pass meta.next_cursor back as cursor until it is null. The order is updated_at, then id, oldest first. updated_since keeps profiles updated at or after that instant, which is the usual way to poll. external_id is an exact filter. An id that does not exist returns an empty data array, not 404. Retrieving by the numeric id returns 404 when the profile belongs to another integration.
On create, profile.name is required. Names are trimmed. Emails are stored in lower case. Send null to clear an email or a phone. Fields you omit on a later upsert stay as they are. active defaults to true. active: false keeps the profile and marks it inactive. There is no delete call.
A phone number is stored in E.164 when it can be parsed for the organisation's country, which defaults to GB. The accepted characters are digits, spaces and + ( ) . -, with a length of 6 to 32. A value that matches that pattern but cannot be parsed is stored trimmed.
source_version and Idempotency-Key follow the rules on the Idempotency page.
GET /api/v1/external/workers
Lists worker profiles for this token's integration, ordered by updated_at and then id, oldest first. Profiles from another integration are not included, even when they belong to the same organisation.
Results are paged with limit and cursor. limit defaults to 50 and cannot be higher than 100. When more rows exist, meta.next_cursor is an opaque string. Pass it back unchanged. It is null on the last page.
updated_since keeps rows whose updated_at is at or after that instant. external_id is an exact match. An unknown id returns an empty data array.
Parameters
| Name | In | Required | Description |
|---|---|---|---|
external_id | query | optional | string. Exact external id. |
updated_since | query | optional | string. Include profiles updated at or after this instant. |
cursor | query | optional | string. Opaque cursor from a previous meta.next_cursor. |
limit | query | optional | integer. Page size. Defaults to 50. |
Errors
| Status | Meaning |
|---|---|
401 | The token is missing, does not use an accepted prefix, is unknown, or is revoked. |
403 | The token is not allowed to perform this action, the client is not bound to an integration, or the organisation cannot accept writes. A write while the organisation is read-only uses code workspace_unavailable. An ability failure has no code. |
422 | The JSON body or a query parameter failed validation. Unknown JSON fields are rejected. errors maps each field to a list of messages. |
Request
curl "https://app.assignpoint.com/api/v1/external/workers?external_id=acme-worker-42&updated_since=2027-06-01T00:00:00Z&limit=50" \
-H "Authorization: Bearer assignpoint_live_EXAMPLE"
Response 200
{
"data": [
{
"id": 88,
"external_id": "acme-worker-42",
"source_version": 1,
"version": 1,
"profile": {
"name": "Sam Example",
"email": "sam@example.com",
"phone": "+447700900123",
"active": true
},
"created_at": "2027-06-01T09:40:00Z",
"updated_at": "2027-06-01T09:40:00Z"
}
],
"meta": {
"limit": 50,
"next_cursor": null
}
}
PUT /api/v1/external/workers
Creates or updates the worker profile with this external_id on the token's integration. Idempotency-Key is required. The call does not create an AssignPoint login, and it does not add the person to the organisation.
profile.name is required when the profile is new, and it is trimmed. profile.email is stored in lower case. Send null to clear an email or a phone. Omitted profile fields are left unchanged.
A phone number is stored in E.164 when it can be parsed for the organisation's country. The country defaults to GB. A number that passes the format check but cannot be parsed is stored trimmed, as sent.
active defaults to true on create. Sending active: false keeps the profile and marks it inactive. There is no delete call.
source_version follows the same rules as a job update. A new profile starts at version 1. A real change increments version.
Parameters
| Name | In | Required | Description |
|---|---|---|---|
Idempotency-Key | header | required | string. Required. 1 to 255 characters from A-Z, a-z, 0-9, _, ., : and -. Scoped to the integration, the HTTP method and the path. Replays within 72 hours return the stored body. A stored 201 is replayed as 200. The same key with a different body returns 409. |
Body
| Field | Type | Description | |
|---|---|---|---|
external_id | string | required | |
source_version | integer | required | |
profile | object | required | |
profile.name | string | optional | Trimmed. Required when the profile is created. Empty is rejected. |
profile.email | string or null | optional | |
profile.phone | string or null | optional | 6 to 32 characters from digits, space and + ( ) . -. |
profile.active | boolean | optional |
Errors
| Status | Meaning |
|---|---|
401 | The token is missing, does not use an accepted prefix, is unknown, or is revoked. |
403 | The token is not allowed to perform this action, the client is not bound to an integration, or the organisation cannot accept writes. A write while the organisation is read-only uses code workspace_unavailable. An ability failure has no code. |
409 | The source_version is stale or disagrees with a change, the external_id already exists with a different payload, roles would change, or the Idempotency-Key was reused for a different body. |
422 | The JSON body or a query parameter failed validation. Unknown JSON fields are rejected. errors maps each field to a list of messages. |
Request
curl -X PUT "https://app.assignpoint.com/api/v1/external/workers" \
-H "Authorization: Bearer assignpoint_live_EXAMPLE" \
-H "Content-Type: application/json" \
-H "Idempotency-Key: acme-job-100" \
-d '{
"external_id": "acme-worker-42",
"source_version": 1,
"profile": {
"name": "Sam Example",
"email": "sam@example.com",
"phone": "+447700900123",
"active": true
}
}'
Response 200
{
"data": {
"id": 88,
"external_id": "acme-worker-42",
"source_version": 2,
"version": 2,
"profile": {
"name": "Sam Example",
"email": null,
"phone": "+447700900123",
"active": true
},
"created_at": "2027-06-01T09:40:00Z",
"updated_at": "2027-06-02T09:40:00Z"
}
}
GET /api/v1/external/workers/{workerProfile}
Returns one worker profile by its AssignPoint id. The id must be an integer. A profile from another integration or organisation returns 404.
Parameters
| Name | In | Required | Description |
|---|---|---|---|
workerProfile | path | required | integer. AssignPoint worker profile id. |
Errors
| Status | Meaning |
|---|---|
401 | The token is missing, does not use an accepted prefix, is unknown, or is revoked. |
403 | The token is not allowed to perform this action, the client is not bound to an integration, or the organisation cannot accept writes. A write while the organisation is read-only uses code workspace_unavailable. An ability failure has no code. |
404 | The record is not in this token's organisation, or the worker is not in this integration. Use the status code. The message string is not a stable contract. |
Request
curl "https://app.assignpoint.com/api/v1/external/workers/88" \
-H "Authorization: Bearer assignpoint_live_EXAMPLE"
Response 200
{
"data": {
"id": 88,
"external_id": "acme-worker-42",
"source_version": 1,
"version": 1,
"profile": {
"name": "Sam Example",
"email": "sam@example.com",
"phone": "+447700900123",
"active": true
},
"created_at": "2027-06-01T09:40:00Z",
"updated_at": "2027-06-01T09:40:00Z"
}
}