Advanced Mode
Introduction to
Welcome to Voila, your all-in-one solution for courier label creation, tracking, and shipping automation. This guide will walk you through the essential steps to set up your API account, install couriers, and create smart shipping rules.
Voila acts as a translator between your business and courier services, simplifying complex API requests and standardising responses across different courier platforms.
Simplifies Shipping & Maximises Efficiency
At Voila, we handle the complexity of courier integrations so you don’t have to. Our system translates your shipping requests into the various formats required by couriers, standardising their responses to ensure consistency and ease of use.
With intelligent shipping automation, you can seamlessly switch couriers based on key factors like weight, postcode, collection times, or even location type — Voila helps you with the following:
⚙️ No IT Integration Hassles – If a new courier offers better rates, you can onboard them instantly. Our pre-built APIs eliminate the need for costly development, allowing you to start shipping immediately.
⚡ Optimise Costs & Delivery Speeds with Smart Rules, take full control of your shipping strategy with Smart Rules, an intuitive system that dynamically selects the best courier based on key parameters like cost, speed, weight, postcode, and pickup times.
🔒 Secure & Scalable API – We safeguard your courier credentials by registering each account with a friendly name ("auth"), preventing sensitive data from being transmitted. Whether you manage a single site or multiple locations, our system ensures your requests are routed correctly and securely.
🛡️ Security Is Our Top Priority – every interaction is encrypted using advanced HTTPS protocols, protecting your data with the highest standards of online safety.
At Voila, we’re here to streamline your shipping, save you time, and help you scale effortlessly. Let’s simplify logistics together. 🚛
🚀 Quick Start Guide: Setting Up Postman & Voila API
To install Postman, visit the official Postman website at Postman Downloads. Once there, you'll find the download button to choose the version compatible with your operating system—whether it's Windows, macOS, or Linux. After downloading the installation file, locate it in your designated download directory and install it by following the on-screen instructions.
If you haven't already done so, please create a Postman account to access its full features and services. You can quickly sign up for an account by visiting the Postman signup page at Postman Account Signup. Once you've installed Postman and created an account, you can efficiently utilise Voila.
🛠 Installing Postman
-
Download Postman: Visit the Postman Downloads page and choose the version for Windows, macOS, or Linux.
-
Install Postman: Locate the downloaded file and follow the on-screen installation instructions.
-
Create an Account: Sign up at Postman Account Signup to access all features.
Setting Up Postman
To access the documentation for the Voila, visit this page and save it to your Postman account.
- Click the "Run in Postman" button in the screen's top right corner.
- Choose the second option and select "Postman for Windows/Linux/Mac OS."
- Pick your workplace for importing the collection and confirm your selection.
- Upon completion, you'll find the Voila API calls and examples in your Postman account.
Creating an API Account Using GUI
Before diving into features, setting up your API account within Voila is essential. This account is the foundation of your shipping operations, allowing you to access and utilise the platform's tools effectively. From label creation to shipment tracking, everything starts with your API account. It's the first step towards optimising your logistics process.
For instance, you can create groups within Voila and assign API accounts accordingly. This feature proves particularly useful for businesses operating across multiple locations, allowing for more organised tracking and usage. Each API account can install couriers independently, ensuring that courier connections and settings are unique to the account. Also, by creating separate API accounts and groups for different locations or offices, businesses gain the flexibility to tailor their shipping solutions to specific needs. Grouping locations helps you better manage your workflow and simplify operations.
Here's a quick overview of the API Accounts page:
- API Account: Displays the name of your API account.
- Keys & Tokens: View and regenerate your API keys and tokens here.
- Shipments: Access a list of all shipments sent via this API account.
- Registered Auths: Manage all courier integrations for this API account. Add new integrations or manage existing ones.
- Status: Activate or deactivate the API account as needed.
- Actions: Move the API account to a different API group or delete the account.
Refer to our dedicated API Accounts documentation for detailed guidance on setting up your API account and obtaining your token.
Before configuring your collection variables in Postman, you must refer to the API Accounts documentation page for setup instructions on creating an API account. Once you have set up an API account, you can retrieve the necessary "api-user" and "api-token" variables from there.
Configuring Collection Variables in Postman
After obtaining your API username and token, configuring them in Postman is the next step. By saving them as collection variables, you can simplify the process and avoid repeated entries when calling API endpoints. Postman will retain this information, allowing you to focus solely on making endpoint calls. These keys are already registered in the collection; you have to edit them.
- Navigate to the "Variables" tab at the screen's centre when viewing the collection.
- Input the required information as follows:
- Variable: api_url
- Initial Value: https://production.courierapi.co.uk
- Variable: api-user
- Initial Value: Insert your API username
- To find the API username, go to the "API Accounts" page and locate the name under the "API Account" column.
- Initial Value: Insert your API username
- Variable: api-token
- Initial Value: Insert your API token
- To obtain the API token, visit the "API Accounts" page. Once you click the button highlighted in the "Keys & Tokens" column, the token will be located at the bottom of the window that pops up, under the "Token" column.
- Variable: api_url
- Click the "Save" button in the screen's top right corner.
Creating an API Account Using the API
The initial step to familiarise yourself with the API is creating an API account via the API interface. This straightforward process facilitates future workflow organisation, mainly when collaborating with multiple team members across various locations.
- Expand the "Account & Management" folder, then choose "Create a New API User" on the left side of your screen.
- Customise the request according to your preferences. For instance, you may specify only the "name" field while removing others. Voila will then generate a key and token for you.
- Click the "Send" button at the screen's top right corner.
- The response to your request will appear at the bottom of the page. You can save this information for later use.
- Navigate to "API Accounts" within Voila to view the newly created API account in the graphical user interface (GUI).
Getting a List of Couriers
To view the available couriers along with their names and details, you can utilize this endpoint to access all pertinent information. It is how couriers are identified within the API and how to reference them later.
Follow these steps:
- Expand the "Account & Management" folder, then select "List Couriers" from the left-hand menu.
- Click "Send" to submit the request.
- The request-response contains a list of available couriers. Each courier is identified by the string contained within the "key" attribute.
Displaying Required Courier Parameters
Before proceeding to install couriers, it's essential to understand the parameters and information they require for installation. You can easily accomplish this by following these steps:
Installing a Courier Through the API
Now that you know the fundamentals of API user setup and couriers, let's guide you through creating your initial courier connection. Each API account can independently install couriers, ensuring that courier connections remain distinct to each account. This meticulous level of control empowers you to tailor your shipping configuration to the specific requirements of your business segments.
To install a courier via the API, follow these steps:
Creating Smart Rules
Once you've set up your courier services, the next step is to configure smart shipping.
Smart shipping offers businesses an efficient approach to managing logistics and parcel delivery operations. It also simplifies selecting carriers and services based on predefined criteria using a user-friendly interface and API integration.
Within the smart shipping interface, you can create rule groups and smart rules to tailor your shipping strategies to specific needs. It allows for precise control over shipping methodologies, catering to diverse customer preferences and optimising efficiency.
To learn how to set up Smart shipping, visit the dedicated guide on this page.