Vehicle Endpoints
User
Returns the ID of the vehicle owner who granted access to your application.
GET
/
user
curl "https://api.smartcar.com/v2.0/user" \
-H "Authorization: Bearer {token}" \
-X "GET"
{
"id": "e0514ef4-5226-11e8-8c13-8f6e8f02e27e"
}
This should be used as the static unique identifier for storing the access token and refresh token pair in your database. Note: A single user can own multiple vehicles, and multiple users can own the same vehicle.
When using Single Select for Connect, a single user with multiple vehicles
will have a 1:1 (access_token
:vehicle_id
) mapping.
Response
id
string
A user ID (UUID v4).
Was this page helpful?
curl "https://api.smartcar.com/v2.0/user" \
-H "Authorization: Bearer {token}" \
-X "GET"
{
"id": "e0514ef4-5226-11e8-8c13-8f6e8f02e27e"
}