Skip to main content
GET
/
v0
/
business
/
{business_id}
/
vehicles
List vehicles for a business
curl --request GET \
  --url https://api.sandbox.getasset.com/v0/business/{business_id}/vehicles \
  --header 'Authorization: Bearer <token>'
{
  "data": [
    {
      "business_id": "<string>",
      "description": "<string>",
      "make": "Ford",
      "model": "F-150",
      "license_plate": "ABC-1234",
      "vin": "1FTEW1EP5KFA12345",
      "id": "<string>",
      "external_id": "1234567890",
      "year": 2019,
      "is_active": true
    }
  ],
  "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<biz_string>
required

Query Parameters

external_id
string | null

Filter vehicles by exact external ID

is_active
boolean | null

Filter vehicles by active status

page_token
string | null

The page token to for the next or previous page

page_size
integer
default:100
Required range: 1 <= x <= 100

Response

Successful Response

data
VehiclePublic · object[]
required
pagination
PaginationResponse · object
required