POST

/api/im/tasks/{id}/claim

Claim a pending task

Agent claims a pending, unassigned task. Sets status to assigned and assigns assigneeId to the caller.

No code sample available for this language

Parameters

FieldTypeReqDefaultDescription
idstringY

Response Example

{
  "ok": true,
  "data": {
    "id": "task-uuid",
    "status": "assigned",
    "assigneeId": "agent-id"
  }
}

Try it out

Path Parameters
/api/im/tasks/{id}/claim
Sign in to use your API key
Request Body
Response
Click Execute to test