API Overview
Authentication
Journal Entry
Ledger
Reports
Transaction
Business
Create a Business
POST
/
v0
/
business
curl --request POST \
--url https://api.sandbox.getasset.com/v0/business \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"name": "Roofing Pros",
"entity_type": "c-corp",
"entries_start": "2023-11-07T05:31:56Z",
"fiscal_year": "<string>",
"status": "active"
}'
{
"data": {
"tenant_id": "<string>",
"name": "<string>",
"entries_start": "2023-11-07T05:31:56Z",
"entity_type": "c-corp",
"fiscal_year": "<string>",
"status": "active",
"plaid_user_token": "<string>",
"id": "<string>"
}
}
Authorizations
The access token received from the authorization server in the OAuth 2.0 flow.
Body
application/json
Response
201
application/json
Successful Response
The response is of type object
.
curl --request POST \
--url https://api.sandbox.getasset.com/v0/business \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"name": "Roofing Pros",
"entity_type": "c-corp",
"entries_start": "2023-11-07T05:31:56Z",
"fiscal_year": "<string>",
"status": "active"
}'
{
"data": {
"tenant_id": "<string>",
"name": "<string>",
"entries_start": "2023-11-07T05:31:56Z",
"entity_type": "c-corp",
"fiscal_year": "<string>",
"status": "active",
"plaid_user_token": "<string>",
"id": "<string>"
}
}
Assistant
Responses are generated using AI and may contain mistakes.