cURL
curl --request PATCH \ --url https://api.sandbox.getasset.com/v0/business/{business_id}/task/{task_id} \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "description": "Please upload the bank statement", "status": "completed" } '
{ "data": { "business_id": "<string>", "status": "pending", "task_type": "reconnect_account", "id": "<string>", "description": "ABC Business Checking", "first_requested_at": "2023-11-07T05:31:56Z", "last_requested_at": "2023-11-07T05:31:56Z", "month": "2025-01" } }
The access token received from the authorization server in the OAuth 2.0 flow.
The id of the business
"biz_GA6EG2qFxA97NZHtxeLPUy"
The id of the task
"tsk_WQMDNUHpBThYSNh4AprDBo"
The new task description
1
"Please upload the bank statement"
The new status for the task
pending
completed
"completed"
Successful Response
Show child attributes