curl --request GET \
--url https://vehicle.api.smartcar.com/v3/connections/{connectionId} \
--header 'Authorization: Bearer <token>'{
"data": {
"id": "32c4139a-e4aa-4c6c-b357-3ae9022dbf1b",
"type": "connection",
"attributes": {
"permissions": [
"read_vehicle_info",
"read_odometer"
],
"vehicle": {
"make": "Tesla",
"model": "Model S",
"year": 2020,
"mode": "live",
"powertrainType": "BEV"
}
},
"relationships": {
"vehicle": {
"data": {
"id": "a6a425d6-c661-4b21-af7a-d6b75f80f3b0",
"type": "vehicle"
},
"links": {
"related": "https://api.example.com/vehicles/a6a425d6-c661-4b21-af7a-d6b75f80f3b0"
}
},
"user": {
"data": {
"id": "1e258add-fb21-4293-b9ab-cf8a61f7a880",
"type": "user"
}
}
},
"meta": {
"createdAt": "2024-01-01T00:00:00Z",
"updatedAt": "2024-01-02T00:00:00Z"
},
"links": {
"self": "https://api.example.com/connections/32c4139a-e4aa-4c6c-b357-3ae9022dbf1b"
}
}
}Get a specific user/vehicle connection for the application
curl --request GET \
--url https://vehicle.api.smartcar.com/v3/connections/{connectionId} \
--header 'Authorization: Bearer <token>'{
"data": {
"id": "32c4139a-e4aa-4c6c-b357-3ae9022dbf1b",
"type": "connection",
"attributes": {
"permissions": [
"read_vehicle_info",
"read_odometer"
],
"vehicle": {
"make": "Tesla",
"model": "Model S",
"year": 2020,
"mode": "live",
"powertrainType": "BEV"
}
},
"relationships": {
"vehicle": {
"data": {
"id": "a6a425d6-c661-4b21-af7a-d6b75f80f3b0",
"type": "vehicle"
},
"links": {
"related": "https://api.example.com/vehicles/a6a425d6-c661-4b21-af7a-d6b75f80f3b0"
}
},
"user": {
"data": {
"id": "1e258add-fb21-4293-b9ab-cf8a61f7a880",
"type": "user"
}
}
},
"meta": {
"createdAt": "2024-01-01T00:00:00Z",
"updatedAt": "2024-01-02T00:00:00Z"
},
"links": {
"self": "https://api.example.com/connections/32c4139a-e4aa-4c6c-b357-3ae9022dbf1b"
}
}
}The Authorization header must be provided with a valid bearer token.
Example: Authorization: Bearer {token}
The unique identifier for the connection
Get a specific user/vehicle connection for the application
Show child attributes
Was this page helpful?