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.
Call POST /api/v1/auth/token with your clientId & clientSecret. Then pass Authorization: Bearer <token>.
For Postman & Java microservices, skip the token handshake! Simply attach the header X-API-Key: gomobility_secret_2026.
Preflight OPTIONS and CORS * headers are enabled on all routes. The server binds to 0.0.0.0 allowing external network calls.
Base URL: http://localhost:3000 • Client ID: gomobility_client_iot
Open Postman → Click Import → Select the downloaded GoMobility-API-Collection.json or enter URL http://localhost:3000/api/v1/postman.json.
Run the first request POST /api/v1/auth/token. The collection test script automatically saves the token to {{accessToken}}!
Call GET /api/v1/assets or POST /api/v1/commands/send. All requests are pre-configured with headers!
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.
| Header | Value | Required | Description |
|---|---|---|---|
| Content-Type | application/json | Required | JSON payload format |
{
"clientId": "gomobility_client_iot",
"clientSecret": "gomobility_secret_2026"
}{
"accessToken": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...",
"tokenType": "Bearer",
"expiresIn": 86400,
"client": {
"id": "c129e924-f37e-405e-8557-0a41d0fc878a",
"name": "Default IoT Client Key",
"clientId": "gomobility_client_iot"
}
}{
"error": "Bad Request",
"message": "Both clientId and clientSecret are required in JSON body"
}{
"error": "Unauthorized",
"message": "Invalid clientId or clientSecret credentials"
}