Creates a new user task (type task). The requesting user is recorded as the requester. Returns the full task detail.
type: "task" can be created through this endpoint. HIL approval tasks are created by AI agents during workflow execution.title is required:
assign_to with a type and the corresponding UID. Use Filter options to get the list of assignable users and agents.
For user assignment:
201 with the full task detail:
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Task title
1 - 255"Review Q4 invoice discrepancies"
Task description
"Check invoices flagged by the agent for amount mismatches"
Assignee. Provide type and corresponding uid.
urgent, high, medium, low Due date in ISO 8601 format
"2026-04-15"
Initial status. Defaults to todo if omitted.
todo, in_progress, in_review, done, canceled Entities to link to this task (invoices, parties, messages)