Fleet AssetsWebhooksTesterDatabaseAPI Playground

REST API Reference & External System Gateway

Fleet Telematics • Remote Powertrain Control • Ingest Engine • HMAC Webhooks

Calling GoMobility APIs from External Systems (Postman, Java, Microservices)

Our APIs support standard OAuth2 Bearer Tokens AND direct API Key headers, with zero CORS friction.

1OAuth2 Bearer Flow

Call POST /api/v1/auth/token with your clientId & clientSecret. Then pass Authorization: Bearer <token>.

2Direct API Key (Fastest)

For Postman & Java microservices, skip the token handshake! Simply attach the header X-API-Key: gomobility_secret_2026.

3CORS & Network Binding

Preflight OPTIONS and CORS * headers are enabled on all routes. The server binds to 0.0.0.0 allowing external network calls.

CURRENT ACCESS CREDENTIALS
READY (DEFAULT DEV KEY: gomobility_secret_2026)

Base URL: http://localhost:3000 • Client ID: gomobility_client_iot

External Integration Code Samples
Follow these 3 simple steps to call all endpoints in Postman:Download Collection File
Step 1: Import

Open Postman → Click Import → Select the downloaded GoMobility-API-Collection.json or enter URL http://localhost:3000/api/v1/postman.json.

Step 2: Auto-Token

Run the first request POST /api/v1/auth/token. The collection test script automatically saves the token to {{accessToken}}!

Step 3: Call Any API

Call GET /api/v1/assets or POST /api/v1/commands/send. All requests are pre-configured with headers!

POST
/api/v1/auth/token
Public

Exchanges client credentials (clientId & clientSecret) for a signed 24-hour Bearer JWT token. Use this token in the Authorization header for all subsequent API requests.

REQUEST HEADERS
HeaderValueRequiredDescription
Content-Typeapplication/json
Required
JSON payload format
REQUEST BODY SCHEMA (application/json)
Field Specifications:
clientId(string)REQUIRED
Client identifier (default: gomobility_client_iot)
clientSecret(string)REQUIRED
Secret key (default: gomobility_secret_2026)
{
  "clientId": "gomobility_client_iot",
  "clientSecret": "gomobility_secret_2026"
}
RESPONSE BODY SPECIFICATIONS
200
Access token generated successfully
{
  "accessToken": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...",
  "tokenType": "Bearer",
  "expiresIn": 86400,
  "client": {
    "id": "c129e924-f37e-405e-8557-0a41d0fc878a",
    "name": "Default IoT Client Key",
    "clientId": "gomobility_client_iot"
  }
}
400
Missing clientId or clientSecret in request body
{
  "error": "Bad Request",
  "message": "Both clientId and clientSecret are required in JSON body"
}
401
Invalid credentials
{
  "error": "Unauthorized",
  "message": "Invalid clientId or clientSecret credentials"
}
Live API Playground
Auth: X-API-Key default fallback attached
GET
/api/v1/auth/credentials
Bearer / API-Key
POST
/api/v1/auth/credentials
Bearer / API-Key
GET
/api/v1/assets
Bearer / API-Key
GET
/api/v1/assets/[deviceId]
Bearer / API-Key
PATCH
/api/v1/assets/[deviceId]
Bearer / API-Key
POST
/api/v1/commands/send
Bearer / API-Key
POST
/api/v1/commands/bulk
Bearer / API-Key
GET
/api/v1/commands/history
Bearer / API-Key
POST
/api/v1/telemetry/ingest
Bearer / API-Key
GET
/api/v1/webhooks
Public
POST
/api/v1/webhooks
Public
GET
/api/v1/webhooks/logs
Public
POST
/api/v1/webhooks/test
Public
POST
/api/v1/simulator
Public