Skip to main content
POST
/
api
/
v1
/
teams
/
{team_id}
/
tasks
/
batch-approve
Batch Approve
curl --request POST \
  --url https://api.example.com/api/v1/teams/{team_id}/tasks/batch-approve \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "task_ids": [
    "3c90c3cc-0d44-4b50-8888-8dd25736052a"
  ]
}
'
{
  "approved": 123,
  "failed": [
    {}
  ]
}

Documentation Index

Fetch the complete documentation index at: https://docs.aitasker.co/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

team_id
string<uuid>
required

Body

application/json
task_ids
string<uuid>[]
required
Required array length: 1 - 100 elements

Response

Successful Response

approved
integer
required
failed
Failed · object[]