Your systems. Our tracking data.

Give your order system, payroll or workshop tool direct access to positions, trips, events and tasks. You create the keys yourself, and alerts are pushed to you the moment they happen.

On every business plan · read-only by default · 120 requests a minute for each key

Your first call
curl https://track.gpstracs.com/api/v2/me \
  -H "Authorization: Bearer gtk_your_key"

The answer is the account the key belongs to. From there: objects, positions, history, events, geofences, tasks and reports.

What customers
connect.

The same data you see in the portal, inside the software your company already runs.

Delivery and orders

Your order system asks where van 12 is and tells the customer "your driver is 10 minutes away".

Rental

A car leaves the allowed area: our alert reaches your booking system, which flags the contract.

Payroll and invoicing

Shift hours and kilometres go to your accounting tool each week. Nobody retypes a timesheet.

Workshop

Your maintenance software reads the odometer and engine hours and books the service itself.

Dispatch

Your job system creates tasks on the drivers' phones and reads back when each one is done.

Reporting

Positions, trips and events flow into the reports and dashboards your company already uses.

Two ways
to connect.

Ask when you want to know, or be told when something happens. Most integrations use both.

You ask

The API

Your system calls GPS Tracs over HTTPS with an API key and reads what it needs: where every object is now, a journey, the alerts of the day, the tasks and their signatures. With a full-access key it also creates tasks, places and alert rules, and sends commands to trackers.

  • JSON over HTTPS
  • One key for each system, read-only by default
  • The same rights as the account: nothing a key sees is hidden from you
We tell you

Webhooks

Add your web address to an alert rule, and each time it fires we send the event to your system: speeding, a geofence crossed, an SOS, a tracker gone quiet. No polling, and your system reacts in seconds.

  • Set per alert rule, in Settings › Alert rules
  • Signed, so you can prove it came from us
  • https:// addresses on the public internet only

Start in
three steps.

Ten minutes from a key to data in your own system.

  1. 1

    Create a key

    Sign in as the account owner and open Settings › API keys. Name the key after the system that will use it, keep it read-only unless it must change things, and type your password. Copy the key: it is shown once.

    Check the key
    curl https://track.gpstracs.com/api/v2/me \
      -H "Authorization: Bearer gtk_your_key"
  2. 2

    Read your data

    Send the key in the Authorization header of every call. Answers are JSON. The API reference lists every call, what to send and what comes back.

    Keep the key on your server, in an environment variable or a secrets store. Never put it in a web page, a phone app or an address.

    Objects, trips, alerts
    # every object, with where it is now
    curl https://track.gpstracs.com/api/v2/devices \
      -H "Authorization: Bearer gtk_your_key"
    
    # one object's trips for a day
    curl "https://track.gpstracs.com/api/v2/history/trips?device_id=61&from_date=2026-11-17&from_time=00:00&to_date=2026-11-17&to_time=23:59" \
      -H "Authorization: Bearer gtk_your_key"
    
    # the alerts of the last seven days
    curl "https://track.gpstracs.com/api/v2/monitor/events?days=7" \
      -H "Authorization: Bearer gtk_your_key"
  3. 3

    Receive alerts

    In an alert rule, switch on Webhook and enter your https:// address. We send each event there as JSON, with a timestamp and a signature. Check the signature with your webhook signing secret before you trust the content.

    What we send
    POST https://your-system.example/gpstracs
    Content-Type: application/json
    X-GPSTracs-Timestamp: 1794994867
    X-GPSTracs-Signature: sha256=5f2c…e91a
    
    {
      "type": "overspeed",
      "message": "Overspeed",
      "time": "2026-11-18 09:41:07",
      "latitude": 25.2854,
      "longitude": 51.531,
      "speed": 97,
      "device": { "id": 61, "name": "Truck 01", "imei": "…" },
      "geofence": null,
      "address": "Al Corniche Street, Doha",
      "alert_id": 14
    }
    Check that it came from us (Node.js)
    import crypto from "node:crypto";
    
    // raw: the request body exactly as it arrived, before any JSON parsing
    // secret: Settings › API keys › Webhook signing secret
    export function isFromGpsTracs(raw, headers, secret) {
      const timestamp = headers["x-gpstracs-timestamp"];
      const sent = String(headers["x-gpstracs-signature"] || "").replace("sha256=", "");
      // older than five minutes: a copy of an old delivery, not a new one
      if (Math.abs(Date.now() / 1000 - Number(timestamp)) > 300) return false;
      const ours = crypto.createHmac("sha256", secret).update(timestamp + "." + raw).digest("hex");
      return sent.length === ours.length &&
        crypto.timingSafeEqual(Buffer.from(sent), Buffer.from(ours));
    }

Built to be
connected safely.

Location data is personal. An integration should not be the weak point, so these are not options you have to find and switch on.

Keys made for systems

A key is its own credential, separate from anyone's sign-in. Give each system its own, and revoke one without touching the others.

Shown once, kept as a hash

You see a key once, when you create it. We store only a hash, so nobody at GPS Tracs can read it back.

Read-only unless you say so

A new key can only read. Full access is a deliberate choice, and creating any key needs your password again.

Out of reach of a key

No key can change a password, manage the team, touch payments, delete the account, create other keys or reach administration.

Header only, HTTPS only

Keys are accepted only in the Authorization header over HTTPS, never in an address, so they stay out of logs and browser history.

Limited in rate

120 requests a minute for each key. Beyond that the API answers 429 with Retry-After, and nothing is lost.

You hear about every key

The account owner gets an email when a key is created, and sees when and from which address each key was last used.

Signed webhooks, tried again

Every webhook carries a timestamp and an HMAC-SHA256 signature made with your secret, so your system can reject anything that is not ours. One that fails is tried again, and you can see each delivery in the portal.

More on how the whole service is protected: Security and privacy.

The limits,
stated plainly.

So you can design for them instead of discovering them. Need more? Tell us what you are building.

Requests120 a minute for each key; 429 with Retry-After: 60 beyond that
KeysUp to 10 active keys for an account
AccessRead-only by default; full access by choice
TransportHTTPS only; the key in the Authorization header
Webhook addresseshttps:// on the public internet; up to two for each alert rule
Webhook deliveryUp to six attempts over about nine hours, each with a 6-second limit; redirects are not followed
Team chatAlerts as messages in Slack, Microsoft Teams or Google Chat, by the channel's incoming-webhook address; up to two for each alert rule
Delivery recordEvery notification of the last 30 days under Settings › Alert rules, with the reason when one did not arrive

Straight
answers.

What developers ask before they start.

How do I get a key?

Sign in to the portal as the account owner and open Settings › API keys. Name the key after the system that will use it, choose read-only or full access, and type your password. Copy the key then: it is shown once.

Is the API included in my plan?

API keys are part of every business plan, within the rate limit above. Help with building an integration, higher limits and custom work are agreed with you, as for Enterprise.

Where is the full reference?

On the API reference page: every call, what to send and what comes back, with examples, and an OpenAPI file for Postman and code generators. Tell us what you want to connect and we point you to the calls that do it.

Can an AI assistant use it?

Yes. The AI connector offers the same data to assistants such as Claude through the Model Context Protocol, by sign-in or with an API key: read-only by default, and the same limits.

Can I call the API from a web page or a phone app?

No, and you should not: a key in a browser or an app can be read by anyone who has it. The API sends no cross-origin headers for that reason. Call it from your server, and let your own pages talk to your server.

What if a webhook does not arrive?

It is tried again: after 1, 5 and 30 minutes, then after 2 and 6 hours, six attempts in all. An answer that will not change, such as 404, ends it at once. Every attempt is listed under Settings › Alert rules › Deliveries with what your endpoint answered, and a failed one can be sent again from there. Each delivery carries the same `X-GPSTracs-Delivery` number on every attempt, so your system can ignore one it has already handled. The event itself also stays in the portal and in the API.

Can alerts go to Slack or Teams?

Yes. In an alert rule, switch on Team chat and paste the incoming-webhook address of a Slack, Microsoft Teams or Google Chat channel. The message says what happened, where and when, and is tried again like a webhook if the chat service does not answer.

What happens to my keys if I change my password?

Nothing: a key is a separate credential, so integrations keep running. Revoke a key to stop it. Deleting the account ends every key at once.

Building something? Tell us.

Say what you want to connect and we point you to the calls that do it.