Dealership APIOverview

Dealership API

Connect approved external systems to a dealership's Driverseat data. The public API supports read-only dealership data plus vehicle photo replacement by VIN.

#Base URL

All requests are made against the production base URL over HTTPS.

Base URL
https://api.driverseat.io

#Authentication

Requests authenticate with a dealership API key in the x-api-key header. A key only authorizes the dealership it was generated for.

HTTP
x-api-key: sk-driverseat-...
Never put API keys in browser code, public repositories, logs, or client-side tag managers. Treat them like server-side secrets.

#Request format

  • Send JSON request bodies with Content-Type: application/json.
  • Use the dealership ID that matches the API key.
  • List endpoints use limit and offset pagination.
  • Successful requests return JSON; errors use standard HTTP status codes.

#Versioning and Limits

Version
Current public REST routes are under /v1.
Auth scope
A dealership API key can only read or update data for the dealership that owns the key.
Pagination
List endpoints default to limit=100 and offset=0. The maximum limit is 500.
OpenAPI
The generated OpenAPI document is available at /openapi.json.
Errors
Invalid input returns 400, missing or invalid API keys return 401, and records outside the authorized dealership return 404.

#Entities

Most routes are read-only entity endpoints scoped to the dealership behind the API key. Detail routes use the UUID returned by the corresponding list endpoint.

EntityList endpointDetail endpointFiltersNotes
Blog PostGET /v1/blog-postsGET /v1/blog-posts/{id}state, createdBy, search, datesArchived posts are excluded unless state=ARCHIVED is provided.
DealershipNoneGET /v1/dealershipNoneReturns dealership metadata plus nested site, business departments, employee departments, and inventory settings.
EmployeeGET /v1/employeesGET /v1/employees/{id}departmentId, search, datesIncludes nested employee department and profile image metadata.
Employee DepartmentGET /v1/employee-departmentsGET /v1/employee-departments/{id}search, datesIncludes nested employee summaries.
FormGET /v1/formsGET /v1/forms/{id}service, search, datesIncludes nested active form fields.
Form SubmissionGET /v1/form-submissionsGET /v1/form-submissions/{id}formId, search, datesIncludes source form summary and submitted field values.
InquiryGET /v1/inquiriesGET /v1/inquiries/{id}type, marketStatus, service, search, datesIncludes lead, vehicle, form, employee, and trade-in context.
LeadGET /v1/leadsGET /v1/leads/{id}search, datesIncludes inquiry count, latest inquiry summary, and nested inquiry summaries.
PageGET /v1/pagesGET /v1/pages/{id}state, kind, surface, search, datesArchived pages are excluded unless state=ARCHIVED is provided.
SiteNoneGET /v1/siteNoneReturns website, inventory, payment calculator, lead form, and contact settings.
Trade-InGET /v1/trade-insGET /v1/trade-ins/{id}search, datesIncludes lead summary, condition scores, photos, valuation, and payoff fields.
User EventGET /v1/user-eventsGET /v1/user-events/{id}type, userId, entityId, datesIncludes actor users, message JSON, integration type, and referenced entity IDs.
VehicleGET /v1/vehiclesGET /v1/vehicles/{id}condition, status, sold, displayOnSite, vin, stockNumber, search, datesAlso documents POST /v1/update-photos for replacing ordered photo URLs.

#Shared Objects

Entity responses reuse these nested shapes for media, users, summaries, and relationship fields.

File

Image and media metadata returned for dealership, site, page, post, and user images.

FieldTypeNullableNotes
iduuidNoFile ID.
publicIdstringNoCloudinary public ID.
resourceTypestringNoCloudinary resource type.
formatstringNoFile format.
widthnumberNoPixel width.
heightnumberNoPixel height.
altTextstringYesAlt text when configured.
placeholderstringYesLow-quality image placeholder.

User

Dashboard user summary returned on createdBy and collaborators fields.

FieldTypeNullableNotes
iduuidNoUser ID.
namestringYesDisplay name.
emailstringNoEmail address.
typestringNoUser type.
profileImageFileYesProfile image metadata.

LeadSummary

Customer summary embedded in inquiry responses.

FieldTypeNullableNotes
iduuidNoLead ID.
namestringNoLead name.
emailstringNoLead email.
phoneNumberstringYesLead phone number.

InquirySummary

Latest inquiry summary embedded in lead responses.

FieldTypeNullableNotes
iduuidNoInquiry ID.
typeInquiryTypeNoGENERALSALESSERVICETRADE_IN
marketStatusInquiryMarketStatusNoUNKNOWNIN_MARKETOUT_OF_MARKET
servicestringNoService/form routing identifier.
providerstringNoProvider that created the inquiry.
createdAtdatetimeNoCreation timestamp.

VehicleSummary

Compact vehicle summary embedded in inquiry and page responses.

FieldTypeNullableNotes
iduuidNoVehicle ID.
titlestringNoGenerated display title.
vinstringNoVehicle identification number.
stockNumberstringYesStock number.
slugstringNoVehicle detail slug.
yearnumberNoModel year.
makestringNoMake.
modelstringNoModel.
trimstringNoTrim.
conditionVehicleConditionNoNEWUSED
statusVehicleStatusNoIN_STOCKIN_TRANSIT
soldbooleanNoWhether the vehicle is sold.
cpobooleanNoCertified pre-owned flag.

SiteSummary

Website summary embedded in dealership and inquiry responses.

FieldTypeNullableNotes
iduuidNoSite ID.
domainstringNoConfigured custom domain.
subdomainstringNoDriverseat subdomain.
publishedAtdatetimeYesPublication timestamp.

EmployeeSummary

Employee summary embedded in inquiry responses.

FieldTypeNullableNotes
iduuidNoEmployee ID.
namestringNoEmployee name.
positionstringNoJob title or position.
emailstringYesEmail address.
phoneNumberstringYesPhone number.
departmentIduuidNoDepartment ID.

#Continue