Skip to main content
POST
Complete Task

Authorizations

X-API-Key
string
header
required

Body

application/json
taskId
string | null
required

Task id returned by tasks_list or preview_task. Example: task_123. Use a taskId value, not actionId or enrollmentId.

taskHash
string | null

Required only for section_approval tasks. Copy the exact current value from preview_task task.payload.task_hash. Omit for call and manual tasks.

actions
(object | null)[] | null

Required only for section_approval tasks. Submit exactly one approved or skipped decision for every action id in preview_task actionGroup.expectedActionIds. Omit for call and manual tasks.

includeProperties
boolean
default:false

Include task properties and an updated preview. Defaults to false.

includePreview
boolean
default:false

Include an updated task preview. Defaults to false; task id and status are always returned.

Response

Tool result.