Limits
All limits apply to every connection. MarsX sets the values. If a value blocks you for a technical reason, write to the technical contact and give the reason.
Size limits
Section titled “Size limits”Size limits are per route, in two layers. MarsX enforces both.
| Route | Transport cap, answered 413 before authentication |
Content limit, answered 413 after authentication |
|---|---|---|
PUT /v1/sources/{connection}/files/{file_name} (the privacy list, sent only when MarsX asks) |
10 MiB (10,485,760 bytes) | 10 MiB on disk, 100 MiB expanded, 10,000 rows, 500 characters for each cell. A file over a limit is rejected whole |
/mcp (the AI agent route) |
1 MiB (1,048,576 bytes) | Each event: 32,768 bytes of UTF-8 JSON |
Every other path under /v1 and /oauth (events, status read, token, and any unknown path) |
64 KiB (65,536 bytes) | Events: 32,768 bytes of UTF-8 JSON |
On /mcp a body that is a JSON-RPC batch, or is nested more than 16 levels deep, is refused with 400 and the JSON-RPC error -32600, before authentication. See AI agent (MCP).
The transport cap depends only on the route in the URL. A request above it gets the same 413 for a known and for an unknown path, so the answer reveals nothing about which connections exist.
An event with every field filled and a 500-character note is about 4 KB. Standard Webhooks recommends events under 20 kB.
Rate and time limits
Section titled “Rate and time limits”| Item | Limit |
|---|---|
| Event requests | At most 100 for each connection in 10 seconds. File requests and the AI agent write tools share this budget. Every request that passes authentication counts, even one that ends in 400, 413 or 415. A failed authentication does not count |
| Status requests | At most 60 for each connection in 60 seconds. get_lead_status and find_dealer on the AI agent route share this budget |
| Refused AI agent write calls in the Request log | One row for each ten seconds, from each MarsX server that refused calls, with the number refused, not one row for each call. A window can be lost if a MarsX server stops inside it. See AI agent (MCP) |
429 |
Carries Retry-After: 10 seconds on the events endpoint, the token endpoint and /mcp, 60 seconds on the status read |
| Requests before authentication | MarsX also keeps a budget for each caller address before it checks a signature or a client secret: on the events endpoint (for each connection and address), on the token endpoint and on /mcp. A caller that has used it gets 429 with Retry-After: 10. A sender that stays within the event budget above does not meet it |
Signatures in webhook-signature |
At most 4. More gets the generic 401 |
| How fast MarsX answers | MarsX stores each event and answers within 10 seconds |
| Your request timeout | Set 15 to 30 seconds on your side |
| Clock window | webhook-timestamp within 300 seconds of the MarsX clock, in either direction |
Retry-After |
Wait at least this long when the answer carries it |
| Retries | 10 attempts over at least 3 days, with jitter. See Responses and retries |
The retry schedule is: immediately, then after 5 seconds, 5 minutes, 30 minutes, 2 hours, 5 hours, 10 hours, 14 hours, 20 hours and 24 hours.
MarsX may answer any request with 429, 502, 503 or 504. Treat each as a signal to slow down. None of them confirms acceptance.
Time to keep and time to wait
Section titled “Time to keep and time to wait”| Item | Value |
|---|---|
Event status and webhook-id de-duplication |
Kept for 90 days. A status read for an older event gets 404 |
| Request log in Concour | The last 30 days. See Your requests in Concour |
Your changes feed |
Keep at least 90 days |
Your privacy-events feed |
Replay at least 90 days |
| Signing secret overlap during rotation | 7 days. To end it sooner, revoke the old key in Concour. Revoke it at once if the old secret may have leaked |
| OAuth token lifetime for the status read | 3600 seconds |
| OAuth token lifetime for the endpoints you host | Between 300 and 86,400 seconds. MarsX renews 30 seconds early |
| Privacy list, when MarsX asks for it | Within 24 hours of the request |
| Notice for a change to the allowed values | 30 days, in writing |
Overlap for a breaking change (/v2) |
At least 90 days, with written notice |
| Shared sheet result | MarsX writes it to the MarsX status column within one to two minutes |
| Support reply | Within 1 business day for a report that is not urgent |
Reconciliation reads (endpoints you host)
Section titled “Reconciliation reads (endpoints you host)”| Item | Value |
|---|---|
How often MarsX reads changes and privacy-events |
Every 15 minutes, once your endpoints are live |
| MarsX request rate | At most 1 request per second, and it honours Retry-After |
| MarsX waits for your answer | 10 seconds |
| Page size | MarsX asks for limit=500 and accepts fewer. Your default is at least 100 and your maximum at least 500. A limit above your maximum gets 400 |
| Your request budget | At least 60 requests per minute for each client on each endpoint |
| Transport | HTTPS on port 443, TLS 1.2 or higher, a publicly trusted certificate, no redirects |
Usage and limits in Concour
Section titled “Usage and limits in Concour”Developers, then Usage and limits shows what your connection has sent. The table Requests has a row for Today and a row for This month, each with Requests, Accepted, Refused and Errors. Days and months are in WIB. Your busiest 10 seconds today shows the most requests you made in any 10 seconds, as a share of the limit of 100 in 10 seconds. The page headline reads You are well inside your limits. up to half of the limit, You are using much of your limits. below 90%, and You are close to your limits. from 90%.
The Limits section of that page states the same budgets as this page: 100 requests every 10 seconds for each connection, shared by events and files, and 60 status requests every 60 seconds for each connection. When you go over the request limit, MarsX answers 429 with a Retry-After header. Wait that long, then send again. See every request opens the request log.
Field limits
Section titled “Field limits”| Field | Limit |
|---|---|
partner_lead_id, request_reference |
1 to 64 characters from A-Z a-z 0-9 . _ - |
webhook-id |
1 to 128 characters from A-Z a-z 0-9 _ -, so no full stop |
ai_summary |
At most 1000 characters |
enquiry_notes, customer_address, staff_notes |
At most 500 characters |
ad_click_id |
At most 255 characters |
email |
At most 254 characters |
customer_name, campaign, utm_source, utm_medium, utm_campaign, consent_reference, ai_intent_label |
At most 200 characters |
ad_id, ad_creative_id, session_id, partner_customer_id |
At most 128 characters |
model_interest, customer_city, customer_province |
At most 120 characters |
creative_label |
At most 100 characters |
preferred_dealer_code, notice_version, customer_gps |
At most 64 characters |
phone |
+628 then digits only, at most 16 characters |
| Any text field | No control character except tab, line feed and carriage return. See Text length and characters |
contact_consent |
The value yes only |
source_revision |
A whole number from 0 to 9007199254740991 |
phone_verified |
A boolean in an event (true or false, or null when unknown). Yes or No in a file |
source_channel |
One of ten values: see Allowed values |
| Rows in a file | At most 10,000 |
| Characters in a file cell | At most 500 |
The full rules for each field are in Lead fields.

