getSavedTrips

Overview

The getSavedTrips endpoint is used to fetch your saved trips.

POST https://rivian.com/api/gql/gateway/graphql

Required Headers

a-sess: <your app session token>
u-sess: <your user session token>
csrf-token: <your CSRF token>

Request Body

{
  "operationName": "getSavedTrips",
  "variables": {},
  "query": "query getSavedTrips { getSavedTrips { id name startingSOC stops { name location { latitude longitude } targetArrivalSOCPercent type placeId { value dataProvider } } driveMode networkPreferences { networkId preference } trailerProfile avoidAdapterRequired createdAt updatedAt departureTime } }"
}

Example Response

{
  "data": {
    "getSavedTrips": []
  }
}