Assign tasks
Give the application's field work to a named officer, all of it or a chosen subset.
POST/partner/v1/applications/:id/assign
Try it in the playgroundPOST /partner/v1/applications/:id/assign
Body
Send exactly one of userId, mobile or email. The person must exist and be active in your
organisation.
| Field | Type | Required | Description |
|---|---|---|---|
userId | string | one of three | Platform user id. |
mobile | string | one of three | Ten digit mobile, matched to an active user. |
email | string | one of three | User email, matched lowercased. |
taskIds | string[] | optional | Restrict the assignment to these tasks. Omit it to assign every task on the case. |
# the whole case
curl -X POST "$BASE/applications/LOAN-2026-0007/assign" \
-H "api-key: $KEY" -H "Content-Type: application/json" \
-d '{ "mobile": "9000000001" }'
# one task, to a specialist
curl -X POST "$BASE/applications/LOAN-2026-0007/assign" \
-H "api-key: $KEY" -H "Content-Type: application/json" \
-d '{ "email": "valuer@example.com", "taskIds": ["6aad4f...c9"] }'Task ids come back on the create application response,
under nodes.
Response 200 OK
The updated task graph. The nodes now carry assigneeId and assigneeName.
Errors
| Status | Code | When |
|---|---|---|
| 404 | not_found | No application with that reference. |
| 404 | user_not_found | No active user in your organisation matches the id, mobile or email. Assigning to a suspended or deleted user would hide the case behind a login that cannot be used, so it is refused. |
| 409 | case_rejected / case_closed | The application is read only. Reopen it first. |