GROperator
Public API v1

Build on the LastMile Public API

Everything a shipping company needs to run its own website or app on top of its LastMile account: create and track shipments, quote prices, check coverage, manage merchants and receive status updates.

Base URL
https://api.goldrock.live/api/public/v1
GET /auth/me
curl "https://api.goldrock.live/api/public/v1/auth/me" \
  -H "X-API-Key: lmc_live_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" \
  -H "X-API-Secret: YOUR_API_SECRET"

Two ways to connect

API key and secret

Send X-API-Key and X-API-Secret from your server. Best for websites and server-to-server integrations. Each key has its own scopes.

X-API-Key: lmc_live_…
X-API-Secret: …

Username and password

Sign in with a dashboard user (including a merchant login) and send a bearer token. Best when you act as a specific user, or for a merchant portal.

POST /auth/login
Authorization: Bearer …

How authentication works

What you can build

  • Tracking page

    Show the status timeline of any shipment by its tracking number.

  • Price calculator

    Quote the fee for a route and parcel before the customer orders.

  • Coverage checker

    Tell visitors whether you deliver to their city, with names in Arabic or English.

  • Order form

    Validate the address, then create the shipment with a safe retry.

  • Merchant portal

    Let each merchant sign in and see only its own shipments.

  • Live updates

    Receive signed webhooks when a shipment changes status.

Where to go next