The AutoMunch REST API 📘
Build on the fleet. One am_live_ key unlocks every API below — DoorDash checkouts, Uber Eats / Whataburger / Bojangles / Grubhub account generation — all over the same Bearer auth, the same async job model, the same structured error envelope. Built for operators, not tinkerers.
The am_live_ model
Mint one key with /api_key action:Create in the AutoMunch Discord. It carries your subscription, credit wallet, scopes and per-brand settings — so the same Bearer token works across every API on this page. Rotate it anytime; you only ever hold one active key.
Bearer across the fleet
Every endpoint accepts the same header. No per-brand provisioning, no OAuth dance, no key-per-service bookkeeping to manage.
- ✓ Prefix
am_live_ - ✓
Authorization: Bearer am_live_... - ✓ Scope + credits read from your Discord
/settings
Credits only on success
Previews, batch reads, eligibility checks and job polls are free. A credit lands only when something actually ships — a verified order, a born account, a delivered OTP.
- ✓ Failed orders never charge
- ✓ 2 active jobs per user
- ✓ Shared wallet with Discord
/buy
The lineup
Every dedicated page carries endpoints, request bodies, the full response envelope, and copy-paste cURL and Python.
DoorDash API
Batches, 50% + 40% stacked deal, preview-then-confirm checkouts, async order jobs, a public tracking link on every placed order, plus optional address-swap and scheduled delivery. Subscription-gated; Lifetime = free checkouts.
Uber Eats API
Credit-based account generation with promo selection, async checkouts on the same job model, and the credentials you need for every account you keep.
Whataburger API
Automated account generation. Automatic reward polling on every fresh account — rewards are hot while the account is. 1 credit per successful gen.
Dutch Bros API
Signup loyalty accounts and place the free welcome-reward drink in one call. Synchronous — no polling. Half-credit pricing with automatic refund on failure.
Bojangles API
Automated signup with async OTP retrieval. Tokens returned with each account for downstream sign-in or ordering. 1 credit per gen.
Grubhub API
POST /v1/grubhub/gen. Lives inside the Food bot — 0.5 credits per successful gen, uses the email-OTP provider key you set in /settings. No dedicated page yet; the Food bot page has the reference.
Need one that isn't here?
Instacart and Chipotle automation live inside their Discord cogs today — no REST surface yet. Open a ticket and tell us what you'd build; the surface we expose is the surface people ask for.
Four steps, same for every API
Get an am_live_ key, call POST /v1/..., then poll. That is the whole loop for every brand on this page.
1 · Create a key
Run /api_key action:Create in the AutoMunch Discord. One active key per user — action:Rotate swaps it, action:Revoke kills it.
2 · Bearer auth
Send Authorization: Bearer am_live_... on every request. The server looks up your scopes, subscription tier and credit balance for you.
3 · POST /v1/...
Start the work. Fast endpoints (preview, eligibility, /v1/me) return JSON immediately. Heavy ones return 202 with a job_id and a poll_url.
4 · Poll /v1/jobs/{id}
Hit the poll_url every 2-3 seconds. When status flips to completed or failed, the result or the error envelope is yours.
The shape every answer wears
Order endpoints always surface a top-level success boolean, a tracking_url on wins, and a structured error envelope on losses — so you switch on error_code and never scrape error strings.
| Field | Type | Shows when | Meaning |
|---|---|---|---|
success | boolean | Always | True only on a verified-placed order. A bare payment-processed event without tracking counts as weak and lands here as false. |
tracking_url | string / null | Success | Public DoorDash tracking link. null on failure — never guess one from the order UUID. |
doomdash_tracking_url | string | Success (DoorDash) | Branded doomdash.online/track/... short link, same JWT class as the real one. |
error_code | string | Failure | Stable, machine-readable. Real codes: card_tap_required, three_d_secure, promo_abuse, cart_validation, out_of_range, dyscan_required, fraud_block_promo_abuse. |
error_message | string | Failure | Human-readable copy. Mirror it to your end users verbatim — the wording is tuned to be surfaceable. |
credits_charged | integer | Always | Zero on every failed job. No exceptions. |
Gen jobs and OTP jobs wear the same envelope — success, then result on wins or error_code plus error_message on fail. Same shape across the fleet.
House rules
One contract across the fleet. Learn it once; every new brand we expose plays by it.
Credits only on success
Failed orders, failed gens and failed OTPs are free. If we charged you, something actually completed — otherwise it is a bug and we refund.
Async job model
Heavy endpoints return 202 plus poll_url. Poll until completed. Fast ones (preview, eligibility, /v1/me) are synchronous and return JSON directly.
2 active jobs per user
Hard concurrency cap. Request number three gets a 429 until one of the first two finishes. Keeps a single key from strangling the fleet.
Structured errors
Every failure carries error_code plus error_message. Switch on the code, surface the message, retry only the codes the per-brand docs flag as retry-safe.
Grab a key
You mint it on Discord. Takes about ten seconds.