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 list_user_tasks 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

When true, include response.preview.task.properties. Defaults to false because complete_task is normally called after preview_task.

Response

Tool result.