What do you want to do?
Start from what you want to do. Each guide takes you from nothing to working.
The API reference tells you what each operation accepts. These pages tell you which ones to call, in what order, and what to watch for on the way.
Pick the row that sounds like your problem.
Shipping
| I want to… | Start here |
|---|---|
| Understand the whole cycle before I write anything | Core workflow — quote, label, track, cancel |
| Ship within one country | Domestic shipping |
| Ship across a border | International shipping — customs, HS codes, commercial invoice |
| Send several boxes as one shipment | Multiple packages |
| Have the carrier collect from my warehouse | Pickups and manifests |
By the kind of business you run
| An online store | E-commerce checkout — show real rates at checkout and fulfill from the order |
| A marketplace with several sellers | Marketplace, multi-seller — many origins, one buyer |
| A warehouse or 3PL | Warehouse and 3PL — volume, batches, picking |
Building an assistant
If a language model is deciding what to call, there is a second API surface shaped for that: one call quotes every carrier, and free text or a photo becomes a structured address. See Building Agents on Envia.
Before you start
Two pages are worth ten minutes each, and they save more than that later:
- Authentication — one token, three hosts
- What's covered by the API contract — what we promise not to change, and what we may change without telling you
When something fails
The error shape depends on which host answered:
| Host | Page |
|---|---|
api.envia.com | Errors — Shipping API — HTTP 200 with meta: "error" in the body |
queries.envia.com | Errors — Management API — real status codes |
geocodes.envia.com | Errors — Geocodes API — almost never fails, returns an empty array |
Ready to go live
Production checklist — the things that are easy to forget until a real parcel is moving.
Next steps
The whole shipping flow, step by step: rates, labels, tracking, pickups, cancellations and webhooks.
Quote, buy a label and track your first shipment in sandbox, in three calls.
What an address needs in each country, where each value comes from, and five rules that apply everywhere.
Updated 18 days ago