# 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`](api-reference.md#account) (`ordering_enabled`, `live_readiness`). For one order, [`validate_campaign`](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](quickstart.md); a [test ping](webhooks.md#test-your-endpoint) checks the receiver alone. |
| 2 | You | Create a live key in the [partner console](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](dealers.md#test-dealers)). |
| 4 | You | Name each dealer's approver ([Approvers](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](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](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](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](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](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](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](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.
