GET
/
v2.0
/
management
/
connections
curl 'https://management.smartcar.com/v2.0/management/connections?limit={limit}' \
  -X GET \
  -H 'Authorization: Basic base64(default:{application_management_token})' \
{
  "connections": [
    {
      "userId": "<string>",
      "vehicleId": "<string>",
      "createdAt": "<string>"
    }
  ],
  "paging": {
    "cursor": "<string>"
  }
}

Request

Header

Authorization
string

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.

Response

connections
array

An array of connections

paging
Object

Metadata about the current query