GET
/
v2.0
/
management
/
connections
curl -X GET "https://management.smartcar.com/v2.0/management/connections" \
  -H "Authorization: Basic $(echo -n "default:$SMARTCAR_APP_MANAGEMENT_TOKEN" | base64)" \
  -H "Content-Type: application/json"
{
  "connections": [
    {
      "userId": "<string>",
      "vehicleId": "<string>",
      "connectedAt": "<string>",
      "mode": "<string>"
    }
  ],
  "paging": {
    "cursor": "<string>"
  }
}

Request

Header
Authorization
string
required
In the format Basic base64(default:{application_management_token}). You can find your application_management_token under your Application Configuration in the Smartcar Dashboard.
Query
limit
integer
default:"10"
Number of connections to return per page. Max: 100
cursor
string
Used for accessing pages other than the first page. Each page returned has a cursor value that can be passed here to fetch the “next” page.
user_id
string
Filter for connections created by the provider user ID.
vehicle_id
string
Filter for connections to the provided vehicle ID.
mode
string
Filter for connections by either live, simulated, or the deprecated test mode.
curl -X GET "https://management.smartcar.com/v2.0/management/connections" \
  -H "Authorization: Basic $(echo -n "default:$SMARTCAR_APP_MANAGEMENT_TOKEN" | base64)" \
  -H "Content-Type: application/json"

Response

connections
array
An array of connections
paging
Object
Metadata about the current query