Skip to main content
PATCH
/
fleet
/
settings
/
driver-app
Update driver app settings
curl --request PATCH \
  --url https://api.samsara.com/fleet/settings/driver-app \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "driverFleetId": "abc-trucking-co",
  "gamification": false,
  "gamificationConfig": {
    "anonymizeDriverNames": true
  },
  "orgVehicleSearch": true,
  "trailerSelection": false,
  "trailerSelectionConfig": {
    "driverTrailerCreationEnabled": false,
    "maxNumOfTrailersSelected": 7,
    "orgTrailerSearch": false
  }
}
'
{
  "data": {
    "driverFleetId": "abc_trucking_co",
    "gamification": false,
    "gamificationConfig": {
      "anonymizeDriverNames": false
    },
    "orgVehicleSearch": false,
    "trailerSelection": true,
    "trailerSelectionConfig": {
      "driverTrailerCreationEnabled": true,
      "maxNumOfTrailersSelected": 7,
      "orgTrailerSearch": false
    }
  }
}

Documentation Index

Fetch the complete documentation index at: https://samsara-showcase.mintlify.app/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json

The configuration settings for the Samsara Driver App. Can be set or updated through the Samsara Settings page or the API at any time.

driverFleetId
string

Global login user name for the fleet driver app

Pattern: ^[a-zA-Z0-9-:]*$
Example:

"abc-trucking-co"

gamification
boolean

Driver gamification feature. Enabling this will turn on the feature for all drivers using the mobile app. Drivers can be configured into peer groups within the Drivers Page. Unconfigured drivers will be grouped on an organization level.

Example:

false

gamificationConfig
object

Gamification configuration for the Driver App.

Allow drivers to search for vehicles outside of their selection tag when connected to the internet.

Example:

true

trailerSelection
boolean

Allow drivers to see and select trailers in the Samsara Driver app.

Example:

false

trailerSelectionConfig
object

Trailer selection setting configuration for the Driver App.

Response

OK response.

data
object
required

The configuration settings for the Samsara Driver App. Can be set or updated through the Samsara Settings page or the API at any time.