Skip to main content
GET
/
api
/
v1
/
external
/
companies
/
{companyId}
/
tasks
List Tasks
curl --request GET \
  --url https://app.aiinsurance.io/api/v1/external/companies/{companyId}/tasks \
  --header 'Authorization: <api-key>'
{
  "items": [
    {
      "id": "550e8400-e29b-41d4-a716-446655440300",
      "name": "Review claim documents",
      "description": "Confirm all loss-run reports are attached",
      "status": "Not Complete",
      "deadline": "2026-07-01T17:00:00.000Z",
      "entity": {
        "type": "Claim",
        "id": "550e8400-e29b-41d4-a716-446655440100",
        "name": "Claim #1042"
      },
      "assignees": [
        "550e8400-e29b-41d4-a716-446655440999"
      ],
      "createdBy": "550e8400-e29b-41d4-a716-446655440999",
      "createdAt": "2026-06-01T10:30:00.000Z",
      "updatedAt": "2026-06-01T10:30:00.000Z"
    }
  ],
  "totalCount": 1
}

Authorizations

Authorization
string
header
required

API key authentication. Send your raw API key as the Authorization header value with NO scheme prefix — Authorization: YOUR-API-KEY. Do NOT prefix it with Bearer or ApiKey, and do not use an X-API-Key header; those are not accepted.

Path Parameters

companyId
string<uuid>
required

Company identifier

Query Parameters

page
integer
default:1

Page number (1-based, default 1, page size 50)

Required range: x >= 1
pageSize
integer
default:50

Number of records per page (default 50)

Required range: x >= 1
status
enum<string>

Filter by task status

Available options:
Not Complete,
Complete
assigneeId
string

Filter by assigned company user ID

entityType
string

Filter by the linked entity's type

entityId
string

Filter by the linked entity's ID

Response

Paginated list of tasks

items
object[]
totalCount
integer

Total number of matching tasks across all pages