Authentication
Envía.com uses Bearer Token authentication to authorize requests (both for Shipping and Queries API). Every request to the API must include the following header:
Authorization: Bearer <API Access Token>Your API access token uniquely identifies your account and permissions. Without this token, requests to the API will not be authorized.
🔑 Getting Your API Keys
The process to obtain your API keys is the same for both production and test environments, but you must log in to the corresponding dashboard.
-
If you need Production API keys:
-
Log in or create a new account.
-
Navigate to Settings → API.
-
Click Add to generate a new API key.
-
Verify API key was created successfully
-
If you need Test (Sandbox) API keys:
- Go to https://shipping-test.envia.com/home.
- Create a separate test account (credentials are not shared between environments).
- Navigate to Settings → API.
- Click Add to generate your sandbox API key.
💡 Important Notes
- You will have different API keys for test and production environments.
- Make sure you use the correct dashboard and base URL when generating and using your tokens.
- Tokens from one environment will not work in the other.
Updated about 2 months ago
