Getting Started
Quickstart
Getting Started
To begin using the Asset API, follow these steps:
- Obtain API Tokens: After registration, retrieve your API Tokens from the Asset Tenant dashboard.
- Sign Up: Register for an Asset Tenant Account to obtain your API credentials.
- Authentication: Authenticate your application using the provided credentials.
Making Your First API Call
Once authenticated, you can start making API requests. For instance, to Create your first Business:
Request:
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": "2024-12-31T11:59:59Z",
"status": "active"
}' Response:
{
"tenant_id": "b_123456",
"name": "Roofing Pros",
"entity_type": "c-corp",
"entries_start": "2023-11-07T05:31:56Z",
"fiscal_year": "2024-12-31T11:59:59Z",
"status": "active",
"id": "b_123456",
}