openpilot auth

Pair a device to the authenticated user's account.

post/v2/pilotpair

Request

  • Base URL
    https://api.comma.ai
  • Auth
    HTTP bearer

Request body application/x-www-form-urlencoded

pair_tokenstring required

JWT signed by your device private key. Payload contains {"identity": <dongle-id>, "pair": true}

Response

JSON object containing pairing result

first_pairboolean required

True if the device was unpaired prior to this call. False if the device was previously paired by an authenticated user.

Changes