Skip to content

Glossary

Each term below has one meaning on every page of this site. A bare “key” is not used: it always means one of the items in this table. The field names on the wire, such as partner_lead_id, do not change.

Term What it is
Connection One link between MarsX and one source, for one brand and one environment (sandbox or production). Concour calls a sandbox connection a test connection and a production connection a live connection. It has its own signing secret, clients, cursors and lead IDs. A credential of one connection fails on another
Connection reference The opaque string that names a connection: conn_ and 16 lower-case base32 characters, for example conn_exampleexample22. MarsX issues it and Concour shows it. It is not a secret. You use it as {connection} in the URL
Signing secret The whsec_ value that signs each event you send. One for each connection and environment. The sandbox console shows a test key’s secret, and Concour shows a live key’s secret, once, with the label Signing secret: keep it on your server. After you remove whsec_ and decode the base64, you hold the decoded secret, which is what the HMAC uses
Test key The credentials of a sandbox connection: its connection reference and signing secret, and its status client. Your developer makes it in the sandbox console (not in Concour) with Make a test key, on the API keys page. See Get sandbox access. Open that page from Developers with Open API keys. A test key works only on https://api-sandbox.marsx.media and holds synthetic data only
Live key The same credentials for a production connection. Your developer asks for it in Concour with Request a live key, a MarsX administrator approves it, and your developer collects it with Collect your live key. A live key works only on https://api.marsx.media, and a test key never works there
Status client ID and secret The OAuth client that reads the status of an event. The sandbox console (test key) and Concour (live key) show them as Status client ID and Status secret, once, together with the signing secret of each test key and live key. The ID starts with mxc_ and the secret with mxs_. Its scope is events:read
AI agent client ID and secret The OAuth client of an AI agent, made in Concour with Make AI agent credentials, under AI agent credentials on the API keys page. Concour shows them as Client ID and Client secret. The ID starts with mxc_ and the secret with mxs_. Its scopes are events:write and events:read. A connection holds at most 2 active ones
Access token The short-lived bearer token (it starts with mxt_) that POST /oauth/token returns for a client ID and secret. It lasts 3600 seconds. It is bound to the API host that issued it, so a sandbox token is refused on production and the reverse. Send it as Authorization: Bearer <access_token>. Ask for a new one before it expires
MarsX read client The client ID and secret that you issue to MarsX for the token URL you host, so that MarsX can read your optional endpoints. You enter them in Concour under Your endpoints. It is not one of the MarsX clients above
request_id and instance One value with two names: the MarsX request reference, req_ followed by 20 characters. It is request_id in a 202, a 201 and an MCP result, and instance in a problem details error. It is a reference to quote to support, not a link
Source and partner The source is the company and system that sends leads to MarsX. The word partner appears only inside fixed field names (partner_lead_id, partner_customer_id, partner_code), which keep their names. Where a lead came from is source_channel, which is not the same thing as the source

Terms are in alphabetical order.

API. A set of fixed rules that lets one computer system talk to another.

Base64. A way to write binary data, such as a signature, using only letters, digits and a few symbols, so it can travel as text.

Catch-up check. The everyday name for reconciliation. See Reconciliation.

Cursor. A marker that tells an API where the last page of results stopped. The next_cursor you return is opaque: MarsX sends it back unchanged to get the next page. A cursor older than your replay window gets 410.

Envelope. The outer JSON object of an event, with type, timestamp and data. The timestamp is when the event happened. The time of each delivery attempt is the webhook-timestamp header.

Event. One change to one lead, sent as one request. The four kinds are lead.new, lead.update, lead.withdraw and lead.delete.

Header. A labelled line that travels with a web request, before the body. The signing headers start with webhook-.

HMAC-SHA256. A way to make a fingerprint of a message with a shared secret. Both sides hold the signing secret. It is scheme v1.

HTTPS and TLS. The secure way web traffic travels. MarsX hosts accept only HTTPS. Endpoints you host must use TLS 1.2 or higher.

Inbox. The safe store where MarsX puts a verified event before it answers 202.

Triage queue. Where MarsX places a lead whose preferred_dealer_code is not on the dealer list or belongs to an outlet that takes no car sales lead. MarsX still accepts the lead, and a MarsX team member routes it by hand.

JSON. A plain-text format for structured data, written with braces and quoted names.

Lead. A customer enquiry about a vehicle, as one record.

OAuth client credentials. A standard way for one system to get a short-lived access token by showing a client ID and a client secret. MarsX uses it to read your endpoints, and you use it to read the event status or to run an AI agent.

Partner code. A short label that MarsX issues to each source. It is not the identity of a connection, and it appears in file names. The name partner_code is fixed.

partner_lead_id. Your stable ID for a lead within one connection. Never reused.

Pending restriction. A restriction that MarsX places on a lead when it stores a lead.withdraw or lead.delete, before the background worker has processed it.

Privacy marker. A flag on a lead that says personal data is restricted. A later update cannot clear it. After a marker is set, every later lead.new or lead.update for that lead is set aside (privacy_marker_set) until an approved MarsX privacy process lifts the marker.

Problem details. The standard JSON format for errors (RFC 9457).

Processing state. What the worker decided about one event: queued, applied, ignored_stale_revision, ignored_duplicate_content or quarantined.

API push. The target route, where your system sends each lead event to MarsX as it happens, signed, with one call to POST /v1/sources/{connection}/events. You may also host four optional endpoints that MarsX reads, as a safety net. See Send a lead event.

Quarantined. A processing_state for an event that MarsX stored but did not apply, and holds for review. The reason says why: revision_conflict, privacy_marker_set or privacy_request_conflict.

Reconciliation. MarsX’s scheduled, read-only check that finds events a push missed. Every 15 minutes, if you host the optional endpoints, MarsX reads your changes and privacy-events feeds. MarsX only reads. It never writes to your system.

Revision. See source_revision.

Sandbox. A test copy of the service with made-up data only. Events sent to it never reach dealers.

Shared sheet. The route that is available now, until push is live: you add one row per lead event to a Google Sheet that MarsX owns, and MarsX sends each row through the push endpoint. MarsX closes the sheet when push is live. See Shared sheet.

Signature. A short piece of text that only the holder of the signing secret can produce. MarsX checks it to confirm a request came from you and was not changed.

Source. The company and system that sends leads to MarsX. The place a lead started, such as a website chat, a web form, a marketplace or an ad platform, is its source_channel.

source_revision. A whole number that goes up with every change to a lead. It decides the order of changes. On a new lead it may be left out, and MarsX uses 1.

Standard Webhooks. An open specification for signing and sending messages from one system to another. MarsX follows version 1.0.0.

Technical contact. The person at your company who deals with MarsX. MarsX sends onboarding details and results to this person.

Test vector. A set of made-up inputs with the exact result they must give. You use it to prove that your signing code is right.

UTC offset. The number of hours a local time differs from UTC, for example +07:00. Every date-time carries one. MarsX stores the instant and shows WIB.

Webhook. A message that one system sends to another when something happens.

webhook-id. The ID of one event. The same on every retry of that event, and never reused for a different event: that gets 409. It removes repeated deliveries and does nothing else.

WIB. Western Indonesia Time, UTC plus 7 hours.

Worker. The MarsX background process that takes events from the inbox and applies them.