API Overview
Authentication
Journal Entry
Ledger
Reports
Transaction
Request
Request
Create a Task for a Business
POST
/
v0
/
business
/
{business_id}
/
task
Copy
Ask AI
curl --request POST \
--url https://api.sandbox.getasset.com/v0/business/{business_id}/task \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"description": "<string>",
"task_type": "reconnect_account",
"transaction_id": "txn_WQMDNUHpBThYSNh4AprDBo",
"external_account_id": "eac_WQMDNUHpBThYSNh4AprDBo",
"metadata_": {
"date_from": "2024-12-31",
"date_to": "2025-01-13"
}
}'
Copy
Ask AI
{
"data": {
"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"
}
}
Authorizations
The access token received from the authorization server in the OAuth 2.0 flow.
Path Parameters
Body
application/json
Response
201
application/json
Successful Response
The response is of type object
.
Copy
Ask AI
curl --request POST \
--url https://api.sandbox.getasset.com/v0/business/{business_id}/task \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"description": "<string>",
"task_type": "reconnect_account",
"transaction_id": "txn_WQMDNUHpBThYSNh4AprDBo",
"external_account_id": "eac_WQMDNUHpBThYSNh4AprDBo",
"metadata_": {
"date_from": "2024-12-31",
"date_to": "2025-01-13"
}
}'
Copy
Ask AI
{
"data": {
"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"
}
}
Assistant
Responses are generated using AI and may contain mistakes.