Responses and retries
Every POST to MarsX gets an answer. Read the status code first. This page tells you what to do for each one, and how to retry without losing or duplicating an event.
Status table
Section titled “Status table”The table of every status, what it means and what you do, is on Errors. It is kept in that one place.
Errors use application/problem+json. Errors lists the problem types.
Answers that are not retried on the schedule
Section titled “Answers that are not retried on the schedule”400, 401, 404, 409, 413 and 415 are not retried on the schedule below. Retrying the same request gives the same answer. Instead:
- Fix the cause.
- Send the event again with a fresh
webhook-timestampand a fresh signature, and a corrected body if the body was the fault. - Nothing was stored. After
400,401,404,413or415, thewebhook-idcan be reused. After409, use a newwebhook-id: the old one belongs to a different event.
The event stays owed while you fix it. For a withdrawal or an erasure, alert a person at once.
Retry rule
Section titled “Retry rule”For 429, 5xx, timeouts and dropped connections:
- keep the same
webhook-idand the same body, including the envelopetimestamp, which says when the event happened and does not change on a retry - use a fresh
webhook-timestampand a fresh signature - wait at least
Retry-Afterwhen the answer carries it - add random jitter to every delay, so failures do not retry at the same moment
MarsX binds each webhook-id to one event, which is its type and its data. The envelope timestamp is not part of it, and neither are the order of the members, white space or the spelling of a time with another offset (+07:00 or Z for the same instant).
- The same event under a used
webhook-idgets202withduplicateand is processed once, even when the envelopetimestampdiffers. - A different event under a used
webhook-idgets409with the problem typeurn:marsx:problem:webhook-id-reused. Nothing is stored. Send the event again with a newwebhook-id.
So every new event needs a new webhook-id. An event that MarsX stored before 11 October 2026 has no binding and keeps the earlier answer: a different event under its webhook-id still gets 202 with duplicate, and is dropped. That lasts until the event is 90 days old. An AI agent never sees 409, because MarsX derives its webhook_id from the event.
If the answer is lost
Section titled “If the answer is lost”| What you see | What it means | What to do |
|---|---|---|
202 lost on the way back |
The event is stored. You do not know it | Retry with the same webhook-id. MarsX answers 202 with duplicate and stores nothing new |
429, 502, 503, 504 or a timeout |
Not a confirmation. The event may be stored | Wait, with backoff and jitter, then retry the same event |
400, 401, 404, 413 or 415 |
Nothing was stored | Fix the cause, then send again |
409 |
Nothing was stored. The webhook-id belongs to a different event |
Send the event with a new webhook-id. If you meant a retry, send the original event again |
Schedule
Section titled “Schedule”The schedule follows Standard Webhooks, with jitter. Make 10 attempts over at least 3 days.
| Attempt | Delay before it | Time since the first try |
|---|---|---|
| 1 | Immediately | 00:00:00 |
| 2 | 5 seconds | 00:00:05 |
| 3 | 5 minutes | 00:05:05 |
| 4 | 30 minutes | 00:35:05 |
| 5 | 2 hours | 02:35:05 |
| 6 | 5 hours | 07:35:05 |
| 7 | 10 hours | 17:35:05 |
| 8 | 14 hours | 31:35:05 |
| 9 | 20 hours | 51:35:05 |
| 10 | 24 hours | 75:35:05 |
Never delay a withdrawal or deletion because an earlier event for another lead is still retrying.
After the last attempt, keep the event for a manual resend, and email support@marsx.media with the connection, the webhook-id and the event type. Send no customer data. Your operators need a way to see events that failed all 10 attempts and to resend one, with the same webhook-id and body and a fresh webhook-timestamp and signature.
Request budget
Section titled “Request budget”| Limit | Value |
|---|---|
| Timeout on your side | 15 to 30 seconds |
| Event requests | At most 100 per 10 seconds for each connection. Every request that passes authentication counts, even one that ends in 400, 413 or 415. A failed authentication does not count |
429 |
Carries Retry-After: 10 |
| Status reads | 60 per 60 seconds, a separate budget (Check an event’s status) |
MarsX stores each event and answers within 10 seconds, then processes it from a queue, so normal bursts need no throttling.
Your requests in Concour
Section titled “Your requests in Concour”Developers, then Request log lists every API call on your connection from the last 30 days, newest first, with times in WIB. A request that fails its signature check is not listed: MarsX answers it the same way whatever the cause, so it cannot tie it to your connection. MarsX does not keep the body of a request or the value of a header.
Narrow the list with Time (Last hour, Last 24 hours, Last 7 days or Last 30 days), Environment (Any, Test or Live), Response (Any, Succeeded (2xx), Refused (4xx) or Failed (5xx)) and Request ID, then choose Show requests. Choose a row to see its details: Result, Response code, Time, Request, Request ID, the Message ID (your webhook-id), Lead, Headers sent (names only) and Sent by (Your system, The console or A MarsX check). Quote the Request ID to MarsX. It is the request_id of the answer.
The log gives each request one Result word and a sentence under it:
| Result | What it means | Your answer, and what the sentence says |
|---|---|---|
| Accepted | MarsX has the event | 202 with accepted. The sentence may add a note: for ignored_stale_revision, “Not applied: an older revision of a lead MarsX holds”; for an ignored dealer code, “The preferred dealer code is not on the dealer list. It was ignored; the lead loaded.” (unknown) or “The preferred dealer is not one that takes new car leads. It was ignored; the lead loaded.” (not_active) |
| Duplicate | MarsX had it already | 202 with duplicate: “This message was received before. Nothing changed.” Also ignored_duplicate_content: “The same content as before. Nothing changed.” |
| Set aside | MarsX accepted the event with 202, then set it aside when it applied it |
quarantined. The sentence names the reason: invalid_record “Set aside: a rule failed”, unknown_value “Set aside: a value is not on the list”, revision_conflict “Set aside: the same revision with other content”, privacy_request_conflict “Set aside: it conflicts with a privacy request already recorded”, invalid_phone “Set aside: the phone number is not valid”, and privacy_marker_set “Not applied: the lead has a privacy request” |
| Refused | MarsX stored nothing | 400: “The event did not pass the contract rules.” 409: “This webhook-id was already used for a different event. Nothing was stored.” 413: the event is larger than 32 KiB. 415: “The content type is not accepted.” 429: “Too many requests. Wait for the time in the Retry-After header, then send again.” 5xx: “MarsX could not take this request. Send it again.” |
The processing_state values are on Check an event’s status. The Response filter groups by status code: Succeeded (2xx), Refused (4xx) and Failed (5xx).

