Skip to main content
POST
/
gateways
Activate a new gateway
curl --request POST \
  --url https://api.samsara.com/gateways \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "serial": "GFRV-43N-VGX"
}
'
{
  "data": {
    "model": "VG34",
    "serial": "GFRV-43N-VGX",
    "accessoryDevices": [
      {
        "model": "EM11",
        "serial": "ABCD-123-EFG"
      }
    ],
    "asset": {
      "externalIds": {},
      "id": "8393848111"
    },
    "connectionStatus": {
      "healthStatus": "Not Installed",
      "lastConnected": "2019-06-13T19:08:25Z"
    },
    "dataUsageLast30Days": {
      "cellularDataUsageBytes": 4473822362122348000,
      "hotspotUsageBytes": 8217313748913212000
    }
  }
}

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
serial
string
required

Gateway serial number

Pattern: ^[a-zA-Z0-9]{4}-[a-zA-Z0-9]{3}-[a-zA-Z0-9]{3}|DC_([a-zA-Z0-9]){10}|SC_([a-zA-Z0-9]){10}$
Example:

"GFRV-43N-VGX"

Response

OK response.

data
object
required