TUMR DOCS
Docsgetting startedEnvironments & Base URLs

# Environments & Base URLs

Tumr provides completely isolated environments for production workloads and development testing.

| Environment | Base URL | Description | | :--- | :--- | :--- | | Production | https://api.tumr.app/api/v1 | Live infrastructure. Dispatches physical courier fleets and settles real bank payouts. | | Sandbox / Staging | https://sandbox.tumr.app/api/v1 | Full simulation environment with mock wallets, test webhooks, and simulated riders. | | Local Development | http://127.0.0.1:8080/api/v1 | Running on your local workstation with Django + Vite. |

Headers Standard

All requests sent to the Tumr REST API should specify standard content headers:

Host: api.tumr.app Content-Type: application/json Accept: application/json Authorization: Bearer ak_live_sec_...

Idempotency Keys (Recommended for POST requests) To prevent duplicate orders caused by network dropouts or client retries, supply an Idempotency-Key header:

Idempotency-Key: ord_771928_attempt_1

If a request with an identical Idempotency-Key is received within 24 hours, Tumr immediately returns the cached original response without re-charging the wallet or creating duplicate shipments.