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>",
"industry": "<string>",
"entries_start": "2023-11-07T05:31:56Z",
"entity_type": "c-corp",
"fiscal_year": "<string>",
"status": "active",
"plaid_user_token": "<string>",
"id": "<string>"
}
}
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>",
"industry": "<string>",
"entries_start": "2023-11-07T05:31:56Z",
"entity_type": "c-corp",
"fiscal_year": "<string>",
"status": "active",
"plaid_user_token": "<string>",
"id": "<string>"
}
}
The access token received from the authorization server in the OAuth 2.0 flow.
Successful Response
The response is of type object
.