curl --request POST \
--url http://localhost:3333/v1/tasks/{taskId}/submit-for-review \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '
{
"approverId": "mem_abc123"
}
'Move task status to in_review and assign an approver.
curl --request POST \
--url http://localhost:3333/v1/tasks/{taskId}/submit-for-review \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '
{
"approverId": "mem_abc123"
}
'API key for authentication
Organization ID (required for session auth, optional for API key auth)
Unique task identifier
"tsk_abc123def456"
Member ID of the approver
"mem_abc123"
Task submitted for review
Was this page helpful?