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" }'
Tasks
Update task status
Quick status update. Transitioning to “completed” auto-populates completedDate.
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" }'
PUT https://www.wiseyield.co/api/v1/tasks/{id}/status
status. Setting completed auto-populates completedDate to now (if not already set).
Authentication
Requires a key with thetasks:write scope.
Path parameters
string
required
Task UUID.
Request body
string
required
One of
pending, in_progress, completed, overdue, cancelled.Response
Returns the updated task wrapped underdata.
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
| Status | When |
|---|---|
400 INVALID_ID | {id} is not a valid UUID |
400 VALIDATION_ERROR | status not in the allowed enum |
401 | Missing, malformed, expired, or revoked API key |
403 INSUFFICIENT_SCOPE | Key lacks tasks:write scope |
404 NOT_FOUND | Task doesn’t exist or belongs to another user |
429 RATE_LIMIT_EXCEEDED | Per-user rate limit reached |
5xx | Server error |