Skip to main content
PUT
/
api
/
v1
/
tasks
/
{id}
/
status
curl -X PUT 'https://www.wiseyield.co/api/v1/tasks/aaaaaaaa.../status' \
  -H "Authorization: Bearer $WISEYIELD_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{ "status": "in_progress" }'

Documentation Index

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

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

PUT https://www.wiseyield.co/api/v1/tasks/{id}/status
A focused alternative to PUT /api/v1/tasks/ when you only need to change status. Setting completed auto-populates completedDate to now (if not already set).

Authentication

Requires a key with the tasks:write scope.

Path parameters

id
string
required
Task UUID.

Request body

status
string
required
One of pending, in_progress, completed, overdue, cancelled.

Response

Returns the updated task wrapped under data.
curl -X PUT 'https://www.wiseyield.co/api/v1/tasks/aaaaaaaa.../status' \
  -H "Authorization: Bearer $WISEYIELD_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{ "status": "in_progress" }'

Errors

StatusWhen
400 INVALID_ID{id} is not a valid UUID
400 VALIDATION_ERRORstatus not in the allowed enum
401Missing, malformed, expired, or revoked API key
403 INSUFFICIENT_SCOPEKey lacks tasks:write scope
404 NOT_FOUNDTask doesn’t exist or belongs to another user
429 RATE_LIMIT_EXCEEDEDPer-user rate limit reached
5xxServer error