Skip to main content
Smart Send’s REST API enables you to automate every aspect of your shipping workflows, from booking shipments to tracking and returns. Build custom integrations, connect your business systems, and unlock new possibilities for shipping automation. If you are looking for a ready-made solution for your webshop, explore our e-commerce integrations:

Authentication

All API requests require authentication using a Bearer token. Include your API token in the Authorization header of each request.

How to get your API token

Learn how to generate and manage your Smart Send API token.

User-Agent header

We recommend including a descriptive User-Agent header with every API request. This helps us identify your integration and is invaluable when debugging issues on your behalf. Follow the Product/Version (Comments) pattern established by RFC 7231. Include your application name and version, along with any relevant platform details in the comments.
Example
User-Agent: my-shipping-app/1.0.0 (MyPlatform/2.3.1; PHP/8.2)
For reference, our own WooCommerce plugin sends the following header:
WooCommerce plugin example
User-Agent: smart-send-logistics/8.1.0 (WooCommerce/8.5.0; WordPress/6.4.2; PHP/8.1)
Without a descriptive User-Agent, your requests appear as anonymous traffic, making it much harder for our support team to trace and resolve issues.

Request-ID header

We recommend including a unique Request-ID header with every API request. The API echoes the same value back in the response Request-ID header, making it possible to correlate requests between your system and Smart Send. The Request-ID is included in our internal logs, so when you contact support about a specific request, providing the Request-ID lets us trace it through our systems quickly.
Example
Request-ID: order-4521-book-a1b2c3
Use any string up to 128 characters containing letters, numbers, dots, hyphens, or underscores. A UUID or a descriptive key tied to your business logic both work well.