Jobs

A job token can create and change jobs in its organisation, and it can read jobs created by someone else in that organisation. The list and lookup calls are not paged. Filter with external_id when you know it.

status is one of draft, open, filled, completed or cancelled. Create defaults to open. presentation_status is the stored status, except it becomes underway while an open or filled job is inside its start and end. underway is not a value you can send.

name in the response repeats title. resources repeats roles. locations is the schedule already stored on the job. A job created through this API has an empty locations array until a schedule exists in AssignPoint. image_url and cover_image_url are relative URLs, or null.

pay_rate is an integer in minor units of the organisation currency, per hour. In a two-decimal currency such as GBP, 1500 means 15.00 per hour. Charge rates and profit are not returned to integration tokens.

Roles are written when the job is created. A later update or upsert cannot change them. Sending the same roles is allowed. Sending different roles returns 409 on roles and the rest of that request is not applied. A role name that matches an active organisation role, ignoring case, is linked to it. Other names are stored unlinked.

client_name finds or creates a client by name, ignoring case and extra whitespace. An empty name is rejected. On an update, omitting client_name or sending null leaves the current client in place.

Do not set status to cancelled on an update or upsert. That returns 422. Use the cancel call, which also withdraws open offers and cancels assignments that are assigned or confirmed.

Times in the body are instants. ends_at must be after starts_at. On a partial update the merged window is checked. planned_driving_minutes is from 0 to 1440.

POST /api/v1/external/jobs

Creates a job in the token's organisation. title, starts_at and ends_at are required.

external_id is optional. When it is sent and a job in the organisation already has that id, the same payload returns the existing job with status 200. A different payload returns 409. A blank external_id is stored as null, and those jobs are never matched to each other.

Idempotency-Key is optional on this call. When it is present it follows the idempotency rules. A later replay returns the stored response body, including the original title, even if the job was updated afterwards.

roles are written only at creation. A role whose name matches an active organisation role, ignoring case, is linked to that role. Unknown or archived names stay unlinked.

client_name finds or creates a client in the organisation. Matching ignores case and surrounding whitespace. AssignPoint does not invent a client when the field is omitted.

Parameters

NameInRequiredDescription
Idempotency-Keyheaderoptionalstring. Optional on create. When present, the same rules as a required key apply. When absent, the call still deduplicates a repeated external_id.

Body

FieldTypeDescription
titlestringrequired
locationstring or nulloptional
starts_atstringrequired
ends_atstringrequired
notesstring or nulloptional
planned_driving_minutesinteger or nulloptional
statusstring: draft, open, filled, completed, cancelledoptionalStored status. underway is not a stored status. presentation_status is underway when a job is open or filled and the current time is inside its window. Updates cannot set cancelled; use the cancel endpoint.
external_idstring or nulloptional
source_versionintegeroptional
client_namestring or nulloptionalEmpty and whitespace-only names are rejected. Null omits the client.
rolesarray of objectoptional
roles[].namestringrequired
roles[].quantity_requiredintegerrequired
roles[].starts_atstring or nulloptional
roles[].ends_atstring or nulloptionalMust be after starts_at when both are sent.
roles[].pay_rateinteger or nulloptionalMinor units of the organisation currency, per hour. For a two-decimal currency such as GBP, 1500 means 15.00 per hour.

Errors

StatusMeaning
401The token is missing, does not use an accepted prefix, is unknown, or is revoked.
403The 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.
409The 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.
422The 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 POST "https://app.assignpoint.com/api/v1/external/jobs" \
  -H "Authorization: Bearer assignpoint_live_EXAMPLE" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: acme-job-100" \
  -d '{
  "title": "Gate team",
  "location": "Riverside Park, London",
  "starts_at": "2027-06-14T08:00:00Z",
  "ends_at": "2027-06-14T18:00:00Z",
  "notes": "Arrive via the west gate.",
  "planned_driving_minutes": 30,
  "status": "open",
  "external_id": "acme-job-100",
  "source_version": 1,
  "client_name": "Acme Events",
  "roles": [
    {
      "name": "Steward",
      "quantity_required": 4,
      "starts_at": "2027-06-14T08:00:00Z",
      "ends_at": "2027-06-14T18:00:00Z",
      "pay_rate": 1500
    }
  ]
}'

PUT /api/v1/external/jobs

Creates or updates the job with this external_id in the token's organisation. external_id and source_version are required. Idempotency-Key is required.

When the id is new, title, starts_at and ends_at are also required and the response status is 201. When the id exists, omitted fields stay as they are and the response status is 200.

source_version must be greater than the stored version to change the job. The same version with the same fields returns the job and does not increment version. The same version with different fields returns 409. An older version returns 409.

Sending roles that differ from the stored roles returns 409 and changes nothing else on that request. Sending status of cancelled returns 422. Cancel through the cancel endpoint.

On a real change, version increments by one and source_version is stored.

Parameters

NameInRequiredDescription
Idempotency-Keyheaderrequiredstring. 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

FieldTypeDescription
external_idstringrequired
source_versionintegerrequired
titlestringoptional
locationstring or nulloptional
starts_atstringoptional
ends_atstringoptional
notesstring or nulloptional
planned_driving_minutesinteger or nulloptional
statusstring: draft, open, filled, completed, cancelledoptionalStored status. underway is not a stored status. presentation_status is underway when a job is open or filled and the current time is inside its window. Updates cannot set cancelled; use the cancel endpoint.
client_namestring or nulloptionalNull does not clear a client already stored on the job.
rolesarray of objectoptionalMust match the stored roles once the job exists. Used as the initial roles when the job is created.
roles[].namestringrequired
roles[].quantity_requiredintegerrequired
roles[].starts_atstring or nulloptional
roles[].ends_atstring or nulloptionalMust be after starts_at when both are sent.
roles[].pay_rateinteger or nulloptionalMinor units of the organisation currency, per hour. For a two-decimal currency such as GBP, 1500 means 15.00 per hour.

Errors

StatusMeaning
401The token is missing, does not use an accepted prefix, is unknown, or is revoked.
403The 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.
409The 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.
422The 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/jobs" \
  -H "Authorization: Bearer assignpoint_live_EXAMPLE" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: acme-job-100" \
  -d '{
  "external_id": "acme-job-100",
  "source_version": 2,
  "title": "Gate team, early call",
  "client_name": "Acme Events"
}'

Response 200

{
  "data": {
    "id": 1042,
    "organisation_id": 17,
    "client_id": 4,
    "client": {
      "id": 4,
      "organisation_id": 17,
      "name": "Acme Events",
      "logo_url": null,
      "created_at": "2027-06-01T09:00:00Z",
      "updated_at": "2027-06-01T09:00:00Z"
    },
    "image_url": null,
    "cover_image_url": null,
    "title": "Gate team, early call",
    "name": "Gate team, early call",
    "location": "Riverside Park, London",
    "starts_at": "2027-06-14T08:00:00Z",
    "ends_at": "2027-06-14T18:00:00Z",
    "notes": "Arrive via the west gate.",
    "status": "open",
    "presentation_status": "open",
    "external_id": "acme-job-100",
    "source_version": 2,
    "version": 2,
    "timezone": "UTC",
    "planned_driving_minutes": 30,
    "schedule_version": 1,
    "roles": [],
    "resources": [],
    "locations": [],
    "created_at": "2027-06-01T09:30:00Z",
    "updated_at": "2027-06-02T10:00:00Z"
  }
}

GET /api/v1/external/jobs

Returns jobs in the token's organisation, newest first. The list is not paginated. Pass external_id to return the jobs with that id.

Jobs created in AssignPoint are included. This list is not limited to the token's integration.

Parameters

NameInRequiredDescription
external_idqueryoptionalstring. Return jobs with this external id.

Errors

StatusMeaning
401The token is missing, does not use an accepted prefix, is unknown, or is revoked.
403The 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.
422The 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/jobs?external_id=acme-job-100" \
  -H "Authorization: Bearer assignpoint_live_EXAMPLE"

Response 200

{
  "data": [
    {
      "id": 1042,
      "organisation_id": 17,
      "client_id": 4,
      "client": null,
      "image_url": null,
      "cover_image_url": null,
      "title": "Gate team",
      "name": "Gate team",
      "location": "Riverside Park, London",
      "starts_at": "2027-06-14T08:00:00Z",
      "ends_at": "2027-06-14T18:00:00Z",
      "notes": null,
      "status": "open",
      "presentation_status": "open",
      "external_id": "acme-job-100",
      "source_version": 1,
      "version": 1,
      "timezone": "UTC",
      "planned_driving_minutes": null,
      "schedule_version": 1,
      "roles": [],
      "resources": [],
      "locations": [],
      "created_at": "2027-06-01T09:30:00Z",
      "updated_at": "2027-06-01T09:30:00Z"
    }
  ]
}

GET /api/v1/external/jobs/lookup

Returns the single job in the organisation with this external_id. The value is a query parameter, so encode characters such as ? and spaces. The response is 404 when no job has that id.

Parameters

NameInRequiredDescription
external_idqueryrequiredstring. External id to look up.

Errors

StatusMeaning
401The token is missing, does not use an accepted prefix, is unknown, or is revoked.
403The 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.
404The 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.
422The 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/jobs/lookup?external_id=acme-job-100" \
  -H "Authorization: Bearer assignpoint_live_EXAMPLE"

Response 200

{
  "data": {
    "id": 1042,
    "organisation_id": 17,
    "client_id": null,
    "client": null,
    "image_url": null,
    "cover_image_url": null,
    "title": "Gate team",
    "name": "Gate team",
    "location": "Riverside Park, London",
    "starts_at": "2027-06-14T08:00:00Z",
    "ends_at": "2027-06-14T18:00:00Z",
    "notes": null,
    "status": "open",
    "presentation_status": "open",
    "external_id": "acme-job-100",
    "source_version": 1,
    "version": 1,
    "timezone": "UTC",
    "planned_driving_minutes": null,
    "schedule_version": 1,
    "roles": [],
    "resources": [],
    "locations": [],
    "created_at": "2027-06-01T09:30:00Z",
    "updated_at": "2027-06-01T09:30:00Z"
  }
}

GET /api/v1/external/jobs/{job}

Returns one job by its AssignPoint id. The id must be an integer. A job in another organisation, or an unknown id, returns 404.

Parameters

NameInRequiredDescription
jobpathrequiredinteger. AssignPoint job id.

Errors

StatusMeaning
401The token is missing, does not use an accepted prefix, is unknown, or is revoked.
403The 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.
404The 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/jobs/1042" \
  -H "Authorization: Bearer assignpoint_live_EXAMPLE"

Response 200

{
  "data": {
    "id": 1042,
    "organisation_id": 17,
    "client_id": null,
    "client": null,
    "image_url": null,
    "cover_image_url": null,
    "title": "Gate team",
    "name": "Gate team",
    "location": "Riverside Park, London",
    "starts_at": "2027-06-14T08:00:00Z",
    "ends_at": "2027-06-14T18:00:00Z",
    "notes": null,
    "status": "open",
    "presentation_status": "open",
    "external_id": "acme-job-100",
    "source_version": 1,
    "version": 1,
    "timezone": "UTC",
    "planned_driving_minutes": null,
    "schedule_version": 1,
    "roles": [],
    "resources": [],
    "locations": [],
    "created_at": "2027-06-01T09:30:00Z",
    "updated_at": "2027-06-01T09:30:00Z"
  }
}

PATCH /api/v1/external/jobs/{job}

Updates the job with a newer source_version. Idempotency-Key is required. external_id cannot be changed here and is rejected if it is sent.

The same rules as upsert apply to source_version, roles and status. ends_at must stay after starts_at once the new values are combined with the stored window. A job in another organisation returns 404.

Parameters

NameInRequiredDescription
jobpathrequiredinteger. AssignPoint job id.
Idempotency-Keyheaderrequiredstring. 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

FieldTypeDescription
source_versionintegerrequired
titlestringoptional
locationstring or nulloptional
starts_atstringoptional
ends_atstringoptional
notesstring or nulloptional
planned_driving_minutesinteger or nulloptional
statusstring: draft, open, filled, completed, cancelledoptionalStored status. underway is not a stored status. presentation_status is underway when a job is open or filled and the current time is inside its window. Updates cannot set cancelled; use the cancel endpoint.
client_namestring or nulloptionalNull does not clear a client already stored on the job.
rolesarray of objectoptionalRejected with 409 when the list differs from the stored roles.
roles[].namestringrequired
roles[].quantity_requiredintegerrequired
roles[].starts_atstring or nulloptional
roles[].ends_atstring or nulloptionalMust be after starts_at when both are sent.
roles[].pay_rateinteger or nulloptionalMinor units of the organisation currency, per hour. For a two-decimal currency such as GBP, 1500 means 15.00 per hour.

Errors

StatusMeaning
401The token is missing, does not use an accepted prefix, is unknown, or is revoked.
403The 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.
404The 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.
409The 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.
422The 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 PATCH "https://app.assignpoint.com/api/v1/external/jobs/1042" \
  -H "Authorization: Bearer assignpoint_live_EXAMPLE" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: acme-job-100" \
  -d '{
  "source_version": 3,
  "title": "Gate team, early call",
  "notes": "Use the west gate."
}'

Response 200

{
  "data": {
    "id": 1042,
    "organisation_id": 17,
    "client_id": null,
    "client": null,
    "image_url": null,
    "cover_image_url": null,
    "title": "Gate team, early call",
    "name": "Gate team, early call",
    "location": "Riverside Park, London",
    "starts_at": "2027-06-14T08:00:00Z",
    "ends_at": "2027-06-14T18:00:00Z",
    "notes": "Use the west gate.",
    "status": "open",
    "presentation_status": "open",
    "external_id": "acme-job-100",
    "source_version": 3,
    "version": 3,
    "timezone": "UTC",
    "planned_driving_minutes": null,
    "schedule_version": 1,
    "roles": [],
    "resources": [],
    "locations": [],
    "created_at": "2027-06-01T09:30:00Z",
    "updated_at": "2027-06-02T11:00:00Z"
  }
}

POST /api/v1/external/jobs/{job}/cancel

Sets the job status to cancelled. source_version and Idempotency-Key are required.

Open offers on the job are withdrawn. Assignments that are assigned or confirmed become cancelled.

The same source_version as a job that is already cancelled returns the job and does not change it. The same source_version as a job that is not cancelled returns 409, because cancellation would change it. An older version returns 409. A newer version cancels the job, stores that source_version, and increments version.

A job in another organisation returns 404.

Parameters

NameInRequiredDescription
jobpathrequiredinteger. AssignPoint job id.
Idempotency-Keyheaderrequiredstring. 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

FieldTypeDescription
source_versionintegerrequired

Errors

StatusMeaning
401The token is missing, does not use an accepted prefix, is unknown, or is revoked.
403The 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.
404The 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.
409The 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.
422The 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 POST "https://app.assignpoint.com/api/v1/external/jobs/1042/cancel" \
  -H "Authorization: Bearer assignpoint_live_EXAMPLE" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: acme-job-100" \
  -d '{
  "source_version": 4
}'

Response 200

{
  "data": {
    "id": 1042,
    "organisation_id": 17,
    "client_id": null,
    "client": null,
    "image_url": null,
    "cover_image_url": null,
    "title": "Gate team",
    "name": "Gate team",
    "location": "Riverside Park, London",
    "starts_at": "2027-06-14T08:00:00Z",
    "ends_at": "2027-06-14T18:00:00Z",
    "notes": null,
    "status": "cancelled",
    "presentation_status": "cancelled",
    "external_id": "acme-job-100",
    "source_version": 4,
    "version": 2,
    "timezone": "UTC",
    "planned_driving_minutes": null,
    "schedule_version": 2,
    "roles": [],
    "resources": [],
    "locations": [],
    "created_at": "2027-06-01T09:30:00Z",
    "updated_at": "2027-06-02T12:00:00Z"
  }
}