# UpDash Mail API: full documentation > Every page of the UpDash Mail API docs in one file, in the order of /llms.txt. Each page is also served at /docs/.md. Schema: /openapi.json. --- # UpDash Mail API Order automotive direct mail (postcards, letters and fold cards) for a car dealer through one REST API and one remote MCP server. ## What it is Xcel Media Group is an automotive direct-mail agency. The UpDash Mail API lets software order mail from Xcel without a phone call or a spreadsheet: - **REST API** under `/v1`, described by [`/openapi.json`](/openapi.json) (OpenAPI 3.1). - **Remote MCP server** at `/api/mcp` (Streamable HTTP) with forty-two tools that run the same code as the REST routes, and a proof view in which the approver can see and decide the order inside ChatGPT or Claude. Clients connect by OAuth 2.1 from the URL alone, or with the API key as a header. Webhooks, `GET /v1/account`, the dealer import, profile versions, a template's layout regions, a saved template's versions listing, the artwork upload starts, keys limited to some dealers, a shopper's campaigns (`GET /v1/leads`), a campaign's mailable rows, the event list, a dealer's do-not-mail list, deleting an audience version, renaming a photo of the asset library and the sandbox approval route are REST only. - **Twenty-four templates**: fourteen 6 x 9 postcards, five tri-fold letters and five fold cards, for birthdays, trade-ins, service, declined work, lease ends, loans almost paid off, open recalls, thanks after service, upcoming service appointments, buyers who never came back for service, accessories for recent buyers, shoppers, showroom visits that didn't end in a sale, conquest, anniversaries, warranties, payment reviews, unsold leads, service customers who bought elsewhere, new owners and the holidays, found by product, use case or a query, with the dealer's logo, brand colors and the piece's PIN and QR code. Image merge fields print the dealer's make logos, vehicle photos and QR codes. Preview a template with your copy, and send the person a **preview link** that opens in a browser for an hour ([Creative](/docs/creative.md#templates)). Save your own HTML as a template with typed slots and immutable versions, and use it the same way ([Your own templates](/docs/creative.md#your-own-templates)), or send a designer's print-ready PDF, or a PNG or JPEG per side, as static art, and check it with an artwork preview before you create a campaign ([Print-ready artwork](/docs/creative.md#print-ready-artwork)). - **[Template gallery](/docs/templates.md)**, every template with images of its front and back, or a card's cover, inside and envelope; **[the designer](/docs/console.md#the-designer)** in the partner console, which lays out a piece in the browser, or from a few words for the AI, checks it against the print rules as you work and saves it as one of your templates; and **[Design your own](/docs/design-your-own.md)**, a blank file and a ready prompt per product for bringing your own design with ChatGPT or Claude. - **Review page** at `/review/{token}`, where a human approves the spend. - **Partner console** at `/console`, where a partner's own staff follow orders and results, keep dealer profiles current and manage keys, webhooks and their team. See [Partner console](/docs/console.md). - **Ops dashboard** at `/ops`, where Xcel staff work the queue of live orders. REST and MCP call the same service functions, so a request returns the same JSON and the same errors through either one. ## Who it is for | Reader | Start here | | --- | --- | | Developers at a CDP, agency or other partner | [Quickstart](/docs/quickstart.md), then [Concepts](/docs/concepts.md) and the [API reference](/docs/api-reference.md) | | Developers who know Lob | [Coming from Lob](/docs/coming-from-lob.md) | | A partner's account, operations and support staff | [Partner console](/docs/console.md) | | A platform that serves many dealers | [Running many dealers](/docs/partners.md) | | AI agents and the people who build them | [MCP server](/docs/mcp.md) and [`/llms.txt`](/llms.txt) | | Security and procurement reviewers | [For a vendor review](/docs/vendor-review.md), then [Security](/docs/security.md) | ## Phase 1 status Phase 1 is a pilot with people behind the API. - **Live orders go to the Xcel production team that already mails for dealers.** The sandbox runs end to end. - A submitted live order goes to the ops queue. Xcel staff run address processing, send the files to the printer and move the order through its statuses by hand. - Prices are per piece, by product, mail class and your monthly volume tier, with no monthly fee. Signed-in partners see them on the console's [Pricing](/console/pricing) page. Quotes say `placeholder_pricing: false`; quotes made before 0.9.36 said `true`. - Product specs are researched from USPS rules and print-house templates. The printer has not confirmed them yet (`confirmed_by_printer: false`). - The hosted service prints proofs to PDF: a review proof with guides for the approver and a print-ready PDF for the printer (`pdf_available: true`). The printer has not confirmed the specs, so a proof is a content and layout check, not a press proof. - Copy can come from you or from Claude, drafted from a brief, under code-enforced checks ([AI-written copy](/docs/creative.md#ai-written-copy)). Every compliance check is a pattern check, not legal review. - Results come from Xcel's tracking platform (UpDash): responses and matched sales or service, in aggregate and per lead by your `external_id`. A live order reports them only after Xcel staff link it to its UpDash campaign; sandbox orders get simulated results ([Results and attribution](/docs/concepts.md#results-and-attribution)). - The API is live at `https://api.updash.com`. Sandbox access is self-serve: request it at [www.updash.com/developers/agents](https://www.updash.com/developers/agents) (or with the form on [www.updash.com/developers](https://www.updash.com/developers)), sign in to the partner console from the link we email you, and create your sandbox key there ([Get sandbox access](/docs/console.md#get-sandbox-access)). Live ordering stays off until Xcel turns it on for your company: [Going live](/docs/going-live.md) lists what you do, what Xcel does and how to ask. - Examples in these docs use `$API` for the base URL: `https://api.updash.com`. - Some names still say Xcel: the `X-Xcel-*` headers, the MCP server name `xcel-mail-api` and the `XcelMailAPI-Webhooks/1` user agent. They are stable; the product is UpDash Mail API, and Xcel Media Group is the company behind it. ## The mental model A **partner** (a CDP, an agency or an agent operator) holds API keys. The partner creates its **dealers** (or Xcel does), keeps each dealer's **profile** current (name, address, phones, hours, links, makes, logo and colors) and names its **approvers**, who confirm by email. Xcel keeps each dealer's disclosures, license number and optional monthly spend cap, and reviews approvers whose address is off the dealer's own domain. The partner chooses a **template** and previews it, creates a **campaign** for one dealer and one **product** (tagged with its own `external_ref`), uploads an **audience** CSV (renaming its columns with `column_map` when they differ), fills the template with copy, renders a **proof**, gets a **quote** and asks for **approval**. A human at the dealer approves on the review page. Only then can the partner **submit** the order. Xcel produces it, reports status changes as **events** and signed **webhooks**, and brings back **results** (responses and matched sales or service) per lead, keyed by the partner's `external_id`. Three rules hold everywhere: 1. Customer rows never come back from the API or MCP and never reach a log. You send the file itself: to a signed storage URL, as a link Xcel fetches once, or as a `text/csv` request body, which goes straight to private storage. Rows never go in a JSON field or a tool argument, and responses carry ids, counts, reason codes and row numbers only. 2. Brand values are locked in a creative. Logo, colors, phone, dealer name and address come from the dealer profile version the creative was made with, and disclosures from Xcel. A creative request that tries to set them is refused; change the profile instead. The one exception is the printed phone: send your own number for a campaign as `cta_phone`. (Print-ready artwork is static and carries its own; only the return address prints from the profile.) 3. Only a human approves spend. An API caller or agent cannot approve a live order, and nothing it says counts as approval. A sandbox key can decide its own sandbox order, where nothing prints or bills. ## Campaign lifecycle ```mermaid flowchart TD A[Create campaign] --> B[Upload audience CSV
signed URL, then complete] B --> C[Generate creative
template + copy] C --> D{Preflight errors?} D -- yes --> C D -- no --> E[Render proof
status: proof_ready] E --> F[Get quote] F --> G[Request approval
status: awaiting_approval] G --> H{Human decision
on the review page} H -- reject --> I[status: proof_ready
change and ask again] I --> C H -- approve --> J[status: approved] J --> K[Submit with Idempotency-Key
status: submitted] K --> L[in_production] L --> M[at_usps] M --> N[in_postal_network] N --> O[delivery_estimated] O --> P[completed] ``` Changing the creative or the audience at any point before submission sends the campaign back to `draft` and voids the proof, quote and approval for the old versions. See [Concepts](/docs/concepts.md#campaign-state-machine) for every allowed transition, including `cancelled`. `at_usps`, `in_postal_network`, `delivery_estimated` and `completed` rest on USPS processing scans. They show mail moving through postal facilities. They are not proof of delivery to a mailbox. ## Test and live | | Sandbox (`xm_test_...`) | Live (`xm_live_...`) | | --- | --- | --- | | Data | Separate from live; a test key never sees live campaigns | Separate from test | | Address processing | Simulated; every address passes at once | Xcel runs CASS and NCOA by hand; the audience waits in `pending_address_processing` | | Approval link | Returned as `review_url` with `sandbox_only: true` | Emailed only to a registered approver; never returned | | Approver registry | Not checked; any `approver_email` or none | `approver_email` must be a registered approver | | Ordering switch | Not checked | The partner needs `ordering_enabled` | | Spend cap | Counts sandbox submissions only | Counts live submissions only | | After submit | Nothing prints. `POST /v1/test/campaigns/{id}/advance` (MCP `advance_test_campaign`) simulates production; from `in_postal_network` on it also simulates results | The order lands in Xcel's ops queue; results come from UpDash once ops links the order | Start in the sandbox. A sandbox key creates its own [test dealers](/docs/dealers.md#test-dealers), up to 25, and its writes to them save. Dealers your live key or Xcel created are shared by both modes, so a sandbox key only validates changes to those ([Test keys only validate](/docs/dealers.md#test-keys-only-validate)). Campaigns, quotes, approvals, submissions and webhooks are separate per mode. A live key works before live ordering is on, for everything except submit ([Going live](/docs/going-live.md)). ## All pages | Page | What it covers | | --- | --- | | [Quickstart](/docs/quickstart.md) | Sandbox key to a simulated submission with `curl` | | [Going live](/docs/going-live.md) | What you do, what Xcel does, in what order, how to ask, and what is still undecided | | [Running many dealers](/docs/partners.md) | One key across dealers, keys for one dealer, your own ids, the dealer CSV, approvers, limits, results by your id, the first dealer and the hundredth, and what is still by hand | | [Changelog](/docs/changelog.md) | Versioning, what changed in each release, and what to do about it | | [Coming from Lob](/docs/coming-from-lob.md) | Lob's concepts and field names mapped to this API, with REST examples | | [TypeScript SDK](/docs/sdk/typescript.md) | The pre-release typed client: the sandbox flow, errors, retries, webhooks and every method | | [Concepts](/docs/concepts.md) | Partners, dealers and profiles, brand values, campaigns and your reference on them, versions, quotes, approvals, idempotency, spend caps, results and attribution | | [Dealers](/docs/dealers.md) | Creating dealers, the profile and its versions, If-Match, logos, signatures and photos, the CSV import, what Xcel manages, UpDash | | [Products](/docs/products.md) | The offered products, their geometry and design rules, spec sheets and starter files, the artwork spec for print-ready PDFs and images | | [Audiences](/docs/audiences.md) | CSV columns and `external_id`, column mapping and column warnings, upload flow, dedupe, suppression, reconciliation, row keys, address processing, when a person asks, retention | | [Template gallery](/docs/templates.md) | Every template with images of its front and back, or a card's cover, inside and envelope, by size. No key needed. | | [Design your own](/docs/design-your-own.md) | A blank HTML file and a prompt per product for ChatGPT or Claude, a prompt for finished art, and how to send the result. | | [Creative](/docs/creative.md) | Finding templates, use cases, template previews and preview links, your own saved templates and their versions, print-ready artwork (a PDF or images) and artwork previews, copy slots, merge fields (make logos, vehicle photos, QR codes) and conditional blocks, locked brand inputs, preflight, proofs | | [Quotes and approvals](/docs/quotes-and-approvals.md) | How quotes are built, small runs, the approval flow, submit refusals | | [Billing](/docs/billing.md) | Who pays for live orders, setting up a bank account or card, when each order is charged, and terms | | [Standing orders](/docs/standing-orders.md) | One repeating mailing saved once: each new list (sent, fetched on a schedule, or emailed by your platform's report) becomes an order, nobody is mailed twice inside a window, and each run still waits on the dealer's approver | | [Webhooks](/docs/webhooks.md) | Event types, payloads, signature verification, retries | | [Partner console](/docs/console.md) | The website for your staff: sign-in, roles, orders, per-lead data, dealers, keys, webhooks, team, usage | | [Errors](/docs/errors.md) | The error shape and every error code | | [MCP server](/docs/mcp.md) | Connecting an agent, every tool, safety rules | | [API reference](/docs/api-reference.md) | Every REST endpoint | | [For a vendor review](/docs/vendor-review.md) | The company's security program, SOC 2, the Mail API's controls, UpDash production and print partners, what is on request and what is not done yet | | [Security](/docs/security.md) | Keys, scoping, PII, results and dealer data, approvals, retention | | [Glossary](/docs/glossary.md) | Direct-mail and automotive terms | Machine-readable entry points: [`/llms.txt`](/llms.txt) (index for agents), [`/llms-full.txt`](/llms-full.txt) (every page in one file), [`/openapi.json`](/openapi.json) and [`/mcp-tools.json`](/mcp-tools.json) (the MCP tool list, without a key). --- # Quickstart Go from a sandbox key to a simulated, submitted mail order in about fifteen minutes with `curl`. The sandbox never prints, mails or creates work for Xcel staff. Every step below uses a sandbox key (`xm_test_...`). ## Before you start You need: - A sandbox API key (`xm_test_...`). Request sandbox access at [www.updash.com/developers/agents](https://www.updash.com/developers/agents), sign in to the console from the emailed link, and create a test key under **Developers** ([Get sandbox access](/docs/console.md#get-sandbox-access)). - The base URL: `https://api.updash.com`. - A dealer id: Xcel's dealer id or your own external id for the dealer. `GET /v1/dealers` (step 1) lists yours. Every self-serve sandbox starts with a sample dealer whose external id is `demo-motors`. A sandbox key can also create your own stores as [test dealers](/docs/dealers.md#test-dealers), whose changes save. Its changes to the sample dealer and to dealers your live key made only validate ([Test keys only validate](/docs/dealers.md#test-keys-only-validate)). - `curl` and, for the copy-paste variables below, [`jq`](https://jqlang.org/). Prefer code? Three scripts run this whole flow: [Node](/docs/examples/node/sandbox.mjs) (Node 22 or later, `fetch` only), [Python](/docs/examples/python/sandbox.py) (Python 3.9 or later, standard library only) and [MCP](/docs/examples/mcp/sandbox.mjs) (the official MCP TypeScript client: put its [package.json](/docs/examples/mcp/package.json) beside it and run `npm install` first). Download one and run it with your sandbox key, for example `XM_API=https://api.updash.com XM_KEY=xm_test_... node sandbox.mjs`. Each prints every step and stops at the first error with its `fix`. Each also stops at the approval: it prints `review_url` and waits for a person to decide in a browser. The Node and Python scripts take `XM_SANDBOX_APPROVE=1` to decide it with the sandbox's test route instead. No route or tool approves a live order. `XM_DEALER` picks the dealer (your first one by default). Each also registers a webhook endpoint, checks a delivery's signature with a small receiver on `127.0.0.1` and deactivates the endpoint at the end. Against the hosted API, set `XM_WEBHOOK_PORT`, point a tunnel at that port and set `XM_WEBHOOK_PUBLIC_URL` to the tunnel's https URL; without one the signature check is skipped. Xcel's end-to-end test runs all three, so they stay in step with the API. Prefer Postman? Import the [collection](/docs/postman/updash-mail-api.postman_collection.json) and its [sandbox environment](/docs/postman/updash-mail-api.postman_environment.json), set `apiKey` to your sandbox key and send the requests folder by folder: they follow these steps and save each id for the next one, and the Sandbox folder moves the order to `completed` before the Results folder reads it. Prefer TypeScript? A pre-release SDK exists, but it is not published: `@updash/mail-api` is not on npm (the npm package `updash` is someone else's), so plain HTTPS is the supported way in today. Ask Xcel if you want the package. [Its README](/docs/sdk/typescript.md) shows that it runs these steps with typed methods, safe retries and paging, and checks webhook signatures with `verifyWebhook`; its README walks this flow. ```bash export API=https://api.updash.com export KEY=xm_test_REPLACE_WITH_YOUR_SANDBOX_KEY export DEALER=demo-motors H="Authorization: Bearer $KEY" ``` Every response is JSON. Every error has the shape `{"error":{"code","message","fix","field"}}`; do what `fix` says. Most responses that change state include `next_step`, a sentence saying what to call next. ## 1. Find a template and look at the dealer ```bash curl -s -H "$H" "$API/v1/templates?product_code=postcard_6x9" | jq '.templates[] | {code, name, use_cases}' curl -s -H "$H" "$API/v1/templates?query=birthday" curl -s -H "$H" $API/v1/dealers curl -s -H "$H" $API/v1/dealers/$DEALER/brand ``` `GET /v1/templates` lists Xcel's twenty-four templates (fourteen 6 x 9 postcards, five tri-fold letters and five fold cards, from two birthday pieces to a warranty letter and a holiday card) and any you have saved yourself ([Your own templates](/docs/creative.md#your-own-templates)); filter them by `product_code`, `use_case` or `query`. It answers one short entry per template (`detail=full` adds every slot and the compliance rules). The query `birthday` finds the two birthday pieces, the postcard first: ```json { "code": "postcard_6x9_birthday", "product_code": "postcard_6x9", "name": "Birthday postcard with a gift", "summary": "Birthday postcard for the dealer's customers, designed as a wrapped gift.", "use_cases": ["birthday", "customer_loyalty", "gift_offer"], "required_slots": ["note", "expires"], "audience_columns": ["vehicle_year", "vehicle_make", "vehicle_model"], "requires_prescreened_list": false, "preview_url": "https://api.updash.com/preview/AQBq6LOA...5fS5rHS39uV3JjXLSPUS2w" } ``` Open `preview_url` in a browser: it shows the template with its sample copy for the sample dealer Demo Motors, for one hour, with no key. `audience_columns` are the columns the piece reads from your file beyond the name and address (here, the vehicle, which the sample note names). `GET /v1/templates/postcard_6x9_birthday` gives every slot with its `kind`, `max_length`, `sample` and any `default`. See [Creative](/docs/creative.md#templates) for every template and slot. To see the template printed with your own copy before you create a campaign, call `POST /v1/templates/{code}/preview` ([Preview a template](/docs/creative.md#preview-a-template)). This is what a new creative prints for the dealer: name, address, logo, colors and phone from its profile, which you can change ([Dealers](/docs/dealers.md)), the disclosures, which only Xcel sets, and the registered approvers, whom you name ([Approvers](/docs/dealers.md#approvers)). This is a sample dealer; yours shows its own values: ```json { "dealer_id": "05720507-ac60-4915-977e-f12e9cd29b3f", "dealer_name": "Demo Motors", "address": { "line1": "100 Demo Blvd", "line2": null, "city": "Columbus", "state": "OH", "zip": "43004" }, "logo_url": "data:image/png;base64,...", "logo": { "source": "url", "url": "data:image/png;base64,..." }, "colors": { "primary": "#0B3D93", "secondary": "#FFB020" }, "disclaimers": ["Offer valid at Demo Motors only. See dealer for details.", "Sample disclosure: each dealer's own disclosures, set by Xcel, print here."], "phone": "(380) 246-4003", "locked": true, "registered_approvers": [], "profile_version": 1, "note": "Name, address, logo, colors and phone come from the dealer profile, which you keep current (GET and PATCH /v1/dealers/{id}/profile, POST /v1/dealers/{id}/logo); a creative prints the profile version it was made with. Disclosures are set by Xcel. Registered approvers are the people you named who confirmed (POST /v1/dealers/{id}/approvers)." } ``` ## 2. Create a campaign ```bash C=$(curl -s -H "$H" -H 'content-type: application/json' $API/v1/campaigns \ -H "Idempotency-Key: $(uuidgen)" \ -d "{\"dealer_id\":\"$DEALER\",\"product_code\":\"postcard_6x9\",\"name\":\"November service reminder\",\"external_ref\":\"cmp_778\"}" \ | tee /dev/stderr | jq -r .campaign.id) ``` Response (201): ```json { "campaign": { "id": "20b6b4d9-f321-41ef-aa5e-c1db05b559fd", "mode": "test", "name": "November service reminder", "dealer_id": "05720507-ac60-4915-977e-f12e9cd29b3f", "dealer_external_id": "demo-motors", "product_code": "postcard_6x9", "template_code": null, "template_version": null, "envelope": null, "requested_mail_date": null, "status": "draft", "status_label": "Draft", "status_evidence": null, "creative_version": null, "audience_version": null, "external_ref": "cmp_778", "metadata": {}, "created_at": "2026-11-02T15:00:00.000Z", "updated_at": "2026-11-02T15:00:00.000Z" }, "next_step": "Upload the audience: upload_audience (POST /v1/campaigns/{id}/audience).", "live_gaps": [], "timing": { "mail_class": "first_class", "earliest_mail_date": "2026-11-04", "mailed_by": "2026-11-04", "first_scan_by": "2026-11-09", "in_home_from": "2026-11-11", "in_home_to": "2026-11-13", "placeholder_timing": true } } ``` To ask for a mail date, add `"requested_mail_date": "YYYY-MM-DD"`. It is optional; without it Xcel mails on the first available date. A date before today (UTC) is refused with `mail_date_in_past`, and one more than 180 days out with `mail_date_too_far`. `timing` holds placeholder dates, not promises ([Mail dates](/docs/quotes-and-approvals.md#mail-dates)). `envelope` is `null` because a postcard has none. A letter mails in a #10 envelope with no window, which the printer addresses, unless you send `"envelope": "double_window"` on create for a #10 double-window envelope ([A letter's envelope](/docs/concepts.md#a-letters-envelope)). The campaign names its dealer by both ids (`dealer_id` is Xcel's, `dealer_external_id` yours) and, once it has a creative, the template the creative prints (`template_code` and `template_version`; `null` until then, and for your own HTML or print-ready artwork). `external_ref` is your own id for the order and `metadata` holds up to 20 string labels; both come back on the campaign, its results and its webhooks, and `GET /v1/campaigns?external_ref=cmp_778` finds the order later ([Your reference on a campaign](/docs/concepts.md#your-reference-on-a-campaign)). Never put customer data in them. The `Idempotency-Key` is optional here: a retry with the same key and body returns the first campaign (`Idempotent-Replayed: true`) instead of making a second one. In a real integration, keep the key with your order and reuse it only to retry. ## 3. Upload the audience Save this file as `audience.csv`. The last three rows are bad on purpose, so you can see the reconciliation report. The first column, `external_id`, is your own id for each person (a CRM id, say); results come back per lead with it, so you can join them to your records: ```csv external_id,first_name,last_name,address1,address2,city,state,zip,vin,vehicle_year,vehicle_make,vehicle_model,service_advisor crm-1001,Maria,Lopez,412 Cedar Ln,,Springfield,IL,62704,1HGCV1F30LA012345,2020,Honda,Accord,Dana crm-1002,JAMES,O'BRIEN,88 Lake Shore Dr,Apt 3B,Chicago,Illinois,60611-2201,,2018,Ford,Escape, crm-1003,Priya,Shah,1200 W Main St,,Peoria,IL,61606,,2022,Toyota,RAV4,Ravi crm-1004,Tom,Nguyen,5 Elm Ct,,Normal,IL,61761,,2019,Chevrolet,Malibu,Dana crm-1005,,Baker,77 Oak St,,Decatur,IL,62521,,2021,Kia,Sorento, crm-1006,Ann,Lee,9 Pine Rd,,Champaign,ZZ,61820,,2017,Nissan,Altima, crm-1007,Maria,Lopez,412 Cedar Lane,,Springfield,IL,62704,,2020,Honda,Accord,Dana ``` This step uses the signed upload, which works for any file size. To send the file in one call instead, POST it as the body: `curl -s -H "$H" -H 'content-type: text/csv' --data-binary @audience.csv $API/v1/campaigns/$C/audience/import` answers with the same report as the completion below, or send `{"source_url": "https://..."}` for a link Xcel fetches once ([Import in one call](/docs/audiences.md#import-in-one-call)). Ask for a signed upload URL: ```bash UP=$(curl -s -H "$H" -X POST $API/v1/campaigns/$C/audience) echo "$UP" | jq AUD=$(echo "$UP" | jq -r .audience_id) URL=$(echo "$UP" | jq -r .upload_url) ``` Response (201): ```json { "audience_id": "09ef23ca-cee4-4669-b282-828ce568bb64", "version": 1, "upload_url": "https://abcdefghijklmnopqrst.supabase.co/storage/v1/object/upload/sign/audiences/407603e8-5469-46dc-bf46-9374fc5cdad4/20b6b4d9-f321-41ef-aa5e-c1db05b559fd/v1/source.csv?token=eyJhbGciOi...", "upload_method": "PUT", "upload_content_type": "text/csv", "upload_expires_in_seconds": 7200, "suppression_upload_url": null, "required_columns": ["first_name", "last_name", "address1", "zip"], "optional_columns": ["external_id", "address2", "city", "state", "vin", "vehicle_year", "vehicle_make", "vehicle_model", ""], "template_columns": null, "next_step": "PUT the CSV (UTF-8, header row first) from the user's own system to upload_url: your host's upload function or the person does it, and rows never go in the chat or a tool argument. Then POST /v1/campaigns/{id}/audience/complete with this audience_id (MCP: call upload_audience again with uploaded_audience_id). Name your record-id column external_id, or send column_map {\"customer_id\": \"external_id\"} with the completion, so per-lead results come back keyed by your id. Phone and email columns are optional: UpDash uses them only to match responses and sales to the piece, and they are never printed or returned." } ``` PUT the file to `upload_url`. The URL carries its own token, so do not send your API key with it. Expect `200`: ```bash curl -s -o /dev/null -w '%{http_code}\n' -X PUT -H 'content-type: text/csv' --data-binary @audience.csv "$URL" ``` `template_columns` lists the columns the campaign's creative reads beyond the name and address (its custom columns, and the vehicle columns when it prints the vehicle); it is `null` here because the campaign has no creative yet. Then tell the API to process it. If your columns have other names, add `column_map` to this body, for example `{"customer_id": "external_id"}` ([Column mapping](/docs/audiences.md#column-mapping-column_map)): ```bash curl -s -H "$H" -H 'content-type: application/json' $API/v1/campaigns/$C/audience/complete \ -d "{\"audience_id\":\"$AUD\"}" | jq ``` Response (200), trimmed: ```json { "audience": { "id": "09ef23ca-cee4-4669-b282-828ce568bb64", "version": 1, "status": "ready", "submitted_count": 7, "mailable_count": 4, "rejected_count": 3, "reconciliation": { "submitted": 7, "mailable": 4, "rejected": 3, "rejected_by_reason": { "missing_first_name": 1, "invalid_state": 1, "duplicate": 1 }, "rejected_rows": [ { "row": 6, "reason": "missing_first_name", "external_id": "crm-1005" }, { "row": 7, "reason": "invalid_state", "external_id": "crm-1006" }, { "row": 8, "reason": "duplicate", "external_id": "crm-1007" } ], "rejected_rows_truncated": false, "warnings": {}, "columns": ["first_name", "last_name", "address1", "city", "state", "zip", "address2", "vin", "vehicle_year", "vehicle_make", "vehicle_model", "external_id", "service_advisor"], "blank_counts": { "address2": 3, "vin": 3, "vehicle_year": 0, "vehicle_make": 0, "vehicle_model": 0, "external_id": 0, "service_advisor": 1 }, "suppression_list_rows": 0, "column_map": {}, "column_warnings": [], "suggested_column_map": null, "address_processing": { "status": "processed", "processor": "sandbox_pass_all", "note": "Sandbox: address processing is simulated and every address passes.", "processed_at": "2026-11-02T15:00:00.000Z", "cass_failed": 0, "ncoa_moved": 0 }, "reprocessed_from_version": null }, "retention_expires_at": "2027-01-31T15:00:00.000Z", "created_at": "2026-11-02T15:00:00.000Z", "completed_at": "2026-11-02T15:00:00.000Z", "purged_at": null }, "campaign_status": "draft", "next_step": "Generate the creative: generate_creative (POST /v1/campaigns/{id}/creative)." } ``` Row numbers are spreadsheet rows: the header is row 1. `column_warnings` is empty because the file names its id column `external_id` and has no email or phone columns; without `external_id` it would warn `external_id_column_missing` and propose a map ([Column warnings](/docs/audiences.md#column-warnings)). Row 8 is a duplicate of row 2 because `Cedar Ln` and `Cedar Lane` normalize to the same address. The response never contains a name or an address. Each mailable row also gets a row key, which ties it to its results ([Lead identity](/docs/audiences.md#lead-identity)). See [Audiences](/docs/audiences.md) for every reason code. With the audience in place, `next_step` names the creative. Had the report proposed a `suggested_column_map`, `next_step` would first say to complete the same `audience_id` again with it. ## 4. Generate the creative Fill the template's copy slots. `gift_offer` is a dealer fact: only the dealer can promise the gift. Send the dealer's own, as here, or leave it out for the standard gift ($50 toward any service, or $50 gift card for a test drive at a store whose profile has no service hours), which preflight asks you to confirm with the dealer (`default_claim_check`). Copy may use recipient merge fields with a fallback after `|`: ```bash curl -s -H "$H" -H 'content-type: application/json' $API/v1/campaigns/$C/creative -d '{ "template_code": "postcard_6x9_birthday", "copy": { "note": "Happy birthday from all of us at {{dealer.name}}! Thank you for trusting us with your {{recipient.vehicle|vehicle}}.\n\nYour gift is on the other side. Stop by any time this month and we will take care of it for you.", "gift_offer": "$50 toward any service", "expires": "12/31/2026" } }' | jq ``` Response (201), trimmed: ```json { "creative": { "id": "794ead57-ad24-4af6-8955-7909c2267ce4", "version": 1, "kind": "template", "template_code": "postcard_6x9_birthday", "template_version": 4, "copy_slots": ["gift_offer", "offer_disclosure", "handwriting", "signer_name", "signer_title", "cta_phone", "note", "expires"], "preflight": { "ok": true, "checked_at": "2026-11-02T15:00:00.000Z", "audience_version": 1, "issues": [] } }, "campaign_status": "draft", "profile_slots": ["signer_name", "signer_title", "cta_phone"], "next_step": "Render the proof: render_proof (POST /v1/campaigns/{id}/proof)." } ``` `profile_slots` names the store details (phone, hours, web address, QR link, signer) that the creative prints from the dealer's profile because the copy left them out. Here they come from the sample dealer: its phone, and its contact Alex Rivera, General Manager, as the signer. Leave them out for your own dealers too: copy that repeats Demo Motors' details for another dealer gets `sample_store_value`, a warning in the sandbox and an error on a live order. `copy_slots` also lists the slots the template filled with its default text (here the gift's terms, `offer_disclosure`, and the handwriting face, `handwriting`). The note names each recipient's own vehicle where the file has one, and says "vehicle" where it has none (`{{recipient.vehicle|vehicle}}`). The sandbox dealer lists Ford and Lincoln as its franchise makes, so their logos print wherever a creative places `{{dealer.make_logos}}`; a real dealer's profile names its own `makes` ([Dealers](/docs/dealers.md)). Try a `gift_offer` longer than 32 characters once, such as "A free oil change and tire rotation". The creative is still stored, but preflight reports an error with a fix: ```json { "code": "slot_too_long", "severity": "error", "message": "copy.gift_offer is 35 characters; the template allows 32.", "fix": "Shorten copy.gift_offer to 32 characters or fewer (cut 3).", "field": "copy.gift_offer" } ``` The response's `next_step` names the first error's field and its fix. Send a corrected creative; each call makes a new version. If your copy quotes a payment, a rate, a term or a down payment, preflight also requires the full terms in `offer_disclosure`. These are pattern checks, not legal review; see [Compliance checks](/docs/creative.md#compliance-checks). Have a designer's print-ready art instead? Send `{"artwork": {"url": "https://..."}}` in place of `template_code` and `copy` for a PDF with one page per printed side at the product's file size (9.25 x 6.25 in for this postcard), or `{"artwork": {"front": {"url": "..."}, "back": {"url": "..."}}}` for one PNG or JPEG per side (2775 x 1875 px or more for this postcard), and Xcel prints the address block over it. To check the art before you create a campaign, `POST /v1/artwork/preview` with `{"product_code": "postcard_6x9", "artwork": {...}}` (MCP: `preview_artwork`) returns its preflight, a review proof and an `artwork_id` that `generate_creative` takes. The rest of the flow is the same, but the copy checks cannot read art ([Print-ready artwork](/docs/creative.md#print-ready-artwork)). ## 5. Render the proof and check readiness ```bash curl -s -H "$H" -X POST $API/v1/campaigns/$C/proof | jq curl -s -H "$H" $API/v1/campaigns/$C/validate | jq ``` The proof response (200) describes the pages but does not include them, because they show customer records. On the hosted service, the proof is also printed to PDF: ```json { "campaign_id": "20b6b4d9-f321-41ef-aa5e-c1db05b559fd", "status": "proof_ready", "creative_version": 1, "audience_version": 1, "renderer": { "name": "chromium_pdf", "format": "pdf", "pdf_available": true, "message": "PDF proofs are ready at trim size plus bleed: a review proof with guides for the approver and a print-ready PDF for the printer. They show customer records, so the API never returns them; the approver opens the PDF from the review page and Xcel ops from the dashboard." }, "pages": [ { "label": "Sample 1", "source_row": 2 }, { "label": "Sample 2", "source_row": 3 }, { "label": "Sample 3", "source_row": 4 }, { "label": "Worst case (longest name/address)", "source_row": 3 } ], "warnings": [], "preview": "The proof shows customer records, so it is not returned through the API. The approver sees it on the review page that request_approval creates; Xcel ops see it in the ops dashboard.", "next_step": "Get a quote (get_quote), then request_approval with the quote_id and a max_spend_cents ceiling." } ``` `renderer.name` says what drew the proof. Without a browser it is `html_preview`, with `"format": "html"` and `"pdf_available": false`; the rest of the flow is the same. See [PDF proofs](/docs/creative.md#pdf-proofs). `validate` returns a checklist (`audience`, `creative`, `preflight`, and `quantity`, `mail_date`, `dealer_profile`, `spend_cap`, `dealer_facts` and `proof_disclosures` when they apply; on a live order also `approver`, `live_ordering` and `disclosures`, with `live_gaps` saying who acts next) plus the full preflight result and the dealer's spend cap (`dealer_spend_cap_cents` and `dealer_spend_remaining_cents`, both `null` for the sample dealer, which has no cap). It changes nothing. ## 6. Get a quote ```bash QUOTE=$(curl -s -H "$H" -X POST $API/v1/campaigns/$C/quote) echo "$QUOTE" | jq Q=$(echo "$QUOTE" | jq -r .quote.id) TOTAL=$(echo "$QUOTE" | jq .quote.total_cents) ``` Response (201): ```json { "quote": { "id": "0e0f8f4d-902c-40d1-ac8e-c47e14cb0758", "campaign_id": "20b6b4d9-f321-41ef-aa5e-c1db05b559fd", "creative_version": 1, "audience_version": 1, "quantity": 4, "mail_class": "first_class", "pooled_weekly": false, "unit_price_cents": 95, "total_cents": 380, "line_items": [ { "code": "print_and_lettershop", "description": "Print, personalize and prepare 6 x 9 postcard", "quantity": 4, "unit_price_cents": 46, "total_cents": 184 }, { "code": "postage", "description": "First-Class Mail postage", "quantity": 4, "unit_price_cents": 49, "total_cents": 196 } ], "notes": [ "Standard pricing (up to 4,999 live pieces a month): your live orders mailed 0 pieces last month and 0 pieces this month so far (UTC), across all your dealers.", "Quantity is the mailable count before CASS/NCOA. Pieces removed by address processing are not billed." ], "placeholder_pricing": false, "timing": { "mail_class": "first_class", "earliest_mail_date": "2026-11-04", "mailed_by": "2026-11-04", "first_scan_by": "2026-11-09", "in_home_from": "2026-11-11", "in_home_to": "2026-11-13", "placeholder_timing": true }, "expires_at": "2026-11-09T15:00:00.000Z", "created_at": "2026-11-02T15:00:00.000Z" }, "dealer_spend_cap_cents": null, "dealer_spend_remaining_cents": null, "next_step": "Call request_approval with this quote_id and the budget a person set as max_spend_cents, at least total_cents. Ask for the figure if you have none: this total alone is not one." } ``` A postcard mails First-Class only. The price per piece is your volume tier's (the console's [Pricing](/console/pricing) page), and a note names the tier. The sample dealer has no monthly spend cap, so both cap fields are `null`; for a dealer with one, they show the cap and what is left of it this month, and `next_step` says when the total is over it. ## 7. Ask a human to approve `max_spend_cents` is the ceiling the approver agrees to: the figure the person you work for gave, never your own estimate. It must be at least the quote total. The dealer's monthly spend cap is checked first; an order over it is refused with `dealer_spend_cap_exceeded` before anyone is asked. ```bash BUDGET=50000 # the most the person you work for said to spend, in cents APPROVAL=$(curl -s -H "$H" -H 'content-type: application/json' $API/v1/campaigns/$C/approval \ -d "{\"quote_id\":\"$Q\",\"max_spend_cents\":$BUDGET,\"approver_email\":\"you@example.com\"}") echo "$APPROVAL" | jq A=$(echo "$APPROVAL" | jq -r .approval_id) ``` Sandbox response (201): ```json { "approval_id": "31d6383b-4c48-425a-accf-73cf8a69719c", "status": "pending", "approver_email": "y***@example.com", "total_cents": 380, "expires_at": "2026-11-09T15:00:00.000Z", "review_url": "https://api.updash.com/review/Jf3k...", "sandbox_only": true, "next_step": "Sandbox: open review_url and decide as the developer testing the integration. In live mode the link is emailed to the dealer's registered approver and never returned." } ``` Open `review_url` in a browser. The page shows the dealer, product, quantity, line items, total, the approved maximum and the proof (three sample rows and the worst case), shown as the PDF review proof (the exact file that prints, with the guides drawn on top) and a **Download the proof (PDF)** link when the proof was printed to PDF. Tick the confirmation box, give your email if the page asks for it (it does when `request_approval` named no `approver_email`), and choose **Approve order**. In a script or CI job, decide without the browser: `curl -s -H "$H" -H 'content-type: application/json' $API/v1/test/campaigns/$C/approval -d '{"approval_id":"...","decision":"approve"}'`. It makes every check the page makes, and only a sandbox key can call it. The Node and Python scripts use it when you set `XM_SANDBOX_APPROVE=1`. With a live key the response has no `review_url`. Xcel emails the link to one of the dealer's registered approvers instead. See [Quotes and approvals](/docs/quotes-and-approvals.md#the-approval-flow). Poll until the approval is decided: ```bash curl -s -H "$H" $API/v1/campaigns/$C | jq '{status: .campaign.status, approval: .latest_approval.status, next_step}' ``` ```json { "status": "approved", "approval": "approved", "next_step": "Submit: submit_campaign with the approval_id and an idempotency_key (POST /v1/campaigns/{id}/submit, with the key as the Idempotency-Key header)." } ``` ## 8. Submit Generate one `Idempotency-Key` per order and keep it. Reuse it only to retry the same request. ```bash IDEM=$(uuidgen) curl -s -i -H "$H" -H 'content-type: application/json' -H "Idempotency-Key: $IDEM" \ $API/v1/campaigns/$C/submit -d "{\"approval_id\":\"$A\"}" ``` Response (201): ```json { "submission_id": "b48acca5-6870-4d04-8c7c-4bbed2ef7c56", "campaign_id": "20b6b4d9-f321-41ef-aa5e-c1db05b559fd", "approval_id": "31d6383b-4c48-425a-accf-73cf8a69719c", "mode": "test", "status": "submitted", "quantity": 4, "mail_class": "first_class", "total_cents": 380, "placeholder_pricing": false, "submitted_at": "2026-11-02T15:00:00.000Z", "timing": { "mail_class": "first_class", "earliest_mail_date": "2026-11-04", "mailed_by": "2026-11-04", "first_scan_by": "2026-11-09", "in_home_from": "2026-11-11", "in_home_to": "2026-11-13", "placeholder_timing": true }, "in_ops_queue": false, "message": "Sandbox order recorded. Nothing will print and no ops work was created. advance_test_campaign (MCP) or POST /v1/test/campaigns/{id}/advance simulates production." } ``` Run the same command again. You get the same body and status, plus the header `idempotent-replayed: true`. Nothing is submitted twice. Try submitting before the approval is decided, or after you send a new creative: the submit is refused with a code such as `approval_pending` or `approval_stale_creative`. See the [refusal table](/docs/quotes-and-approvals.md#submit-refusals). ## 9. Simulate production Each call moves a submitted sandbox campaign one step along the pipeline. Five calls take it to `completed`. From `in_postal_network` on, each call also simulates results (`results_simulated: true`): the totals from `in_postal_network`, the first responders per lead from `delivery_estimated`, and matched sales and repair orders at `completed`: ```bash for i in 1 2 3 4 5; do curl -s -H "$H" -X POST $API/v1/test/campaigns/$C/advance | jq -c '{from, status, status_evidence, results_simulated}' done ``` ```json {"from":"submitted","status":"in_production","status_evidence":null,"results_simulated":false} {"from":"in_production","status":"at_usps","status_evidence":"usps_processing_scan","results_simulated":false} {"from":"at_usps","status":"in_postal_network","status_evidence":"usps_processing_scan","results_simulated":true} {"from":"in_postal_network","status":"delivery_estimated","status_evidence":"usps_processing_scan","results_simulated":true} {"from":"delivery_estimated","status":"completed","status_evidence":"usps_processing_scan","results_simulated":true} ``` To jump straight to a status, send a body such as `-H 'content-type: application/json' -d '{"to":"delivery_estimated"}'`. Only later statuses are allowed. This endpoint exists for sandbox keys only. MCP: `advance_test_campaign`. ## 10. Read the results ```bash curl -s -H "$H" $API/v1/campaigns/$C/results | jq ``` ```json { "campaign_id": "20b6b4d9-f321-41ef-aa5e-c1db05b559fd", "status": "completed", "status_label": "Completed", "quantities": { "submitted_rows": 7, "mailable": 4, "rejected_rows": 3, "ordered": 4 }, "submitted_at": "2026-11-02T15:00:00.000Z", "timeline": [ { "at": "2026-11-02T15:00:00.000Z", "status": "proof_ready", "label": "Proof ready", "evidence": null }, { "at": "2026-11-02T15:00:00.000Z", "status": "awaiting_approval", "label": "Awaiting approval", "evidence": null }, { "at": "2026-11-02T15:00:00.000Z", "status": "approved", "label": "Approved", "evidence": null }, { "at": "2026-11-02T15:00:00.000Z", "status": "submitted", "label": "Submitted", "evidence": null }, { "at": "2026-11-02T15:00:00.000Z", "status": "in_production", "label": "In production", "evidence": null }, { "at": "2026-11-02T15:00:00.000Z", "status": "at_usps", "label": "Accepted at USPS (processing scan)", "evidence": "usps_processing_scan" } ], "evidence_note": "USPS processing scans show mail moving through postal facilities. They are not proof of delivery to a mailbox.", "results": { "source": "sandbox", "simulated": true, "job": "SBX-20B6B4D9", "drops": [{ "drop_number": 1, "home_date": "2026-11-02", "project_status": "Completed", "quantity": 4 }], "delivery_percent": 98.1, "responses": { "leads": 2, "sms": 0, "web": 1, "calls": 0, "appointments": 2, "showroom_visits": 0, "facebook": 0, "qr_codes": 1, "total": 4, "unique_responders": 2 }, "matched": { "sales": 1, "repair_orders": 0 }, "leads_with_results": 2, "updated_at": "2026-11-02T15:00:00.000Z" }, "results_note": "Simulated sandbox results: realistic shape, invented values. Sandbox time runs as fast as you advance: the order mails, lands and gets its responses when you advance it, so simulated dates follow the timeline, not the quoted dates. Live results come from Xcel's tracking (UpDash).", "leads": { "items": [ { "external_id": "crm-1001", "row_key": "xmdr6kslk45b2rkegz", "responses": [ { "type": 2, "type_label": "web", "at": "2026-11-02T14:00:00.000Z" }, { "type": 4, "type_label": "appointment", "at": "2026-11-02T15:00:00.000Z" } ], "matches": [{ "kind": "sale", "date": "2026-11-02", "vehicle_type": "Used", "gross_cents": 285000, "revenue_cents": 4125000 }], "updated_at": "2026-11-02T15:00:00.000Z" }, { "external_id": "crm-1002", "row_key": "xmpksflhfx7fhctpdw", "responses": [ { "type": 7, "type_label": "qr_code", "at": "2026-11-02T13:00:00.000Z" }, { "type": 4, "type_label": "appointment", "at": "2026-11-02T14:00:00.000Z" } ], "matches": [], "updated_at": "2026-11-02T15:00:00.000Z" } ], "next_after": null, "limit": 100 } } ``` The timeline above is trimmed after `at_usps`. The sandbox values are invented; the shape is what a live order returns once Xcel links it to UpDash. `results` holds the totals and `leads` one page of per-lead results, keyed by your `external_id`, never a name or address. `gross_cents` and `revenue_cents` are integer cents, like every amount in the API. For the next page, pass `?leads_after=`; `leads_limit` sets the page size (1 to 500, default 100). See [Results and attribution](/docs/concepts.md#results-and-attribution). ## Next steps - Register a webhook before you create the next campaign, to receive each event as a signed POST: [Webhooks](/docs/webhooks.md). An endpoint receives only events that happen after it is registered. - Run the same flow from an agent: [MCP server](/docs/mcp.md). - Follow this order, its proof and its leads in the [partner console](/docs/console.md) at `/console`. Switch it to test mode to see sandbox orders. - Read the rules behind each step: [Concepts](/docs/concepts.md). ## Next: going live Ready to order real mail? [Going live](/docs/going-live.md) lists what you do, what Xcel does, in what order, and how to ask. --- # Going live What it takes to order real mail: what you do, what Xcel does, in what order, and how to ask. Everything on the "you" side works today with your live key, before Xcel turns anything on. Ask Xcel by replying to your sandbox welcome email, at support@xcelmg.com, or with the form at [www.updash.com/contact](https://www.updash.com/contact?audience=cdp). The console has no button for this yet. Check where you stand at any time with [`GET /v1/account`](/docs/api-reference.md#account) (`ordering_enabled`, `live_readiness`). For one order, [`validate_campaign`](/docs/mcp.md#validate_campaign) (`GET /v1/campaigns/{id}/validate`) lists what is left in `live_gaps`, and `create_campaign` says the same before you build anything. ## In order | # | Who | Step | How you know it is done | | --- | --- | --- | --- | | 1 | You | Run a sandbox order end to end, with your webhook receiver on. | [Quickstart](/docs/quickstart.md); a [test ping](/docs/webhooks.md#test-your-endpoint) checks the receiver alone. | | 2 | You | Create a live key in the [partner console](/docs/console.md) (**Developers**, then **API keys**, in live mode). | The key starts `xm_live_`. | | 3 | You | Create your real dealers with the live key: profile, logo, makes, website, hours. | `GET /v1/dealers`. A test dealer stays in the sandbox: create the real one with the same `external_id` ([Test dealers](/docs/dealers.md#test-dealers)). | | 4 | You | Name each dealer's approver ([Approvers](/docs/dealers.md#approvers)). Tell them first: the email comes from UpDash and names your company and the dealer. Until Xcel sends your Order Form (7a) or turns on live ordering, the email waits (`email_held: true`) and goes out on its own then. | Each invitation's status. `dealer.updated` reports every change. | | 5 | Approver | Press Confirm in the email. | `registered` at once when the address is at the dealer's website domain (not moved from another domain in the last 30 days), or at a dealer-group domain Xcel listed for you. Otherwise `pending_xcel_review`. | | 6 | Xcel | Review approvers whose address is at another domain. | `registered` or `declined`, with `dealer.updated`. | | 7 | You, then Xcel | Ask Xcel to set each dealer's disclosures, license number and monthly spend cap. Do this **before you build orders** (see below). | `xcel_managed` on the dealer profile; `dealer.updated` names the fields that changed, never the values. | | 7a | Xcel, then you | Xcel sends your Order Form under the UpDash Mail API Master Services Agreement: your prices, any commitment and your payment terms. The person Xcel names reads it and signs online, from the email. | The signer gets a signed copy by email; your console admins see it under **Agreements**. | | 7b | You | Set up billing: right after signing, the same page adds the payment method. Or add a bank account or card under **Billing** in the console, or choose who pays and send each paying store or group a setup link ([Billing](/docs/billing.md)). | The payer shows **Ready**; `live_gaps` no longer lists `billing_not_set_up`. | | 8 | You, then Xcel | Ask Xcel to turn on live ordering. This is the switch, `ordering_enabled`, on the same partner you have used in the sandbox: your console users, keys, webhooks and saved templates carry over. | `GET /v1/account` answers `ordering_enabled: true`. | | 9 | You | Register a live webhook endpoint (https only) and send it a test event. | `POST /v1/webhooks/{id}/test` answers `delivered: true`. | | 10 | You | Build a live order: audience, creative, proof, `validate_campaign`, quote. | `ready_for_approval: true`. | | 11 | You | Set `max_spend_cents` from a figure a person gave, and `request_approval`. | Xcel emails the dealer's approver the review link. You never receive it. | | 12 | Approver | Review the proof, the quantity and the total, and approve. | `latest_approval.status` is `approved`; `approval.decided` fires. | | 13 | You | Submit, with one `Idempotency-Key` per order. | `submitted`; the order is in Xcel's queue. | | 14 | Xcel | Run CASS and NCOA, produce and mail the order, and link it to its tracking when it goes into production. | `campaign.status_changed`, `audience.address_processed`, `campaign.results_linked`; then results. | Nothing here spends money until step 13, and only a person's approval in step 12 makes step 13 possible. At step 13 the order is charged to its payer's payment method (or invoiced, on terms Xcel set), and production starts once the money clears ([Billing](/docs/billing.md)). ## A live key works before live ordering is on With `ordering_enabled: false`, a live key already creates dealers, uploads logos, names approvers, registers webhooks, saves templates, builds campaigns, renders proofs and gets quotes. Approval requests go out too, with `ordering_enabled: false` in the answer. Only the last step is refused: `submit_campaign` answers 403 `ordering_disabled`. So `validate_campaign` says `ready_for_approval: false` until the switch is on: asking an approver to approve an order that cannot be submitted wastes their time. One exception: an OAuth connection (a hosted MCP connector) gets a live token only once live ordering is on. Use the key as a Bearer header until then, or a sandbox key. ## Get disclosures before you build Xcel sets each dealer's disclosures by hand. A piece prints the dealer's current disclosures when its proof renders, through `{{brand.disclaimers}}` on Xcel's templates and on your saved templates. Your own art is static and must carry the wording itself, word for word. So get them first. If they change after a proof rendered: - `dealer.updated` fires, with `changed_fields: ["xcel_managed.disclosures"]`. The profile version does not change, because disclosures are not in the profile. - `validate_campaign` answers `ready_for_approval: false` with a `proof_disclosures` check, and `request_approval` refuses with 409 `proof_disclosures_changed`. - Call `render_proof` again. The quote stays good, since the creative and audience are the same. Print-ready art needs a new file with the new wording. A live piece with no disclosures is a warning (`brand_value_missing`, `disclosures_missing`), not an error: whether a dealer needs them is Xcel's call. ## The agreement Live orders run under the UpDash Mail API Master Services Agreement, which each Order Form incorporates. Xcel sends the Order Form when you are ready to go live; there is nothing to sign for the sandbox. - **What it holds.** The MSA's terms for orders, approvals, payment, list data and security (including the FTC Safeguards Rule terms results data is shared under), and the Order Form's own: the start date, any term, your prices (the Price List on the console's [Pricing](/console/pricing) page, or negotiated print prices: postage always follows the list), any monthly commitment, your payment terms and any special terms. - **How you sign.** The person Xcel names gets an email with a link that works for 14 days. They read the Order Form and the full MSA on one page, type their name and title, confirm they may sign for the company, and sign. Then the same page takes them to Stripe to add the payment method. The record keeps their name, title, email, the time and a fingerprint of the exact text signed ([Security](/docs/security.md#agreements-signed-online)). - **After you sign.** The prices and payment terms in the Order Form apply from its start date, on their own. Xcel turns on live ordering once the rest of onboarding is done. - **A change** to prices or terms comes as a new Order Form. A price change for everyone, such as a USPS postage change, comes through the Price List with notice (the console's [Pricing](/console/pricing) page). ## What the pilot does today These are how Phase 1 runs now, not promises about later. | Topic | Today | | --- | --- | | Mail date | `timing` on the campaign, quote, submit answer and results holds placeholder dates: earliest mail date, mailed by, first scan by and the in-home range. The daily cut-off is 10:00 Pacific ([Mail dates](/docs/quotes-and-approvals.md#mail-dates)). `earliest_mail_date` is the only minimum lead time. `requested_mail_date` can be up to 180 days out; without one Xcel mails on the first available date. | | Address processing | CASS and NCOA run after submit, by hand. Totals in a quote are before them, and pieces they remove are not billed ([Address processing](/docs/audiences.md#address-processing)). | | NCOA PAF | Xcel arranges the signed form with each dealer, outside the API. | | Results | Xcel links each order to its tracking when it goes into production. `campaign.results_linked` says when, and `results_status` says where it stands. A job then reads results every 6 hours. | | Linking dealers to UpDash | Not part of this pilot: `updash_linked` stays `false`, and orders are linked one at a time. | | Tracked phone numbers | None in this pilot, so expect no call responses. Leave `cta_phone` out and the dealer's main phone prints. | | Matched sales and service | They need the dealer's sales and service data in UpDash. Xcel sets that up with the dealer, outside the API. Without it, expect responses, drops and delivery, and no matches ([Results and attribution](/docs/concepts.md#results-and-attribution)). | | Print-ready art | No PIN or response QR code prints on it (`artwork_no_response_fields`), so expect totals and matched sales and service, with few or no per-lead responses (`per_lead_responses_expected: false`). | | Cancelling after submit | There is no cancel call. Reply to your Xcel thread: Xcel cancels before production on request. | ## Still undecided Nobody should plan around these yet. Ask your Xcel contact. - **Credits for removed pieces and cancellations.** Pieces CASS and NCOA remove are not billed, and Xcel credits them by hand for now ([Billing](/docs/billing.md)). - **The final schedule.** Every date in `timing` is a placeholder (`placeholder_timing: true`): an estimate, not a guarantee, and the cut-off and day counts behind it can change. Address processing, approver review and the results link have no dates at all. `waiting_on` on `get_campaign_status` says who holds an order now. - **Printer specs.** `confirmed_by_printer: false` on a product means the printer has not confirmed its geometry. --- # Running many dealers For a platform that orders mail for many dealers: a CDP, an agency or an agent operator. This page gathers the rules from [Dealers](/docs/dealers.md), [Going live](/docs/going-live.md), [Concepts](/docs/concepts.md), [Audiences](/docs/audiences.md) and [Webhooks](/docs/webhooks.md), and says what is still done by hand. ## One partner, many dealers Your company is one **partner**. You hold one set of API keys, and a key works for all your dealers unless you limit it to some of them ([Keys for one dealer](/docs/partners.md#keys-for-one-dealer)). - The key decides the partner and the mode. Nothing in a request can change either. Another partner's dealer answers 404. - A campaign is one mailing for one dealer and one product. A promotion across 100 stores is 100 campaigns, each with its own audience, proof, quote and approval. No call makes them in one request. - Your staff use the [partner console](/docs/console.md) on the same dealers. An admin can limit a member or viewer to some dealers ([Roles](/docs/console.md#roles)). ## Keys for one dealer A key can be limited to some of your dealers, so one dealer's marketer, or an agent working for that dealer, holds a credential that reaches only that dealer. A key without a limit reaches every dealer, as it always has. Nothing about it changes. Make one in the [partner console](/docs/console.md#developers): **Developers**, **API keys**, then tick the dealers. Or make one over REST, with a key for every dealer in the same mode, so each of hundreds of stores can hold its own: ```bash curl -s -X POST "$API/v1/keys" -H "Authorization: Bearer $KEY" -H "Idempotency-Key: store-key-40117" \ -H "Content-Type: application/json" -d '{"label": "Store 40117", "dealer_ids": ["40117"]}' ``` The answer has the secret once, in `key`, and only its hash is kept. `dealer_ids` is required, so `POST /v1/keys` cannot make a key for every dealer: those stay in the console. `Idempotency-Key` is required too, since a retry must not make a second key. No stored answer holds a secret, so a retry with the same key and body answers the same key's `id` with `key: null` and `Idempotent-Replayed: true`. If the first answer was lost, revoke that key and make another with a new `Idempotency-Key`. `GET /v1/keys` lists this mode's keys, revoked ones too, with each limited key's `dealer_ids`, and never a secret. `DELETE /v1/keys/{id}` revokes a limited key at once, with every MCP connection made from it. A key for every dealer is revoked in the console only, so one leaked key cannot lock out the others. A limited key gets 403 `dealer_scope_forbidden` on all three. MCP has no tool for them. Each make and revoke goes in your audit log with the acting key's id, never the secret. **At most 1,000 active limited keys per partner and mode, and 10 active keys for every dealer.** Neither counts against the other. Past either, 409 `key_limit_reached`. A key's dealers are set when it is made and never change: to change them, make a new key and revoke the old one. A key lists 1 to 100 dealers, all yours, and a live key cannot list a test dealer. `GET /v1/account` says which dealers a key reaches in `dealer_ids`, or `null` for every dealer. A dealer outside the list answers exactly as another partner's dealer does: 404 `not_found`, never a 403 that would confirm it exists. A partner-wide action answers 403 `dealer_scope_forbidden`. | Area | What a limited key does | | --- | --- | | Campaigns | Creates, reads and acts only for its dealers. `GET /v1/campaigns` lists only those. Results, leads, proof, quote, approval, submit, audience, creative and the sandbox routes follow the same check. | | Dealers | Lists and reads only its dealers, and updates only those, with their profile, assets, logo and approvers. It cannot change a dealer's website: see below. | | Events | `GET /v1/events` returns only its dealers' events. An event that names no dealer is left out. | | Account | `GET /v1/account` counts only its dealers, so it says nothing about your others. `live_webhook_endpoints` is 0, and the partner's ceilings in `limits` are `null`. | | Templates | Reads and previews Xcel's templates. **A saved template needs a key for every dealer:** it holds free HTML that may have been written for any of your dealers, so to a limited key it answers `unknown_template`, as a code nobody saved does, in the list, on read, versions, preview and `generate_creative`. A preview naming a dealer outside the list answers 404. A preview with no dealer prints the sample dealer. | | Approvers | Names them for its dealers, but every one goes to Xcel's review after they confirm, whatever the address. The answer says so, and `domain_match` reads only that dealer's own website. | | Artwork | Art on a campaign follows the campaign. Art uploaded without a campaign stays open, because it names no dealer, but it belongs to that key and its list of dealers: see below. | | Rate limits | The same limits. **A limited key shares your partner's hourly ceiling:** there is no budget per key. At the default limits, a key with ten dealers can spend all 300 renders an hour, 30 for each dealer by naming it in a preview, and your other dealers then wait for the next hour. A preview with no dealer counts against the first of its dealers. At your partner's ceiling its 429 says only that renders are paused, with `Retry-After` and no figures, and how soon that 429 comes depends on what your other dealers rendered. | A limited key **cannot**: - Create a dealer, by `POST /v1/dealers`, `upsert_dealer` or the CSV import. - Change a dealer's website. Approver domain matching reads it, so `links.website` answers 403 `dealer_scope_forbidden`, naming the field, by `PUT` or `PATCH` of the profile, `update_dealer_profile` or `upsert_dealer`. A `PUT` replaces the whole profile, so send the website on file: leaving it out clears it, and that is refused too. Everything else on the dealer's profile stays open. - Use webhooks. Every webhook route answers 403, because an endpoint receives your whole partner's events and holds a signing secret. Keep your endpoints on a key for every dealer: events from a limited key's orders reach them as usual. - Read, preview, print, save or retire a saved template. - Read an artwork upload made by any other credential, or let any other credential read its own. Two OAuth connections narrowed to different dealers do not share uploads either. Another's `artwork_id` answers 409 `artwork_not_uploaded`, the same as an id nobody uploaded. To share art, send it as a URL. - Reach the sample dealer as a dealer, unless it is on the list. Three more things differ from a key for every dealer: - **Retries.** An `Idempotency-Key` belongs to the dealers of the key that sent it. A limited key never replays or collides with an answer another key stored about other dealers, so retry from the key that sent the request, or one with the same dealers. No key may start with `scoped:`, the prefix of that namespace. - **External ids.** An external id you reuse for a test dealer names the shared dealer first. If that shared dealer is outside the list, use the test dealer's Xcel id. - **Lists.** `dealer_id=` naming a dealer outside the list answers 404, as an unknown dealer does, and returns no rows. A cursor from another key's walk returns only this key's rows, and `after` naming a dealer outside the list answers 400, as another partner's dealer does. A review link and a preview link carry their own token and need no key. A limited key's preview link prints only a dealer it reaches, and stops when the key is revoked. An agent connecting by OAuth gets what the key reaches, and can be narrowed further on the consent page ([MCP server](/docs/mcp.md#a-key-limited-to-some-dealers)). Limiting a key does not change who approves: a person at the dealership still approves every live order, and an approver a limited key names is registered only after Xcel's review. ## Use your own ids Join everything to your records with your own ids. | Field | Names | Rules | Comes back on | | --- | --- | --- | --- | | `external_id` on a dealer | The store | 1 to 100 printable characters, unique among your dealers (test dealers apart). It works anywhere a request takes a dealer id. A duplicate answers 409 `external_id_taken`. | Every campaign object, results and campaign webhook as `dealer_external_id`; `dealer.updated` as `external_id`. | | `external_ref` on a campaign | The order | 1 to 100 characters, not unique, set once on create. | Every campaign object, results and campaign webhook. `GET /v1/campaigns?external_ref=` finds the order. | | `metadata` on a campaign | Your labels | Up to 20 keys, each value a string of up to 500 characters, set once on create. | Every campaign object, results and campaign webhook. | | `external_id` in an audience row | The person | At most 128 characters, opaque. Name your column `external_id`, or map it with [`column_map`](/docs/audiences.md#column-mapping-column_map). | Per-lead results and `campaign.lead_results_updated`, beside the row key. | Never put customer data in any of these: no names, addresses, emails, phone numbers or VINs. `external_ref` and `metadata` are stored with the order, outside the audience file's retention. An audience `external_id` that looks like an email address or a formatted phone number is blanked at intake. ## Load dealers from a CSV `POST /v1/dealers/import` with `Content-Type: text/csv` upserts dealers by `external_id`. [Import a CSV](/docs/dealers.md#import-a-csv) lists every column. ```csv external_id,name,address_line1,city,state,zip,phone_main,website,makes,time_zone store-1042,Lakeside Ford,1 Lake Rd,Boston,MA,02134,6175550100,https://lakeside.example.com,Ford;Lincoln,America/New_York store-1043,Hillcrest Toyota,200 Hill St,Albany,NY,12207,5185550100,https://hillcrest.example.com,Toyota,America/New_York ``` ```bash curl -s -X POST "$API/v1/dealers/import" \ -H "Authorization: Bearer $KEY" -H "Content-Type: text/csv" \ -H "Idempotency-Key: $(uuidgen)" --data-binary @dealers.csv ``` - A row for a new `external_id` creates the dealer. It needs `name`, `address_line1`, `city`, `state` and `zip`. - A row for an existing dealer merges its non-empty cells. An empty cell leaves that field as it is. - A file holds at most 500 rows (413 `import_too_large`) and 1 MB (413 `payload_too_large`). Split a longer roster. - Hours, hours exceptions and logos are not in the CSV. Set them per dealer: `PATCH /v1/dealers/{id}/profile` and `POST /v1/dealers/{id}/logo`. - A column Xcel manages, or an unknown or repeated column, refuses the whole file. - The answer has totals and one result per row. Read `results` for rows with `"status": "failed"`. - With a live key, new rows create real dealers. With a test key, they create [test dealers](/docs/partners.md#test-dealers), and rows for dealers your live key made only validate (`"validated_only": true`). ## Who approves A person at the dealership approves every live order, on a review page Xcel emails them. No API key, MCP tool or console role can approve. You name each dealer's approver with `POST /v1/dealers/{id}/approvers`, and they confirm by email ([Approvers](/docs/dealers.md#approvers)). The confirm link works once, for 7 days. | The address they confirm | Result | | --- | --- | | At the dealer's website domain (`links.website` in its profile) | `registered` at once, unless that website moved from another domain in the last 30 days. Then `pending_xcel_review`. | | At a dealer-group domain Xcel listed for you | `registered` at once. | | Anything else, or a common free mail service | `pending_xcel_review`: Xcel checks it with the dealership, then registers or declines it. No timing is promised. | - For stores under a group, ask Xcel to list the group's domains before you name people. - Tell each person first. The email comes from UpDash and names your company and the dealer. - A dealer can have three invitations waiting (409 `approver_invitations_pending_limit`) and five approver emails in one UTC day (429 `approver_invite_rate_limited`). - Every change of status sends `dealer.updated` with `changed_fields: ["approvers"]` and `approver_invitation`. - A new dealer is not `live_ready` until an approver is registered. Until then, a live `request_approval` or submit answers 409 `no_registered_approver`. - To remove an approver, ask Xcel. ## What you keep and what Xcel sets | You keep | How | | --- | --- | | The profile: name, address, phones, hours, links, makes, colors, contact and the rest ([The profile](/docs/dealers.md#the-profile)) | REST, MCP, the CSV import or the console. Every change writes a new numbered version. | | Logos | `POST /v1/dealers/{id}/logo` | | Signatures and photos | `POST /v1/dealers/{id}/assets` | | Which people you name as approvers | `POST /v1/dealers/{id}/approvers` | | Xcel sets by hand | Scope | Where you read it | | --- | --- | --- | | Disclosures | Each dealer | `xcel_managed` on the profile. `dealer.updated` names `xcel_managed.disclosures`, never the wording. | | License number | Each dealer | `xcel_managed` on the profile. | | Monthly spend cap (`spend_cap_cents`) | Each dealer | The dealer list and `xcel_managed`. `null` means no cap. | | Live ordering (`ordering_enabled`) | Your whole company: one switch | `GET /v1/account` | A request that sends one of these is refused with `xcel_managed_field`. To ask for them, reply to your sandbox welcome email or write to support@xcelmg.com. The console has no button for this, and the docs promise no timing. Get a dealer's disclosures before you build its orders. A piece prints the dealer's current disclosures when its proof renders. If they change later, `request_approval` refuses with 409 `proof_disclosures_changed` until you render the proof again ([Get disclosures before you build](/docs/going-live.md#get-disclosures-before-you-build)). ## Limits | What | Limit | Past it | | --- | --- | --- | | Renders: `render_proof`, template previews and artwork previews | 30 per dealer and 300 per partner, per UTC hour | 429 `proof_render_rate_limited` | | AI copy: model calls for a `brief` | 200 per dealer and 2,000 per partner, per UTC day | 429 `ai_copy_rate_limited` | | Spend per dealer, per calendar month in UTC | The cap Xcel sets, if any | 409 `dealer_spend_cap_exceeded` | | Approver invitations waiting, per dealer | 3 | 409 `approver_invitations_pending_limit` | | Approver emails, per dealer per UTC day | 5 | 429 `approver_invite_rate_limited` | | Creative assets, per dealer | 40 | 409 `asset_limit_reached` | | Test dealers, per partner | 25 | 409 `test_dealer_limit_reached` | | Active webhook endpoints, per partner and mode | 5 | 409 `webhook_limit_reached` | | Active API keys for every dealer, per partner and mode | 10 | 409 `key_limit_reached` | | Active API keys limited to some dealers, per partner and mode | 1,000 | 409 `key_limit_reached` | | Active saved templates, per partner | 100 | 409 `template_limit_reached` | | Dealer CSV, per file | 500 rows, 1 MB | 413 `import_too_large` over 500 rows, 413 `payload_too_large` over 1 MB | | Audience file | 250,000 rows, 50 custom columns and 500 columns in all, 50 MB; 4.5 MB as a request body on the hosted API | `audience_too_large`, `audience_file_invalid`, `payload_too_large` | | A dealer's do-not-mail list | 1,000,000 entries; 100,000 on a test key | 422 `suppression_list_full` | - REST and MCP calls are not rate-limited in Phase 1. Poll a campaign no more than about once a minute, or use a webhook. - Sandbox and live count together against the render and AI copy limits. - Past a dealer limit, your other dealers carry on. Past a partner limit, they wait: the 429 says when it resets. - One proof for each of 1,000 stores takes more than three hours at 300 renders an hour. Xcel can raise one partner's numbers, so ask before a campaign goes to many stores at once. `GET /v1/account` shows the numbers that apply to you. ## Test dealers A dealer your test key creates is a [test dealer](/docs/dealers.md#test-dealers), so you can try your own stores before you go live. - Its writes save, and every answer shows `"test_only": true`. Your live key never sees it. - It never gets an approver or an UpDash link, and live orders cannot name it. - Your test keys may create 25. There is no reset; ask Xcel to delete ones you no longer need. - Its `external_id` is apart from your live dealers'. When you create the real dealer with your live key and the same `external_id`, that id names the real dealer in both modes, and the test dealer stays reachable by its Xcel id. ## When a person asks Someone asks not to get a dealer's mail, or asks that their record go. [When a person asks](/docs/audiences.md#when-a-person-asks) gives the two calls and what each leaves alone: - `POST /v1/dealers/{id}/suppressions` adds to the dealer's lasting do-not-mail list, which every upload for that dealer applies, so nobody is sent again by hand on the next file. It stores keyed hashes only. A key limited to some dealers reaches those dealers' lists, and a test key's list stays apart from your live key's. - `DELETE /v1/campaigns/{id}/audience/{audience_id}` deletes a version's files now, unless it is the file of an order still in production. The dealer is the business the person has the relationship with, so settle the request with the dealer. An audience already processed is not touched by the list, and a submitted order is not recalled. ## Results and webhooks by your id | You read | Keyed by | | --- | --- | | A campaign webhook | `data.dealer_external_id`, `data.external_ref`, `data.metadata` | | `dealer.updated` | `data.external_id`, with the changed field names, never the values | | `campaign.lead_results_updated` | `data.leads`: up to 500 pairs of `external_id` and `row_key` in each event | | `campaign.usps_tracking_updated` | `data.pieces`: up to 500 pieces in each event, each with `external_id`, `row_key`, `stage` and `stage_at` | | `GET /v1/campaigns/{id}/results` | `dealer_external_id`, `external_ref`, and each lead's `external_id`. Never a name or an address. | | `GET /v1/campaigns?dealer_id=` | One dealer's orders, a page at a time ([List campaigns](/docs/api-reference.md#list-campaigns)) | - One endpoint can receive every event type for every dealer, so one receiver is enough. Route on `dealer_external_id`. - An endpoint belongs to the key's mode. `dealer.updated` for a dealer shared by both modes goes to both modes' endpoints, each signed with its own secret ([The delivery](/docs/webhooks.md#the-delivery)). - Delivery is at least once. De-duplicate on `X-Xcel-Event-Id`, and compare `sequence` to find the newer event: it grows across all your campaigns and dealers. - A live order reports results only after Xcel links it to its tracking, when it goes into production. `campaign.results_linked` says when. A job then reads results every 6 hours ([Results and attribution](/docs/concepts.md#results-and-attribution)). - Matched sales and service need the dealer's sales and service data in UpDash, which Xcel sets up with the dealer outside the API. Without it, an order reports responses, drops and delivery, and no matches ([Results and attribution](/docs/concepts.md#results-and-attribution)). - Matched sales and service carry the dealer's own figures. Xcel shares them with you under the partner agreement, only on your own campaigns. Treat them as the dealer's confidential data. - Per-lead results are deleted 365 days (by default) after the order closes. Copy what you need before then ([Retention](/docs/audiences.md#retention)). ## From the sandbox to the first live dealer [Going live](/docs/going-live.md) has the whole table. In short: 1. Run a sandbox order end to end with your webhook receiver on ([Quickstart](/docs/quickstart.md)), on `demo-motors` or a test dealer. 2. Create a live key in the console (**Developers**, then **API keys**, in live mode). It works before live ordering is on, for everything but submit. 3. Create the real dealer with the live key, with the same `external_id` as its test dealer. 4. Name its approver. They confirm by email. 5. Ask Xcel to set its disclosures, license number and monthly spend cap. 6. Ask Xcel to turn on live ordering. Your console users, keys, webhooks and saved templates carry over. `GET /v1/account` then answers `ordering_enabled: true`. 7. Register a live webhook endpoint (https only) and send it a test event: `POST /v1/webhooks/{id}/test`. 8. Build a live order until `validate_campaign` says `ready_for_approval: true`. Set `max_spend_cents` from a figure a person gave, and call `request_approval`. 9. The approver approves on the review page. Submit with one `Idempotency-Key`. **A script can run the whole sandbox flow.** `POST /v1/test/campaigns/{id}/approval` decides a sandbox order's pending approval, and `POST /v1/test/campaigns/{id}/advance` moves it through production. A sandbox `request_approval` also returns `review_url` with `sandbox_only: true`, for a person to play the approver. A live key is refused on both test routes, and no route or tool approves a live order. The [example scripts](/docs/quickstart.md#before-you-start) do this: each prints `review_url` and waits for a person, for as long as `XM_APPROVAL_WAIT_SECONDS` says. ## From the first dealer to the hundredth `ordering_enabled` stays on, so nothing changes for your company. Each new dealer takes the same steps: 1. Add its row to your CSV and import it with the live key. 2. Upload its logo and set its hours. 3. Name its approver. 4. Ask Xcel for its disclosures, license number and spend cap. 5. Order for it once `live_ready` is `true`. Three reads show where the roster stands: | Read | Tells you | | --- | --- | | `GET /v1/dealers?limit=200` | Each dealer's `live_ready`, `spend_cap_cents` and masked `registered_approvers`. Pass `next_after` as `after` for the next page. | | `GET /v1/account` | `live_readiness`: `live_dealers`, `dealers_with_registered_approver`, `approvers_waiting_on_xcel`, `approvers_waiting_to_confirm` and `gaps`. | | `validate_campaign` (`GET /v1/campaigns/{id}/validate`) | What one order lacks, in `live_gaps`. | ## Still by hand These take a person today, whatever your volume. | Step | Who | Today | | --- | --- | --- | | Turning on live ordering | Xcel | On request. | | Each dealer's disclosures, license number and spend cap | Xcel | On request, one dealer at a time. | | Listing your dealer-group domains | Xcel | On request. | | Reviewing approver addresses off the dealer's domain | Xcel | No timing is promised. | | Removing an approver; deleting a test dealer | Xcel | On request. | | Approving each live order | The dealer's approver | On the review page. This stays with a person. | | CASS and NCOA | Xcel | After submit, by hand. No date of its own. | | The signed NCOA PAF | Xcel, with each dealer | Outside the API. | | Production | Xcel | By hand: Xcel staff send the files to the printer and move the order through its statuses. | | Linking each order to its tracking | Xcel | One order at a time, when it goes into production. | | Linking dealers to UpDash | Xcel | Not part of this pilot: `updash_linked` stays `false`. | | Cancelling after submit | Xcel | Reply to your Xcel thread. Xcel cancels before production on request. | | Invoices | Xcel | Not in the API or the console. | Prices are per piece, and your volume tier counts every dealer's live pieces together (the console's [Pricing](/console/pricing) page). Dates are placeholders; [Still undecided](/docs/going-live.md#still-undecided) has the list. --- # Changelog What changed in each release, and what an integration should do about it. `info.version` in [`/openapi.json`](/openapi.json), `version` on `GET /v1/health` and `api_version` on [`GET /v1/account`](/docs/api-reference.md#account) all give the current version. ## Versioning **Additive changes come without notice.** These are additive: a new response field, a new operation, a new optional request field, a new webhook event type, a new error or preflight code, a new template and a new product. So ignore fields and event types you do not know, and match on `code`, never on the text of `message` or `fix`. **A template change makes a new template version.** The code stays the same. A new creative uses the highest active version, and a creative stays on the version it was made with, so a new version reaches an order only through a new `generate_creative`. Xcel's templates serve only their current version; your own saved templates can be pinned to an older one. **A retired template answers `unknown_template`:** 400 on `POST .../creative`, and 404 on `/v1/templates/{code}` and its preview. An order already made on one keeps its creative. [The templates](/docs/creative.md#the-templates) says what replaces each. **Your prices are in the console** ([Pricing](/console/pricing), once you sign in). A price change is listed here and emailed to your account's admins before it applies; postage moves only when USPS changes its prices. **Dates are placeholders** ([Going live](/docs/going-live.md#still-undecided)) and can change in any release; a change to them is listed here. **How you hear about changes.** Every release is listed on this page, with what to do about it under **Do this**. Compare the version the API reports with the newest entry here. A breaking change gets at least 90 days' notice, by email to your account's admins and in this changelog. ## 0.9.75 **Do this:** nothing. The designer's service coupons first shipped in 0.9.74, which listed only USPS tracking; they are listed here. Coupons saved before 0.9.74 print their details, expiry and terms a little larger (the type floors below), and a headline in a saved design may break its lines in another place (balanced lines, below): look over a saved design's proof before its next large run. A proof's HTML now holds each phone number in a `` element. - **Service coupons in the designer (first in 0.9.74).** A coupon element comes in ten looks: clip-out, band, solid and voucher as before, and a ticket with a perforated stub (the advisor's code, lines for the RO, or the piece's own response QR code), a photo coupon (the photo over the offer, or beside it under a heavy dashed outline for one hero offer), a split coupon with the price on a panel of color, a starburst coupon, a ruled coupon-sheet cell (a title in capitals, a red price, a second price with labels, what the service includes, a Best value banner, a savings ladder and a product cut-out) and a hang tag. See [Service coupons](/docs/console.md#service-coupons). - **Raised prices (0.9.74).** A price can print with its dollar sign and cents small and raised ($39⁹⁵) and "off" small beside it, set the same way when each order's own price fills in. - **Coupon type floors (0.9.74).** A coupon prints its terms at 6.5 pt or more, its expiry at 8 pt bold and its title at 10 pt, and its small words in solid black, never a tint. - **A service photo library (0.9.74).** 31 service photos and a brake rotor cut-out print through `{{stock.}}`, and a photo coupon shows the library's photo of what it sells. See [Stock photos](/docs/creative.md#stock-photos). - **Six coupon starters and coupon craft in the layout AI (0.9.74):** a coupon sheet letter, photo coupons, one big coupon, service tickets, a tear-off letter and a service credit voucher. Asked for service specials on a letter, the layout AI lays out a coupon sheet. - **Live coupon checks (0.9.74):** the parts every coupon prints, the offer as its biggest words, type floors and solid ink, each look's size, cut lines and gutters, matching sets and how many a side holds, a photo that shows the coupon's service at print resolution, the words the dealer's make bans, and a warning about shop fees added to a price in California, North Carolina, Minnesota, Massachusetts and Colorado. - **Coupon sets fill their frames.** The coupons of a row, a column or a grid, or one coupon alone, grow together into the room they would leave empty: the offers first, then the titles, the details and the labels, as far as the fullest coupon allows. Each expiry and its terms stay at the bottom, so a row's footers stand level, and a split coupon's panel and a ticket's stub center the price. A clip-out, band, solid or voucher coupon saved before 0.9.74 prints as it did until you pick a price style. - **Clean ticket notches.** A ticket's dashed outline runs whole dashes into each notch, and each notch is one solid half circle, on the page and in print. - **Balanced lines.** A coupon's title, its small words and its labels, and any text styled as a headline, break into lines of even length, on the page and in print. - **A phone number never breaks across lines.** `{{brand.phone}}`, `{{brand.store_phone}}`, a copy slot, a dealer's or a recipient's value, or a field's own default prints a phone number whole, in every template and design; inside an HTML attribute it prints as written. ## 0.9.74 **Do this:** nothing. To follow each piece through USPS, subscribe to `campaign.usps_tracking_updated` and read `usps` on `GET /v1/campaigns/{id}/leads`. An endpoint that lists its `event_types` receives the new event only once you add it. - **New: each piece's USPS tracking.** Every row of [`GET /v1/campaigns/{id}/leads`](/docs/concepts.md#who-was-mailed) has `usps`, from the scans USPS made of the piece's Intelligent Mail barcode: `stage` (`in_transit` after any scan, `processed_for_delivery` once USPS sorted it for its carrier), `scans`, `first_scan_at`, `last_scan_at`, `last_op_code`, `last_facility` and `processed_for_delivery_at`. It is null before the piece's first scan. Live orders read it with the results, every 6 hours once Xcel links the order; sandbox orders get simulated scans from `in_postal_network` on. Scans are not proof of delivery. - **New webhook: `campaign.usps_tracking_updated`** names the pieces whose stage moved since the last poll, up to 500 per event, each with `external_id`, `row_key`, `stage` and `stage_at` ([Webhooks](/docs/webhooks.md#event-types)). It never sends an event per scan. A per-piece event name such as `postcard.in_transit` is still refused, and its fix now names this event. ## 0.9.73 **Do this:** nothing. Template and artwork previews for one of your dealers now name that dealer in the proof's title and its PDF footer, as they name Demo Motors for the sample. - **Lock elements in the designer.** A locked element stays put and the page treats it as background: a click or drag on it acts as on an empty page, so a box drawn over a full-page photo or band picks what sits on it. Lock and unlock with the lock beside each element in Layers (which still picks a locked element), in the panel, or with Shift+Cmd+L. A drag that starts in the space around the page draws the box too, and Cmd+A leaves locked elements out. - **Check and proof opens on the side you are working on.** The proof shows the back when you are on the back, and the PDF proof opens on the back's page in viewers that follow a PDF's open action. - **A refused Save as template says why.** It lists what must change, each with **Show me**, and a missing disclosures block reads "Add the Disclosures block". - **Clearer designer words.** The size cards say "9 in wide by 6 in tall" under "6 x 9 postcard", and how a folded piece folds; a rename shows in the breadcrumb as you type; brand color swatches carry a small mark, so two that print the same color read apart; the logo's tone help says White fits a dealer with a reversed logo and a white chip one without; and a tracked QR code's panel says the PDF proof, like every review PDF, leaves its box white with a guide where the printer prints each piece's code. - **A saved template's page shows what it is for.** ## 0.9.72 **Do this:** nothing. To connect ChatGPT, Claude or another MCP app, give it the server URL and sign in with your console account on the consent page: there is no key to copy. If your agent follows each tool's hints, expect it to confirm more of them with the person (below). - **Connect by signing in.** The OAuth consent page signs you in with your UpDash console account, by password or an emailed link, and you approve as yourself. The app gets its own key, named for the app and you (`Claude · connected by you@dealer.example`), reaching the dealers you reach in the console; connecting the same app again reuses it, and revoking it in the console disconnects the app. Live is offered once Xcel turns on live ordering for your company, and the Viewer role cannot connect an app. Pasting a partner API key still works. See [Connect by OAuth](/docs/mcp.md#connect-by-oauth). - **New: a sandbox from the consent page.** **Create a free sandbox** takes a name, company and work email, and the email that follows sets the password, so a person can connect an app with no account yet. - **New: `prepare_order`.** Over MCP, one call creates the order, makes the creative and takes the list: with `source_url` it also renders the proof and quotes; without, the upload view finishes the rest once the person drops the file. A step that stops answers `stopped` with its fix and keeps the order, to carry on with `campaign_id`. It never approves or submits. The step tools are unchanged. See [prepare_order](/docs/mcp.md#prepare_order). - **New: pick a design by picture.** In apps that show MCP Apps views, `list_templates` opens the template picker: each design's pictures, front and back, its sample, and **Use this design**, which puts the pick in the chat as the person's message. - **New: upload the list in the chat.** `upload_audience` (and `prepare_order`) without a link opens the upload view: the person drops the CSV or Excel file, which goes from their browser to the upload page, never through the chat, and the view completes the upload. The model is told the counts and column names only. For it, the upload page also answers JSON when asked with `Accept: application/json`. See [Views in the chat](/docs/mcp.md#views-in-the-chat). - **New over MCP: `get_account`** (`GET /v1/account`), with `live_readiness`: what is left before a live order and who does it. - **New: six ready-made prompts** (MCP `prompts/list`), such as **Try a sandbox order** and **Are we ready to go live?**. See [Ready-made prompts](/docs/mcp.md#ready-made-prompts). - **Every tool states all three hints.** `readOnlyHint`, `destructiveHint` and `openWorldHint` are set on every tool, as the ChatGPT and Claude directories ask. `destructiveHint` is now true for the writes that can overwrite (`upsert_dealer`, `update_dealer_profile`, `upload_dealer_logo`, `upload_dealer_asset`, `upload_partner_asset`, `save_dealer_offer`, `save_standing_order`) and for those that send or commit what cannot be called back (`request_approval`, `decide_approval`, `send_approval_code`, `start_standing_order_run`, `submit_campaign`), so a chat app may ask the person to confirm them. `preview_artwork` is no longer read-only: it keeps the art 7 days. - `tools/list` holds 47 tools, 44 of them for the model (53,148 characters), and the instructions name `prepare_order` as the shortest path. ## 0.9.71 **Do this:** nothing. A template saved from the designer with make logos fits them to their frame once you save it again; versions saved before print as they did. - **The designer's make logos fit their frame.** A row of make logos wider than its frame ran past it: the canvas showed every logo whole while the print cut the last one off. The logos now shrink to share the frame, in print and on the canvas. A coupon's logo mark and the fallback logos for the recipient's car fit the same way. - **The designer's editor takes the whole window.** The console's menu folds into the button at the top left, so a 6 x 9 postcard draws at 61% on a 1280-pixel laptop (was 32%) and 68% at 1366 pixels (was 42%), and the first-order guide no longer covers the settings. Below 960 pixels the page comes before the blocks, and on a phone the list of designs scrolls in its card. - **Save a new version keeps the template's words.** It starts from the template's name, what it is for, and each copy field's label and must-fill choice. New labels read "Coupon: offer", "Coupon: what it buys", "Coupon: code" and "QR code: page a scan opens", not "Coupon1 offer" and "Qr link". - **Check and proof lists what the page still flags,** such as words under the address block, instead of calling the design ready; each item picks its element. A dealer missing disclosures, a phone or a logo, and a white logo with no reversed logo, are explained in the console's words. - **The Layers list names each element** by its photo, form, tone or words, and a block added with a click steps a quarter inch off one already in the middle of the page. ## 0.9.70 **Do this:** nothing. - **Demo Motors has a reversed logo.** The sample dealer now prints a light version of its logo, made for dark backgrounds, wherever `{{brand.logo}}` sits on a dark background or a design tones the logo white: previews of your own templates, the console designer's page, and the Demo Motors every sandbox has, including sandboxes made before this release. Its gauge prints as a gauge on a navy band instead of a solid white disc, and its previews no longer warn `brand_logo_reversed_missing`. A reversed logo you upload for your sandbox's Demo Motors replaces it. ## 0.9.69 **Do this:** if you saved a template from the console's designer with a logo or make logos toned white or black, open it with **Edit in the designer** and save it again: a version saved before prints them through a filter that fills an oval or a badge solid. For each dealer whose logo prints white, upload its reversed logo (`POST /v1/dealers/{id}/logo?variant=reversed`). - **The designer's white and black logos print real art.** Make logos toned white or black print each make's own white or black form, so the letters inside the Ford oval or a badge stay clear instead of printing as a solid shape. The dealer's logo toned white prints its reversed logo, the one made for dark backgrounds; a dealer without one prints its logo with every mark white, as before, and preflight's `brand_logo_reversed_missing` now says so. The dealer's logo has no black form, so toned black it prints as uploaded, and the panel offers black only for the make logos. The canvas draws the same art for the dealer you preview as. A design saved with a tone compiles to the new marks; a design without one compiles exactly as before. - **New: `data-logo="white"` or `"black"`** on an element around a logo field prints the logo in that one color whatever the background: a make logo its `white` or `black` variant, and `{{brand.logo}}` in white the dealer's reversed logo, or every mark white without one ([Light and dark backgrounds](/docs/creative.md#light-and-dark-backgrounds)). The designer marks its toned logos this way. ## 0.9.68 **Do this:** nothing. To show the proof in a chat, have your agent call `show_proof` after `render_proof`. - **New: the proof in the chat.** Over MCP, `show_proof` opens the order's proof inside ChatGPT, Claude and other apps that show MCP Apps views: every page as it prints, and the review PDF. Once `request_approval` has asked, the dealer's approver can approve or reject there with a 6-digit code Xcel emails them, with every check of the review page (sandbox: the developer decides with no code). The agent sees the status only, never a page, a row or a code. An approval decided there carries `decided_via: "chat_proof_view"` on `approval.decided`. See [The proof in the chat](/docs/mcp.md#the-proof-in-the-chat). ## 0.9.67 **Do this:** nothing. - **A long name or vehicle no longer gets cut off.** When a recipient's words run past a region's edges, or a word would break in the middle (a sign reading "Christophe" / "r"), the printed piece sets that region's text a little smaller, down to 70% of its size, until it fits. Each piece is fitted on its own, so the other pieces print at full size. PDF proofs, PDF previews and print files all fit the same way (an HTML preview shows the region unfitted); a picture a region crops on purpose is never resized, and type of 60 pt or more is left as designed. ## 0.9.66 **Do this:** nothing. A new creative uses the new version; an order already made keeps its version. - **The five letters keep both addresses 1/8 in inside their envelope windows**, as USPS asks, so neither address slides under the envelope's edge when the letter moves in it. Nothing else on the letters changes. - **A letter Xcel prints in a mail batch keeps its recipient address in the window.** The batch's print file moved a letter's recipient lines up out of the window. - **A vehicle name stays whole on its line.** A hyphenated make or model (CR-V, F-150, Mercedes-Benz) no longer breaks at its hyphen in a merged sentence; the line breaks at a space instead. | Template | From | To | | --- | --- | --- | | `letter_8_5x11_time_for_upgrade` | v3 | v4 | | `letter_8_5x11_coverage_changing` | v3 | v4 | | `letter_8_5x11_next_vehicle_waiting` | v3 | v4 | | `letter_8_5x11_we_know_your_vehicle` | v2 | v3 | | `letter_8_5x11_payment_review` | v2 | v3 | ## 0.9.65 **Do this:** look at the preflight of creatives for dealers whose profile lists `makes`: the new manufacturer-rule warnings name what to change. If your audiences send `vehicle_make` and your HTML prints `{{recipient.make_logo}}`, give it a fallback, `{{recipient.make_logo|@dealer.make_logos}}`: it no longer prints another brand's logo. Where your design puts a make logo or `{{brand.logo}}` on a dark background, mark it `data-tone="dark"`, and upload each dealer's reversed logo. - **Every make logo has a white and a black variant**, made from its own art, and 31 makes' one-color forms are vectors. The merge fields print the variant for the background around them: white on dark, the color art on light, and black on light for Cadillac, Genesis and Mercedes-Benz, whose rules allow only a flat logo. Subaru, which allows only its color or greyscale logo, prints its color logo on a white plate on dark. The server reads the background from `data-tone="dark"` or `"light"` on an element around the field, or from an inline background color, and takes white paper otherwise ([Light and dark backgrounds](/docs/creative.md#light-and-dark-backgrounds)). Xcel's templates print their logos on white, so they keep the color art. The Acura and Land Rover logos lose the white box around their art. - **Sharper make logos, in each make's current design.** Sixteen makes whose art printed soft are drawn again at 1,200 px from vector art (Audi, Chevrolet, Chrysler, Dodge, FIAT, Ford, GMC, Honda, Jaguar, Jeep, Lexus, Lincoln, Nissan and Volkswagen, from Wikimedia Commons) or from larger art (Mitsubishi and Subaru). Six change design: Audi prints the flat four rings without the red "Audi" wordmark, Dodge its wordmark with the two red stripes in place of the Fratzog, Lexus its emblem beside the LEXUS wordmark in place of above it, Lincoln its star over the LINCOLN wordmark in place of the star alone, Subaru its oval above the SUBARU wordmark in place of beside it, and Volkswagen its roundel in Volkswagen blue. A layout that sizes make logos by height shows Lexus's, Lincoln's and Subaru's at a new width. Proofs and templates print the new art. - **`{{brand.logo}}` prints the dealer's reversed logo on a dark background** when the profile has one, and preflight warns `brand_logo_reversed_missing` when it has none. - **A make logo prints only for a make the dealer sells** (the profile's `makes`): most manufacturer co-op rules forbid another brand's logo on a franchised dealer's piece. `{{recipient.make_logo}}` and `{{make_logo.}}` print nothing for another make, so their fallback or `{{else}}` prints. The new preflight code `make_logo_not_dealer_make` counts the recipients that leaves out, by make (`render_proof` and `validate_campaign` read the rows), and warns about a vehicle slot that names another make or another make's logo pasted into your HTML ([Make logos](/docs/creative.md#make-logos)). - **Preflight checks the manufacturer rules of the dealer's makes**: the rules Xcel's proof review applies, ported where the HTML, copy and profile show them. Nine new codes: `oem_wording_banned`, `oem_naming`, `oem_other_make`, `oem_logo_missing`, `oem_logo_count`, `oem_logo_form`, `oem_disclaimer_missing`, `oem_offer_vehicle_unnamed` and `oem_website`, each a warning, or info for a rule that binds only a co-op claim and for Hyundai's two that nearly every Hyundai piece trips, its logo and America's Best Warranty ([Manufacturer rules](/docs/creative.md#manufacturer-rules)). - **New: `GET /v1/makes` and `GET /v1/makes/{make}/logo`**, the make logo library for your own designs: each make's variants as PNG and SVG, which prints on light and on dark and why, and with `dealer_id` only that dealer's makes ([Make logo files](/docs/creative.md#make-logo-files)). Over MCP, `list_make_logos`, which with `make` also gives that make's file links; the server now has forty-one tools. - The Design your own prompts say how to print make logos and mark a dark background. ## 0.9.64 **Do this:** nothing. - **A piece prints its PIN as 123-456-789.** The printer fills `{{response.pin}}` with the PIN in three groups of three digits, and proofs, previews and the gallery show the sample as `123-456-789`. The QR code and the mail barcode still carry the digits alone. A PIN that is not nine digits prints as it is. ## 0.9.63 **Do this:** nothing. A new creative uses the new version; an order already made keeps its version. Preview a template again before you show it to a dealer: the gallery and the downloads show the new versions. - **Twenty-four templates are redrawn to a higher print and design standard.** Each side leads with one headline and a large hero (the reader's vehicle, a scene or a strong graphic), and the offer is the boldest thing in its block. Every QR code is at least 0.9 in, with a line that says what the scan gives, and the phone number is bold. We Missed You and Still Looking sign off in a pen face. The slots each template takes are unchanged, and [The templates](/docs/creative.md#the-templates) describes what each one prints. - **Your Vehicle Is in Demand shows the whole vehicle on white**, standing on the card's floor, in place of a cropped photo. A scene photo in your library labelled `vehicle_scene` still prints behind it. - **Your Ownership Anniversary prints its anniversary medal alone when the reader's vehicle has no photo**, so preflight no longer warns about a missing vehicle photo for it. | Template | From | To | | --- | --- | --- | | `postcard_6x9_birthday` | v3 | v4 | | `postcard_6x9_vehicle_in_demand` | v5 | v6 | | `postcard_6x9_we_missed_you` | v2 | v3 | | `postcard_6x9_lease_almost_up` | v1 | v2 | | `postcard_6x9_vehicle_deserves_attention` | v2 | v3 | | `postcard_6x9_still_looking` | v2 | v3 | | `postcard_6x9_better_experience` | v2 | v3 | | `postcard_6x9_ownership_anniversary` | v2 | v3 | | `postcard_6x9_almost_paid_off` | v1 | v2 | | `postcard_6x9_open_recall` | v1 | v2 | | `postcard_6x9_thanks_for_service` | v1 | v2 | | `postcard_6x9_service_home` | v1 | v2 | | `postcard_6x9_service_appointment` | v1 | v2 | | `postcard_6x9_make_it_yours` | v1 | v2 | | `letter_8_5x11_time_for_upgrade` | v2 | v3 | | `letter_8_5x11_coverage_changing` | v2 | v3 | | `letter_8_5x11_next_vehicle_waiting` | v2 | v3 | | `letter_8_5x11_we_know_your_vehicle` | v1 | v2 | | `letter_8_5x11_payment_review` | v1 | v2 | | `card_8_5x11_birthday` | v3 | v4 | | `card_8_5x11_see_you_again` | v2 | v3 | | `card_8_5x11_welcome_family` | v3 | v4 | | `card_8_5x11_holiday` | v1 | v2 | | `card_8_5x11_thanks_for_coming_in` | v1 | v2 | ## 0.9.62 **Do this:** nothing. - **Run-together id headers are found.** An audience whose record id is in a column such as `CustNo`, `CustomerID` or `ContactID`, as DMS and CRM exports write them, gets a `suggested_column_map` that maps it to `external_id`, as `customer_id` does. - **`upsert_dealer` with an approver says what is left.** Its `next_step` says the confirm link was emailed and, for a dealer without a logo, that a live order needs one (`upload_dealer_logo`, with the logo's https address or the file). A new dealer's `next_step` names the MCP tools as well as the REST routes. - **The MCP instructions start with the rules** an agent always follows, for clients that weigh the start of the instructions most. ## 0.9.61 **Do this:** nothing. No open order uses a withdrawn product. - **Only the three products on offer are quoted and submitted.** A campaign made before the 6 x 11 postcard or the legal letter was withdrawn answers 409 `product_not_offered` to a quote and to submit. Order with `postcard_6x9`, `letter_8_5x11_10win` or `card_8_5x11_6x9env` (`GET /v1/products`). The legal letter's spec files are no longer served. - **The docs give each product's default mail class.** A quote or standing order without `mail_class` takes the product's default: `first_class` for the postcard (its only class), `marketing_mail` for the letter and the fold card. Some pages said `marketing_mail` for every product; the API did not change. ## 0.9.60 **Do this:** nothing. - **`address_processing.do_not_mail`** on `GET /v1/campaigns/{id}/leads`, and `do_not_mail` in an audience's `reconciliation.address_processing`: rows of a live order left out of a presorted mailing because their address is on the do-not-mail list. They are never mailed and not billed, and count apart from `cass_failed` and `ncoa_moved`. `0` when none. ## 0.9.59 **Do this:** nothing. - **Near-black text in presorted mailings prints in black ink only**, so small type stays sharp on press. Colors and lighter greys print as designed. Nothing in the API changes. ## 0.9.58 **Do this:** nothing. - **Presorted mailings reach the printer in CMYK**, with black text and barcodes in black ink only, through a page of their own that Xcel sends the printer. Nothing in the API changes. ## 0.9.57 **Do this:** nothing. A new creative uses the new version; an order already made keeps its version. - **Your Vehicle Is in Demand prints its appraisal pass as type.** The pass on the front of the card, with the phone number and the reader's name, printed as a picture; it now prints as sharp text and lines like the rest of the card, without the faint shadow behind it. | Template | From | To | | --- | --- | --- | | `postcard_6x9_vehicle_in_demand` | v4 | v5 | ## 0.9.56 **Do this:** nothing. - **Presorted mailings reach the printer one file per mail tray**, and a vehicle photo set on white prints without transparency. Nothing in the API changes. ## 0.9.55 **Do this:** nothing. - **Mailed pieces carry the same tracking barcodes as the rest of Xcel's mail**, so delivery tracking covers orders printed in presorted mailings. Nothing in the API changes. ## 0.9.54 **Do this:** nothing. - **Live orders can print in presorted mailings.** Xcel can now combine submitted live orders of the same product, mail class and envelope into one presorted mailing for the printer. Nothing in the API changes, and orders report their status as before. ## 0.9.53 **Do this:** tell new accounts' approvers to expect their email once Xcel sends your Order Form. Read `email_held` on approver invitations if you show their status. - **A new account's emails to people it names wait for Xcel.** Until Xcel has sent your Order Form or turned on live ordering, an approver invitation is saved with `email_held: true` and not emailed. Xcel sends it within minutes of either, with a fresh 7-day link ([Approvers](/docs/dealers.md#approvers)). Live billing setup links answer 409 `partner_not_activated` until the Order Form is out, and the console invites at most three people a day (429 `console_invite_rate_limited`). This stops a sign-up from sending mail from UpDash's domain to anyone it likes. - New field `email_held` on every approver invitation. ## 0.9.52 **Do this:** nothing. If your users connect Claude or ChatGPT as a custom connector, they can now do it with the app's own published identity. - **Claude and ChatGPT connect.** The MCP server's sign-in refused the client documents Claude and ChatGPT publish (Client ID Metadata Documents): Claude's lists the `jwt-bearer` grant and ChatGPT's names `private_key_jwt` while also listing `none`. Grants the server never issues are now ignored, and a document that lists `none` among its supported methods connects as a public client with PKCE. Grok already connected. - The quickstart's `required_slots` sample matches what the API returns, and its approval step says the review page may ask for your email. - The console's Pricing page shows price-change dates as calendar dates in every time zone. ## 0.9.51 **Do this:** nothing yet: call tracking is still switched off. - **A tracking number only where the order pays for it.** A live order gets its tracking number when its proof is made, once its list mails at least 500 pieces, never when the design is made. Until then the design's phone holds `{{brand.phone}}` and the creative's `calls.fallback` is `pending`. Smaller orders print the store's line, with `calls.fallback` `below_minimum` and the proof warning `call_tracking_below_minimum`. - **`calls` on the proof.** `render_proof` answers with `calls`: the number the proof printed and the line it rings, or why the store's line printed. - **A cap per partner.** At most 100 tracking numbers at once (`cap_reached`, `call_tracking_cap_reached`). Ask Xcel to raise it. - **Numbers of orders that never mail go back:** the day after the order is cancelled or its approval rejected, or 30 days after the number was set up while the order is not submitted and no approval is open. The proof goes back to draft; the next proof gets a new number. - **"Keep it 90 more days"** works once per order, while the number still took a call in the last 30 days. - `call_tracking_unavailable` is now a proof warning: make the proof again to retry. - The console's Design Studio says a recipient's vehicle prints cut out on a soft shadow, as it has since 0.9.36, not on white. ## 0.9.50 **Do this:** nothing yet: call tracking is still switched off. - **After the mail drops, in the console.** A live order with a tracking number has a Calls card: the number, the line it rings, its calls so far and the day it stops ringing, with "Change where calls ring" and "Keep it 90 more days". The members who see the dealer get an email a week before the number stops ringing. - **Test a store's line.** The dealer's Calls section can place a short automated call to the line a tracking number rings and shows whether a person or the store's phone system answered: up to 5 test calls an hour per dealer. ## 0.9.49 **Do this:** nothing yet: call tracking is still switched off, and this changelog will say when it is on. Once it is, every live order prints a tracking number unless the dealer's Calls setting or the order says otherwise. To keep a dealer's own number, set its profile `calls.print` to `store`, or to `own` with `own_number`. - **Choose the phone on the mail.** A dealer profile's new `calls` sets what its mail prints: an UpDash tracking number (the default), the store's own line, or a number you provide, and the line a tracking number rings (`ring`, and `service_ring` for service mail). `generate_creative` takes `calls` for one order; later versions keep it, and `null` goes back to the dealer's setting. See [Calls](/docs/concepts.md#calls). - **The creative says what prints.** A creative's new `calls` names the number, the line it rings, who chose it, and why a chosen tracking number does not print (`fallback`, with a `note`). - **A tracking number replaces only the design's own line:** the design's first phone, every phone printing that same line, and `{{brand.phone}}`. A phone for another department keeps its line. New merge field `{{brand.store_phone}}` always prints the store's own line. - **In the console:** the dealer page has a Calls section, which admins change. The order form says which number prints, with "Change for this order". The designer marks the phone that becomes a tracking number, with a setting to keep the store's own number in one spot. Template pages, the Design Studio, the order's proof and the approver's review page name the tracking number and the line it rings. - `call_tracking_unavailable` is now a `warning`. - A tracking number is included in the piece price. ## 0.9.48 **Do this:** nothing. An agent whose host cannot `PUT` a file (claude.ai, for example) can now hand the person `upload_page_url` instead of a `curl` command. - **Sandbox sign-up, password reset links and team invitations work again.** Since 0.9.41 their links failed to save and the request answered 500. - **A browser page for the audience file.** `POST /v1/campaigns/{id}/audience` and MCP `upload_audience` also return `upload_page_url` and `upload_page_expires_at`: a page, valid for 2 hours and needing no key, where a person chooses a CSV or Excel file (at most 4 MB). It stores the file where the `PUT` would, without date-of-birth columns, shows only the count of rows and the column names, and takes no new file once the upload is completed. Complete the upload as before ([Audiences](/docs/audiences.md)). - **Slots that print from the dealer's profile are optional.** `signer_name` and `signer_title` leave `required_slots`, and in a template's full `slots` they carry `required: false` and the new field `from_profile: true`. - **MCP answers leave out large inline images.** A `data:image` value over 2 KB, such as a dealer's logo, is replaced by a short note saying where to see it, so answers stay small. - The console's API keys page, its first-steps checklist and the sandbox welcome email say how to connect Claude as a custom connector. ## 0.9.47 **Do this:** nothing yet. Call tracking is built and switched off; this changelog will say when Xcel switches it on. - **Call tracking numbers (switched off).** Once on, a live order whose piece prints the dealer's line gets an Xcel tracking number in its place when the creative is generated: a local number in that line's area code that rings it. Each call is recorded and comes back in the order's results as a phone response, on the lead of the person who called when their number is on your list. Send `cta_phone` to keep your own number; sandbox orders never get one ([Slots](/docs/creative.md#slots)). New `info` preflight code `call_tracking_unavailable`: the piece prints the dealer's line because no number could be set up. ## 0.9.46 **Do this:** nothing. If your own HTML or saved templates place a QR code with `{{qr.}}`, expect the proof to show a sample code stamped SAMPLE where it prints; mark an element `data-qr-same` to keep one code for everyone. - **Every https QR code prints as each piece's own code.** A `{{qr.}}` with an `https://` value in your own HTML or a saved template now prints like the designer's QR code: the Mail API measures where it prints when you generate the creative and makes it a response QR box there, which the printer fills with each piece's own UpDash code. Every scan is recorded on that customer's lead and reaches the order's results before the code opens your page. `sms:` and `tel:` codes, and codes marked `data-qr-same`, still print one code for everyone ([QR codes](/docs/creative.md#qr-codes)). - New `info` preflight code `qr_not_tracked`: an https code that stays one code for everyone, with the reason (it moves with the copy, is turned, is too small for the printer, or sits in a block that tests another field). ## 0.9.45 **Do this:** if you show a quote's lines to people, expect two new line codes from December 19, 2026: `handwriting` and `vehicle_photo`. Read the add-on prices on the console's [Pricing](/console/pricing) page. - **Two add-ons get a price of their own from December 19, 2026.** A design that sets a note or signature in a handwriting face adds a `handwriting` line, and one that prints each customer's own vehicle (`{{recipient.vehicle_photo}}`) adds a `vehicle_photo` line, each priced per piece on every piece of the order. A vehicle named in a copy slot is the same on every piece and is no add-on. Until then both stay in the piece's price. Your console admins get the notice by email 30 and 7 days ahead; quotes made before keep their price until they expire, and approved orders keep theirs ([How a quote is built](/docs/quotes-and-approvals.md#how-a-quote-is-built)). - The console's Pricing page lists the add-ons and what each costs now and from December 19. ## 0.9.44 **Do this:** nothing, unless your integration links people to `/docs/pricing`: point it at `pricing_url` or `https://api.updash.com/console/pricing` instead. - **Prices are in the console, not the public docs.** The price list moved from `/docs/pricing` to the console's [Pricing](/console/pricing) page, which only a signed-in partner sees; `/docs/pricing` now leads there. `pricing_url` (`GET /v1/account`, `upcoming_price_change`) and the product list's `pricing_note` name the new page. Your Usage page still shows your price per piece now. - **The fold card costs less.** From November 19, 2026, the fold card is cheaper in every tier and mail class. Quotes made before keep their price until they expire, and approved orders keep theirs. ## 0.9.43 **Do this:** nothing. - **A cut-out car stands on the ground.** A vehicle photo printed with a transparent background now carries a soft contact shadow under its tyres, so the car no longer looks as if it floats over the brand color or the paper. The page, the proof and the printer's PNG in the packet show the same shadow; the sample library the sandbox prints has it too. A car on a scene keeps the scene's own shadow. A photo may be a little taller than before, by the shadow under it. ## 0.9.42 **Do this:** nothing, unless your own HTML prints `{{asset.signature}}` for a dealer whose signatures are marked `department: "service"`: check its next proof. - **`{{asset.signature}}` prints the signer's signature.** It prints the signature of the person `{{dealer.signer_name}}` names: the dealer's newest signature marked `"sales"`, else its newest unmarked one ([Asset fields](/docs/creative.md#asset-fields)). It printed the newest signature of any kind, so a service manager's signature uploaded last could print above the general manager's name. A signature marked `"service"` now never prints there, as [Who signs](/docs/dealers.md#creative-assets) already said; `{{asset.signature.