TrackMe API Docs
Public, customer, owner, admin, monetization, chat, and realtime backend docs — flows first, full endpoint reference second.
These docs are the integration manual for the TrackMe backend. They document the customer app, owner app, admin dashboard, monetization flows, realtime delivery, operational endpoints, and the generated OpenAPI reference. The flow guides identify when a write is immediately live, when settlement is pending, and which follow-up read is the authoritative source of truth.
Start from the shape of your task:
Coverage map
Core flows, monetization, chat, realtime, admin, and reference coverage in one checklist.
Flow guides
How endpoints chain together end-to-end beyond the generated reference. Start here.
Admin
Admin SPA, role scopes, dashboard contract, page list, and operator actions.
API reference
Every public, customer, owner, and admin JSON endpoint generated from the live OpenAPI spec.
Getting started
Tokens, the response envelope, error codes, localisation, timezone, pagination.
Recommended Starting Points
Start with these guides for the highest-impact integration paths:
Truck management
Create is live; opening, GPS heartbeat, staff, and paid feature are separate.
Order lifecycle
The order state machine — who can move an order to which status.
Jobs
Jobs go live on create; paid publish/renew is optional promotion.
Marketplace
Listings go live on create; ads need draft, payment, and moderation.
Paid services & invoices
Monetization across featured trucks, job ads, listing distribution, marketplace ads, subscriptions.
Payments
Paymob intention, saved cards, and the webhook that flips status.
Chat & realtime
REST state, Socket.IO, SSE, typing, read receipts, push signals.
Notifications & push
Server-created inbox rows, FCM/APNs tokens, preferences, deep links.
Admin dashboard
Role-scoped widgets, realtime reloads, nav badges, and page groups.
Uploads
Trade a file for a fileId, then anchor it on the feature endpoint.
Team & staff
Invite staff by email/user id, accept/decline, change roles, revoke.
App & legal content
About content, social links, privacy/terms/support docs.
Conventions
- Base URL for all JSON endpoints:
/api/v1. - Authenticated requests send
Authorization: Bearer <oat_…>. - Every response is enveloped:
{ data, meta }on success,{ error, meta }on failure. - Send
Accept-Language: arfor Arabic copy,X-Timezone: <IANA>for localized display strings.
See Getting started for the details.