Browse inventory → GET /pre-warmup
Place order → POST /pre-warmup/order?userId=
Receive webhook → prewarmup.order.success
Export to platform → POST /exports/outreach-app| Method | Endpoint | Description |
|---|---|---|
GET | /pre-warmup | Browse available pre-warmed inventory |
POST | /pre-warmup/order?userId= | Place a pre-warmup order |
| Event | Description |
|---|---|
prewarmup.order.success | Mailboxes transferred and ready — payload includes mailboxId, email, status, and warmupDaysCompleted for each mailbox |
prewarmup.order.failed | Order failed — reason field indicates the cause |
cmr-x-sandbox-api-key header — not the standard cmr-x-api-key.| Endpoint | Description |
|---|---|
GET /sandbox/pre-warmup | Browse sandbox inventory |
POST /sandbox/pre-warmup/order?userId= | Place a sandbox order |
DELETE /sandbox/pre-warmup/reset?userId= | Reset all sandbox state for the user |
cmr-x-sandbox-scenario header on the order request:| Header value | Simulated outcome |
|---|---|
simulate:prewarmup-order-success | Order completes successfully (default) |
simulate:prewarmup-order-failed | Order fails entirely |
GET /pre-warmup — filter by serviceProvider and check available domains.POST /pre-warmup/order?userId= — pass the order array, serviceProvider, and any OAuth details.prewarmup.order.success. The payload contains all provisioned mailboxes.GET /sandbox/pre-warmup — check available test domains.POST /sandbox/pre-warmup/order?userId= — send simulate: prewarmup-order-success header to control the outcome.prewarmup.order.success handler receives and processes the payload correctly.DELETE /sandbox/pre-warmup/reset?userId= — clean up between test runs.201 response only confirms the order was queued. Mailboxes are not ready until prewarmup.order.success fires. Do not export before receiving it.microsoftOauthRoute are rejected immediately. Google OAuth export requires the full google object with googleOauthRoute, clientId, and appName.DELETE /sandbox/pre-warmup/reset between runs.