The Management API

Look up what you need before you ship, and review what happened after: addresses, carriers, shipments and logs.

Overview

The Management API covers what happens around a shipment: look up what you need before you ship — address rules, postal codes, the carriers and services for a route — and review what happened after: shipments, pickups and logs. The Shipping API creates the shipments; this one discovers, validates and monitors.

What you can do with the Management API

  • Address Structure Discovery

    • Get address structure requirements and validation rules for different countries.
    • Discover required fields, data types, and formatting rules to build country-specific address forms.
  • Carrier & Service Availability

    • See which carriers/services are available per country/region/ZIP.
    • Explore service constraints (e.g., supported package types, size/weight ranges) to guide checkout choices.
  • Account Resources

    • List shops/e-commerce connections, webhooks, payment/invoice references, and other configuration you’ll use across environments and stores.
  • Shipments & Pickups (Read-only)

    • Fetch shipment lists/history and pickup logs for analytics, reconciliation, and customer support tooling.
  • Reference Data for UX

    • Countries, states, cities, serviceable areas—everything you need to power autocompletes and selectors in your app.

What you can do

Environments & Authentication

  • Production: https://queries.envia.com/
  • Sandbox/Test: https://queries.test.envia.com/

Auth: Same Bearer token you use for the Shipping API. Generate and manage tokens in the Envia dashboard, under Developers — sandbox · production. Include it in every request via Authorization: Bearer <token>.

When to call Management vs. Shipping

  • Use Management when you need to know something (validate, discover, list, or inspect).
  • Use Shipping when you need to do something (rate, label, track, pickup, cancel).

A typical flow:

  1. Validate Address (Geocodes): validate postal code → locate city if needed.
  2. Discover options (Management): check available carriers and services, and get the address structure for the country.
  3. Execute (Shipping): request rates → choose service → create label → schedule pickup.
  4. Monitor (Management and Shipping): fetch shipment and pickup logs and statuses for dashboards or customer support.

Questions about your integration? Open a support ticket.

Next steps


Did this page help you?