HTTPS and secrets
Three rules cover most of the security of this integration: use HTTPS only, keep secrets out of email and logs, and never call MarsX from a browser.
HTTPS only
Section titled “HTTPS only”The MarsX API hosts are HTTPS only. Port 80 answers nothing but a 301 to the https:// URL. Your sender must:
- use the exact
https://base URL from these docs - refuse to send to any URL that is not
httpsbefore it attaches credentials or lead data - not follow redirects, and treat any
3xxas a failure to investigate, never as a retry target
The endpoints you host for MarsX follow the same rule: HTTPS, TLS 1.2 or higher, no redirects.
How secrets travel
Section titled “How secrets travel”MarsX gives your developer access to the sandbox console and to Concour. Your developer makes the test key in the sandbox console. A MarsX administrator approves the live key, and your developer collects it in Concour. Both are under Developers, then API keys (see the credentials and identity terms). The signing secret is shown once: keep it on your server. The connection reference is shown in Concour. Sandbox and production are separate. You use:
- the connection reference,
conn_and 16 lower-case base32 characters - the signing secret, which starts with
whsec_, one for each connection and environment - optionally, a status client ID and secret (Status client ID and Status secret in Concour), for the status read
If you host the optional endpoints, your developer gives MarsX the base URL, the token URL and the client ID and secret of the MarsX read client in Concour, under Your endpoints on the Developers page. The secret is saved and never shown again. The MarsX read client, which MarsX uses to read your endpoints, is different from the clients above. Never paste a secret into email or WhatsApp.
Never send secrets, tokens, passwords or lead data by email or WhatsApp. Never paste them into a ticket, a chat or an AI agent.
The sandbox console is where test keys are made. It opens the sign-in page. Sign in with the email address MarsX gave developer access: the console emails you a code.
No account? MarsX sets up partner access.
Open Concour opens the Developers home, where the API keys card opens your keys.
No account? MarsX sets up partner access.
Rules for every route
Section titled “Rules for every route”| Rule | Detail |
|---|---|
| Browsers | Never call the MarsX endpoint from a browser or an app. Sign on your server only |
| Lead files | Never by email or WhatsApp. For the privacy list, use the signed PUT only |
| Replay protection | A signed timestamp with a 300 second window, and a webhook-id that is bound to one event (a repeat is a duplicate, a different event gets 409) |
| Privacy events | Sent as soon as the customer asks. Never batched. Replayable for at least 90 days |
| Removal events | Carry identity and request fields only. No contact, interest or profile data |
| Consent evidence | Every new and update carries contact_consent (yes) and consent_time |
| Logging by you | Keep secrets and full request bodies out of logs. Keep personal data out of URLs and error messages |
| Logging by MarsX | Metadata only: connection, event type, webhook-id, instance, status and timing. Never field values, bodies, signatures or tokens |
| Write-back | None. MarsX never writes anything back to your system |
| Errors | application/problem+json. They never echo personal data |
| Signing secret | One for each connection and environment. A test key never works in production |
Why dealers work only in Concour
Section titled “Why dealers work only in Concour”Concour is the only working surface for the brand and its dealers. Your data is a feed. If the same leads also appear in your own dashboard, dealers could work two statuses and do the work twice. So:
- Leads that you also show in your own dashboard must be read-only there, or carry no status field. This is a condition of the connection.
- You never send status, assignment, follow-up, test drives, sales or SPK numbers to MarsX.
- A status in your own dashboard is not authoritative and does not feed MarsX.
Why AI values are kept apart
Section titled “Why AI values are kept apart”ai_intent_label and ai_summary are optional. MarsX stores them apart from customer facts, and they never decide access or routing. Do not send AI guesses about affordability or location.
Never do this
Section titled “Never do this”Never call MarsX from a browser or an app
Your signing secret must stay on your server. Anything in a browser can be read by its user.
Never reuse an old webhook-timestamp or signature on a retry
Keep the same webhook-id and the same body. Make a fresh webhook-timestamp and a fresh signature every time.
Never treat anything but 202 as confirmation
A timeout, 429, 502, 503 or 504 does not confirm anything. Retry the same event.
Never log secrets, bodies or personal data
Keep secrets, tokens and full request bodies out of logs. Keep personal data out of URLs and error messages.
Never reuse a revision number for different content
The number must rise with every change. Reuse sets the event aside as a conflict.
Never send status or sales outcomes
No status, assignment, follow-up, test drives, sales or SPK numbers. Dealers record these in Concour.
Never drop a rejected withdrawal or deletion
Fix the cause and send it again. Do not batch these events or hold them for later.
Never send identity or money documents
No KTP or family-card numbers, income, financing documents or full chat transcripts. No AI guesses about affordability or location.

