Skip to main content
GET
/
api
/
v1
/
external
/
companies
/
{companyId}
/
tasks
/
{taskId}
Get Task
curl --request GET \
  --url https://app.aiinsurance.io/api/v1/external/companies/{companyId}/tasks/{taskId} \
  --header 'Authorization: <api-key>'
{
  "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"
}

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

taskId
string<uuid>
required

Task identifier

Response

Task details

A task entity.

id
string<uuid>
required

Task identifier

name
string
required

Task name

description
string
required

Task description (empty string if none)

status
enum<string>
required

Task completion status

Available options:
Not Complete,
Complete
deadline
string<date-time>
required

Task deadline as an ISO 8601 date-time string

entity
object
required

Snapshot of the entity this task is linked to (e.g. a claim or policy), or null when the task is not linked to any entity.

assignees
string[]
required

Company user IDs the task is assigned to

createdBy
string | null
required

User ID who created the task

createdAt
string<date-time>
required

When the task was created

updatedAt
string<date-time>
required

When the task was last updated