---
updatedAt: 2026-07-07T04:50:40.000Z
agentTools:
  projectIndex: https://docs.envia.com/llms.txt
---

# Envia Shipping API

## Overview

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.

## What you can build

With the Shipping API you can:

* **Compare rates** across 100+ carriers with a single request per carrier
* **Generate labels** and download PDFs ready for printing
* **Track packages** in real time from pickup to delivery
* **Schedule pickups**, cancel shipments, and create manifests
* **Handle international shipping** with commercial invoices and HS code classification

## 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.

## Core Workflow

Choose your shipping type to see the relevant workflow:

<Tabs>
  <Tab title="🏠 Domestic Shipping">

Ship within the same country — the most common flow.

1. **Get a quote** – call [Quote Shipment](https://docs.envia.com/reference/shipping-rates) with origin, destination, and package details.
2. **Create a label** – call [Create Shipping Label](https://docs.envia.com/reference/create-shipping-label) with the chosen carrier and service.
3. **Track the shipment** – use [Track Shipments](https://docs.envia.com/reference/track-shipments) with the tracking number.
4. **Schedule a pickup** (optional) – call [Schedule Pickup](https://docs.envia.com/reference/schedule-pickup) if you need carrier collection.
5. **Cancel** (if needed) – call [Cancel Shipment](https://docs.envia.com/reference/cancel-shipment) to void the label.

<Cards>
  <Card title="1. Get a quote" href="/reference/shipping-rates" icon="fa-dollar-sign">
    Compare rates across carriers for your route. Each request returns available services, prices, and estimated delivery times.
  </Card>

  <Card title="2. Create a label" href="/reference/create-shipping-label" icon="fa-shopping-cart">
    Select a rate and purchase a shipping label. You get a tracking number and a downloadable PDF.
  </Card>

  <Card title="3. Track the shipment" href="/reference/track-shipments" icon="fa-map-pin">
    Monitor your package in real time from pickup to delivery using the tracking number.
  </Card>

  <Card title="4. Schedule a pickup" href="/reference/schedule-pickup" icon="fa-truck">
    Want the carrier to come to you? Schedule a pickup with the tracking numbers and your address.
  </Card>

  <Card title="5. Cancel (if needed)" href="/reference/cancel-shipment" icon="fa-ban">
    Plans changed? Cancel the shipment to void the label and recover your balance.
  </Card>
</Cards>

  </Tab>

  <Tab title="🌎 International Shipping">

Ship across borders — includes customs steps like HS codes and commercial invoices.

1. **Get a quote** – call [Quote Shipment](https://docs.envia.com/reference/shipping-rates) with origin, destination, and package details.
2. **Classify HS code** – use [Classify HS Code](https://docs.envia.com/reference/classify-hs-code) to get the tariff code for customs.
3. **Create a label** – call [Create Shipping Label](https://docs.envia.com/reference/create-shipping-label) with the chosen carrier and service.
4. **Commercial invoice** – generate the customs document via [Create Commercial Invoice](https://docs.envia.com/reference/create-commercial-invoice).
5. **Track** – use [Track Shipments](https://docs.envia.com/reference/track-shipments) to monitor through customs and delivery.
6. **Create a manifest** (optional) – consolidate labels with [Create Manifest](https://docs.envia.com/reference/create-shipping-manifest) for batch pickup.
7. **Schedule a pickup** (optional) – call [Schedule Pickup](https://docs.envia.com/reference/schedule-pickup) for carrier collection.
8. **Cancel** (if needed) – call [Cancel Shipment](https://docs.envia.com/reference/cancel-shipment) to void the label.

<Cards>
  <Card title="1. Get a quote" href="/reference/shipping-rates" icon="fa-dollar-sign">
    Compare international rates across carriers. Prices include estimated duties when available.
  </Card>

  <Card title="2. Classify HS Code" href="/reference/classify-hs-code" icon="fa-list">
    Get the correct tariff classification for your products. Required by customs for cross-border shipments.
  </Card>

  <Card title="3. Create a label" href="/reference/create-shipping-label" icon="fa-shopping-cart">
    Purchase the international shipping label with the selected carrier and service.
  </Card>

  <Card title="4. Commercial Invoice" href="/reference/create-commercial-invoice" icon="fa-file-check">
    Generate the customs invoice PDF. Attach it to the package along with the shipping label.
  </Card>

  <Card title="5. Track the shipment" href="/reference/track-shipments" icon="fa-map-pin">
    Monitor your international package through customs and delivery.
  </Card>

  <Card title="6. Create a manifest" href="/reference/create-shipping-manifest" icon="fa-file">
    Shipping multiple packages? Consolidate them into a single manifest for carrier handoff.
  </Card>

  <Card title="7. Schedule a pickup" href="/reference/schedule-pickup" icon="fa-truck">
    Schedule the carrier to collect your international parcels.
  </Card>

  <Card title="8. Cancel (if needed)" href="/reference/cancel-shipment" icon="fa-ban">
    Cancel the shipment within the carrier's allowed window to void the label.
  </Card>
</Cards>

  </Tab>
</Tabs>

## 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.

## 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](https://docs.envia.com/docs/authentication).

## 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](https://docs.envia.com/docs/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!

<Callout icon="🛟" theme="default">
  ### Need Help?

  Have questions or need assistance with your integration?<br />Our support team is ready to help 🚀

  **[Create a support ticket here](https://envia.atlassian.net/servicedesk/customer/portal/3/group/3/create/10611)** and we’ll guide you with setup, troubleshooting, or feature requests.
</Callout>

## What to read next

* **Start coding** – The [Core Workflow](https://docs.envia.com/docs/core-workflow) guide walks through every API call with full request/response examples.
* **Plan your integration** – The [Integration Guide](https://docs.envia.com/docs/integration-guide) covers all three APIs from address validation to production.
* **Set up webhooks** – The [Webhooks Guide](https://docs.envia.com/docs/webhooks) covers real-time tracking notifications.
* **International shipping?** – See [Duties & Taxes](https://docs.envia.com/docs/duties-taxes) and [HS Codes](https://docs.envia.com/docs/hs-codes) for customs handling.

<br />