Get Packages
Get Packages
Retrieve a paginated list of logistics packages with aggregated emissions
GET
Get Packages
Get Packages
Retrieve all logistics packages created by your organization with pagination support. Packages group multiple legs of a shipment and provide aggregated distance and emissions data.New API: This endpoint is part of the new API architecture with improved design and maintainability.
Request
Headers
Your API key for authenticationExample:
sk_live_1234567890abcdefYour organization UUIDExample:
a8315ef3-dd50-43f8-b7ce-d839e68d51faQuery Parameters
Page number to retrieveExample:
1Number of items per page (1-100)Example:
50Filter packages by movement ID (shipment identifier). Use this to get all packages belonging to a specific shipment.Example:
SHIP-2024-001Filter packages by client identifier. Use this to get all packages for a specific client (e.g., corporate customers like Amazon).Example:
AMAZONFilter by package key to find a specific package. Useful when you have the package identifier from a label or tracking system.Note: When filtering by
package_key, the response includes the legs array with the complete journey details.Example: 26830007899150601093463Response
Current page number
Number of items per page
Total number of packages
Array of package objects
Example
Filter by Shipment
Get all packages for a specific shipment:Filter by Client (Corporate Customer Report)
Get all packages for a specific client like Amazon to generate their environmental impact report:Find Package by Key (with Complete Journey)
Find a specific package using its key from the shipping label. When filtering bypackage_key, the response includes the complete journey with all legs:
package_key:
Successful Response
Common Errors
401 Unauthorized
Cause: Missing or invalid API key404 Not Found
Cause: Organization not foundx-organization-id header contains a valid organization UUID.
Use Cases
Corporate Client Environmental Report
Generate an environmental impact report for a corporate client (e.g., Amazon requesting their carbon footprint from your logistics operations):End Customer Package Impact (Label Lookup)
Provide environmental impact information to an end customer who received a package. The customer can look up their package using the tracking code from the label:Calculate Shipment Total Emissions
Get total emissions for all packages in a shipment:Export Packages Report
Generate a report of all packages with their emissions:Related Endpoints
Get Package by ID
Get a specific package with all its legs
Create Logistics Request
Create a new leg (with optional package association)
Get Logistics Requests
Retrieve all legs with pagination
Authentication Guide
Learn how to get your API key

