Authorization
Application Access Token
Request an access token using client credentials grant type
Exchange your API credentials for an application-level access token using the OAuth 2.0 Client Credentials flow. The access token is valid for 1 hour (3600 seconds). There is no refresh token β request a new token when the current one expires.Documentation Index
Fetch the complete documentation index at: https://smartcar.com/docs/llms.txt
Use this file to discover all available pages before exploring further.
Generate your Client ID and Client Secret from the API Credentials tab in your Smartcar Dashboard. See the API Authentication Setup Guide for step-by-step instructions.
Error Responses
| Status | Error | Description |
|---|---|---|
400 | invalid_request | Missing or malformed request parameters (e.g., missing grant_type) |
401 | invalid_client | Invalid client_id or client_secret |
Whatβs Next
Now that you have an access token, hereβs what you can do with it:- API Overview β All endpoints available with your access token
- Vehicle Data β Read signals like battery level, odometer, and location
- Vehicle Commands β Lock, unlock, start/stop charging, set destination, and more
- Connections β List and manage vehicle connections
- Webhooks β Subscribe vehicles to receive data on a schedule or when events occur
Body
application/json

