How to connect with Shipway?
Step 1: Obtain your API Key
The Shipway API uses Basic HTTP authentication. Use your Shipway Email
as the username and License Key
as the password. You can find your License Key as the password from,
Shipway >Profile>Manage profile.
The Authorization header is constructed as follows:
- Username (Email) and Password (License Key) are combined into a string "username:password".
- The resulting string is then encoded in base64.
PHP example:
$token = base64_encode("email:License key");
$authHeaderString = 'Authorization: Basic ' . $token;
Once you generate a new Token, your old token will stop working immediately
- Once you generate your token, it will be visible for 5 minutes and then will be hidden from view
- To protect your data, you’ll only be able to reveal your API token once.
- Copy and save your API token in a secure place.
How can I test Shipway APIs?
You can read API documentation by logging in to Shipway
Please refer to this article on Client Developer Portal
Step 2: Connecting Your Account
Once you have your API Key:
- Log in to your Synctrack Returns dashboard.
- Navigate to the “Settings” section > “Logistics” tab
- Look for the Delhivery integration option and click “Connect” or “Set up”.
- You’ll be prompted to enter your API Key. Paste the key you received into this field.
- Click “Connect” to establish the connection.
Step 3: Configure Settings
After connecting:
- Set your default package sizes and types.
- Make sure method “Ship with pre-paid lable” is enabled
Step 4: Test the Connection
Before going live:
- Create a test return request on return page
- Choose “Ship pre-paid label” for return method (This method is only displayed on return page if you enable it in the app as the step above mentioned)
- Submit request
- Go into the app, open this request at tab “Return management”
- Click to approve the request & Select the appropriate shipping carrier if prompted.
- Verify that the label is created correctly and contains accurate information.
- **For more info of How to create and print return labels, click here
Updated on: 15/08/2025
Thank you!