Skip to content

Show Apikey

GET
/api/v1/apikeys/apikey_details.json

Returns the API key details for the authenticated token: the key id, its permissions, and the list of dealerships the key can access. Each dealership includes id, name, slug, locations (with id, name, location_type), and users (with id, name, email). Use this endpoint to obtain dealership and location identifiers when integrating with the Leads API or other Public API endpoints.

Retrieves apikey

Examples
{
"id": 1,
"permissions": [
"read:car"
],
"dealerships": [
{
"id": 1,
"name": "Dealership 1",
"slug": "dealership-1",
"locations": [
{
"id": 1,
"name": "Location 1",
"location_type": "sales"
}
],
"users": [
{
"id": 1,
"name": "User 1",
"email": "user1@example.com"
}
]
}
]
}

Unauthorized