Skip to main content

Quickstart

Authenticate, query your fleet, and explore the API — all in under 5 minutes.

Prerequisites​

  • API credentials: email, password, and apiKey provided during onboarding

Step 1 — Authenticate​

Obtain a JWT token by calling the login endpoint:

curl -s -X POST \
-H "tenant: $TENANT" \
-H "Content-Type: application/json" \
-d '{"email":"dev@yourcompany.com","password":"your_password"}' \
"https://$TENANT/apidev/v1/login"

Response:

{
"success": true,
"data": { "authorization": { "token": "eyJhbGciOi..." } },
"meta": {}
}
tip

The token is valid for 1 hour. There is no refresh endpoint — simply re-authenticate when it expires. The API Key (gtk_prod_...) is permanent and was provided during onboarding — you'll use it alongside the token in every request from here on.

Step 2 — Query your fleet​

Use the token + API key to call any protected endpoint. Every request requires 3 headers:

Authorization: Bearer <token>
X-API-Key: <your_api_key>
tenant: <your_tenant>
curl -s \
-H "Authorization: Bearer $TOKEN" \
-H "X-API-Key: $APIKEY" \
-H "tenant: $TENANT" \
"https://$TENANT/apidev/v1/fleet/devices?limit=5&status=A"

Response:

{
"success": true,
"data": [
{
"id": "104820579301",
"name": "Truck-42",
"plate": "ABC-1234",
"status": "A",
"lastPosition": {
"latitude": -34.6037,
"longitude": -58.3816,
"speed": 45,
"timestamp": "2026-04-04T14:23:00"
}
}
],
"meta": { "total": 128, "limit": 5, "offset": 0 }
}

Step 3 — Explore the full API​

You've authenticated, read data, and performed a write operation. Here's what else you can do:

DomainTry thisEndpoint
FleetList vehicles with GPS positionGET /fleet/devices
FleetList drivers and assignmentsGET /fleet/drivers
TelemetryIngest GPS points from devicesPOST /telemetry
TasksCreate and update tasksPOST /tasks
TasksDownload task attachmentsGET /tasks/{id}/attachments
CatalogsOrigins, products, coveragesGET /catalogs/origins
GeocodingResolve an address to coordinatesPOST /geocoding/forward
ReportsKilometers traveled in a date rangeGET /reports/avl/kilometers
ReportsTask detail with dynamic fieldsGET /reports/gt/tasks-general
ReportsLive location of the field crewGET /reports/gt/live-location
AccountsCreate and update customer accountsPOST /accounts
WorkflowStart a process instance and complete tasksPOST /workflow/instances
KanbanMove a card across the boardPUT /kanban/cards/{id}/move
Supplier PortalDeclare invoice amountsPOST /supplier-portal/invoices/declare

All paths are prefixed with /apidev/v1/.

Testing with Postman​

A ready-to-use Postman collection is available. See the Postman Collection page for import instructions and the full list of pre-built requests.

What's next​

By use case:

Fundamentals: