Skip to main content
PATCH
/
v1
/
tasks
/
bulk
Update status for multiple tasks
curl --request PATCH \
  --url http://localhost:3333/v1/tasks/bulk \
  --header 'Content-Type: application/json' \
  --header 'X-API-Key: <api-key>' \
  --data '
{
  "taskIds": [
    "tsk_abc123",
    "tsk_def456"
  ],
  "status": "in_progress",
  "reviewDate": "2025-01-01T00:00:00.000Z"
}
'
{
  "updatedCount": 2
}

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)

Body

application/json
taskIds
string[]
required
Example:
["tsk_abc123", "tsk_def456"]
status
enum<string>
required
Available options:
todo,
in_progress,
done,
not_relevant,
failed
Example:

"in_progress"

reviewDate
string<date-time>

Optional review date to set on all tasks

Example:

"2025-01-01T00:00:00.000Z"

Response

Tasks updated successfully

updatedCount
number
Example:

2