Envia Shipping API – Overview

Multi-carrier shipping API for generating labels, rate quotes, tracking, pickups, cancellations, manifests, invoices, and HS code classification.

Welcome to the Envia Shipping API, your all-in-one solution for multi-carrier shipping. This API lets you connect your e-commerce platform or internal system to dozens of local and international carriers through a single integration. With it you can generate shipping labels, get real-time quotes, track packages, schedule pickups, cancel shipments, create manifests, generate commercial invoices for customs, and classify products with HS codes.

Key Features

  • Multi-carrier – choose from over 100 carriers without maintaining separate integrations.
  • Flexible – ship domestically, internationally, handle returns, and even import shipments.
  • Developer-friendly – consistent JSON schemas, clear documentation, sandbox and production environments, and interactive API explorer.

Environments

We provide two environments so you can develop and test safely before going live:

  • Production: https://api.envia.com/ – live mode that generates real labels and charges.
  • Sandbox / Test: https://api-test.envia.com/ – safe environment to try endpoints and workflows.

Each endpoint page includes an Environment selector so you can switch between these at any time. Make sure you have separate API tokens for each environment.

Core Workflow

A typical shipping workflow looks like this:

  1. Get a quote – call Quote Shipment with the origin, destination, package details and the carrier you want to quote. Each request returns available services, prices, and estimated delivery times for that carrier.
  2. Create a label – after selecting a rate, call Create Shipping Label with the service code and your shipment details to purchase and download a label.
  3. Track a shipment – use Track Shipments with one or more tracking numbers to get real-time status updates.
  4. Schedule a pickup – if you want the carrier to collect the parcels, call Schedule Pickup with the tracking numbers and your pickup address.
  5. Cancel a shipment – if something changes, call Cancel Shipment with the tracking number and carrier to void the label and avoid charges.
  6. Create a manifest – consolidate multiple labels into a single manifest for a daily pickup using Create Manifest.
  7. Commercial invoice – for international shipments, generate the required customs invoice via Create Commercial Invoice.
  8. Classify HS code – need a tariff classification? Use Classify HS Code to get HS codes based on a product description.

You can perform one or all of these steps depending on your workflow.

Each endpoint requires a valid bearer token and certain required fields; consult the endpoint's page for parameters, examples, and request/response schemas.

Navigating the Documentation

  • Use the Search bar (press Ctrl+K / ⌘K) to quickly find endpoints or topics.
  • Each endpoint page includes an Environment selector, Authorization panel, Examples dropdown, and an interactive Try It console so you can test calls right in the browser.
  • Check out the Guides section for detailed tutorials and the Recipes section for ready-made workflows. The API Reference lists every endpoint with full details.
  • If you're new to the API, start with "Getting Started with Envia API" and "Navigate Through the Documentation" guides.

Authentication

All requests require a bearer token. Create separate tokens for the sandbox and production environments via your Envia dashboard. Include the token in the Authorization: Bearer <token> header for every call. For more information, see the Authentication guide.

Complement Shipping Integration Using the Queries API

The Envia Queries API complements the Shipping API by providing reference data you need before you create shipments. You can use it to fetch lists of countries, states, carriers, services, and pickup options. For example:

  • Get Countries and States: determine which origin countries and states are supported, and retrieve the codes needed for your quote and label requests.
  • Get Available Carriers and Services: discover which carriers and service levels operate in a given country or postal code before quoting shipments.
  • Validate Addresses: ensure that your origin and destination addresses conform to the carrier's requirements in each country.

Refer to the Envia Queries API – Overview guide to learn more about these endpoints and how they enhance your shipping workflows.


With this overview and the endpoint pages, you'll have everything you need to build a seamless multi-carrier shipping experience into your application. Happy shipping!


🛟

Need Help?

For any inquiries or assistance, our support team is here to help you with your integration. Contact us for guidance, troubleshooting, or feature requests.