curl --request POST \
--url https://go.aiinsurance.io/api/v1/companies/{companyId}/tasks \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '
{
"name": "Review claim documents",
"deadline": "2026-07-01T17:00:00.000Z"
}
'{
"id": "550e8400-e29b-41d4-a716-446655440300"
}Tasks
Create Task
Creates a new task for the company.
assignees must reference users in the same company — a non-member user ID
is rejected with a 400 error.
Required permission: task.create
POST
/
api
/
v1
/
companies
/
{companyId}
/
tasks
curl --request POST \
--url https://go.aiinsurance.io/api/v1/companies/{companyId}/tasks \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '
{
"name": "Review claim documents",
"deadline": "2026-07-01T17:00:00.000Z"
}
'{
"id": "550e8400-e29b-41d4-a716-446655440300"
}Authorizations
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
Company identifier
Body
application/json
Task name
Task deadline as an ISO 8601 date-time string
Task description (defaults to an empty string)
Task completion status (defaults to Not Complete)
Available options:
Not Complete, Complete Entity to link the task to (e.g. a claim or policy)
Show child attributes
Show child attributes
Company user IDs to assign the task to
Response
Task created successfully
The ID of the created task
