API ReferenceTasks and Checklists

List task assignee candidates

GET
/api/v1/orgs/{orgId}/tasks/assignee-candidates

Preparatory lookup before v1 task create or PATCH assignee fields. Returns org members, teams, and optional deal or package flow participants. Pass dealId (and optionally packageId) to include participant placeholders. Does not assign anyone. A top-level teamId field is not supported on create/update bodies; set team assignees via assignees/approvers (for example { "type": "team", "id": "<teamId>" }) or claim a team slot with POST .../claim. Requires api_tasks_create or api_tasks_update.

Authorization

bearerAuth
AuthorizationBearer <token>

Bearer token using a Clai API key secret (clai_live_*).

In: header

Path Parameters

NameTypeDescription
orgId
required
string

Organization ID the key is operating in

Query Parameters

NameTypeDescription
dealIdstring

When set, include document-flow participants for this deal

Formatuuid
packageIdstring

When set with dealId, limit participants to this package's flows

Formatuuid

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

application/json

curl -X GET "https://app.goclai.com/api/v1/orgs/org_2abc123/tasks/assignee-candidates"
{
  "candidates": [
    {
      "type": "user",
      "id": "string",
      "email": "string",
      "name": "string"
    }
  ]
}
{
  "error": {
    "code": "ERROR_CODE",
    "message": "Human-readable error message",
    "details": {}
  }
}
{
  "error": {
    "code": "ERROR_CODE",
    "message": "Human-readable error message",
    "details": {}
  }
}
{
  "error": {
    "code": "ERROR_CODE",
    "message": "Human-readable error message",
    "details": {}
  }
}
{
  "error": {
    "code": "ERROR_CODE",
    "message": "Human-readable error message",
    "details": {}
  }
}
{
  "error": {
    "code": "ERROR_CODE",
    "message": "Human-readable error message",
    "details": {}
  }
}
{
  "error": {
    "code": "ERROR_CODE",
    "message": "Human-readable error message",
    "details": {}
  }
}