GET
/
v0
/
business
/
{business_id}
/
task
curl --request GET \
  --url https://api.sandbox.getasset.com/v0/business/{business_id}/task \
  --header 'Authorization: Bearer <token>'
{
  "data": {
    "tasks": [
      {
        "business_id": "biz_Pk2fNFDd8wj7EFeLWJywc7",
        "description": "ABC Business Checking",
        "status": "pending",
        "task_type": "reconnect_account",
        "first_requested_at": "2023-11-07T05:31:56Z",
        "last_requested_at": "2023-11-07T05:31:56Z",
        "id": "tsk_R2fAXCjqJPdpYata112zyW"
      }
    ],
    "counts": [
      {
        "task_type": "categorize_transaction",
        "count": 123
      }
    ]
  },
  "pagination": {
    "next_page_token": "<string>",
    "previous_page_token": "<string>"
  }
}

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Path Parameters

business_id
string
required

Query Parameters

status
enum<string>

Filter tasks by status. Defaults to pending

Available options:
pending,
completed
page_token
string | null
page_size
integer
default:100
Required range: 1 <= x <= 100

Response

200
application/json

Successful Response

The response is of type object.