Skip to main content
POST
/
v1
/
tasks
/
{taskId}
/
submit-for-review
Submit task for review
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"
}
'

Authorizations

X-API-Key
string
header
required

API key for authentication

Headers

X-Organization-Id
string

Organization ID (required for session auth, optional for API key auth)

Path Parameters

taskId
string
required

Unique task identifier

Example:

"tsk_abc123def456"

Body

application/json
approverId
string
required

Member ID of the approver

Example:

"mem_abc123"

Response

Task submitted for review