Interfaces
REST and JSON over HTTPS, WebSocket event streams, OpenAPI 3.1 generated from the services' code.
Developers
Every interface the platform exposes is published here as OpenAPI 3, generated from the code itself. There is no gated tier: the operations our own guard, client, partner and employee apps call are the ones documented below.
Interface specifications only. Motorcade software and source code are proprietary. Publishing these specifications lets customers and their integrators build against Motorcade without our engineers; it grants no licence to Motorcade software or source code. Your organisation's data remains yours.
Every operation, by the surface it is served on.
The gateway the mobile apps use, and the place to start for integrations.
https://api.motorcade.vipBookings, sites, live coverage, reports, invoices, messaging and data export.
https://client.motorcade.vipGuards, compliance documents, the job marketplace and assignments.
https://partner.motorcade.vipBack office: people, scheduling, dispatch, accounting, payroll, CRM and reports.
https://employee.motorcade.vipWhat a signer's browser calls after opening a signing link.
https://sign.motorcade.vipEach backend service's own interface, for on-premises or government-enclave deployment.
booking, dispatch, transport, reports, …1. Get an access token from Motorcade's identity provider (Keycloak, OpenID Connect). Apps sign users in with the authorisation-code flow and PKCE. For a server-to-server integration, ask us for an integration client for your organisation.
Issuer https://sso.motorcade.vip/realms/motorcade-prod
Discovery https://sso.motorcade.vip/realms/motorcade-prod/.well-known/openid-configuration
2. Call the API with the token. This lists every dataset your organisation can export:
curl https://api.motorcade.vip/api/reports/export/datasets \
-H "Authorization: Bearer $ACCESS_TOKEN" \
-H "Accept: application/json"
3. Find the operation you need in the API reference. Each one shows its full URL, the authentication and roles it requires, its parameters, its request body and its response schemas, with a ready-to-run example.
Send the access token as Authorization: Bearer <token>. Roles come from the user's groups in Motorcade's directory and travel in the token. Organisation scope never comes from a request parameter: the gateway verifies the token and passes the services a signed user context, and each service limits every query to the caller's own organisation. A client sees only its own sites, people and records; a partner company sees only its own guards and jobs.
| Host | Serves | Authentication |
|---|---|---|
api.motorcade.vip | Public API gateway (apps, integrations) | Bearer token |
client.motorcade.vip | Client portal | Signed-in session or bearer token |
partner.motorcade.vip | Partner portal | Signed-in session or bearer token |
employee.motorcade.vip | Employee portal | Signed-in session or bearer token |
sign.motorcade.vip | Signer pages | Signing link plus access code or one-time code |
sso.motorcade.vip | Identity provider (OIDC) | — |
Payment-provider webhooks are the only operations without a user token; the service verifies each request's signature instead.
| Topic | How it works |
|---|---|
| Format | JSON request and response bodies; timestamps in ISO 8601 (UTC). Exports also come as CSV, Excel and PDF. |
| Paging | List operations take limit and offset (a few take page); filters such as q, status, since and until are listed per operation. |
| Errors | A JSON body with a detail field. 401 no or invalid token · 403 signed in but not allowed (wrong role or organisation) · 404 not found or not visible to you · 409 conflicting state · 422 validation failed, with the failing fields listed · 429 slow down and retry. |
| Versions | /v1/… paths are stable. /api/… paths follow the apps and are documented as they are today; the reference is regenerated from the code on every release. |
Messaging and live updates stream over WebSocket. Pass the access token as a token query parameter (browsers cannot set headers on a WebSocket) or as a bearer header:
wss://api.motorcade.vip/api/communications/ws/inbox?token=$ACCESS_TOKEN
wss://api.motorcade.vip/api/communications/ws/channels/{channel_id}?token=$ACCESS_TOKEN
Mobile push notifications carry no content. The device receives a wake-up and fetches the event with GET /api/push/events/{event_id}, so nothing sensitive passes through the push providers.
An organisation can export all of its operational data at any time: sites and posts, bookings, shifts and assignments, patrol checkpoints and scans, guard reports and incidents, safety alerts, transport custody records, message metadata, a document index, invoices and service requests. Every export is limited to your own organisation and recorded in the audit log.
| Operation | Returns |
|---|---|
GET /api/reports/export/datasets | Every dataset, its columns and the formats offered |
GET /api/reports/export/{dataset}?format=csv | One dataset as CSV, JSON, Excel or PDF |
GET /api/reports/export/bundle | Everything in one ZIP: each dataset as CSV and JSON, a data dictionary, and a manifest with a SHA-256 checksum per file |
Client administrators can also download the bundle from the client portal.
REST and JSON over HTTPS, WebSocket event streams, OpenAPI 3.1 generated from the services' code.
OpenID Connect and OAuth 2.0 (Keycloak); X.509 certificates between internal services.
WebRTC calls and meetings through LiveKit (Apache-2.0) with TURN relay.
PostgreSQL; OCI containers on hardened Red Hat Enterprise Linux; self-hosted routing with no third-party map calls. Deployable in a customer's own enclave from container images.
Customers and their integrators can request an integration client, a sandbox organisation or help with an integration through the contact page.