Welcome to Swifno's Shipping API Service. Here are some pre-made requests for you to explore the API using Postman.
You'll need your API keys, Download the Swifno mobile application .
There is only one Merchany key for your platform which can be used for both the test production and live production.
Think of your merchant key like a password:
Different calls in the API your merchant key. For example, creating and managing Delivery
, Requesting for Delivery Prices
requires your platform's merchant key. Check each call for the requirements.
NOTE: You'll need to create an environment in Postman, select that environment, and enter your platform's api keys in the 0 - Setup/Environment Setup
pre-request script (documentation on pre-request scripts) to set the environment variables.
Environment | API Base Url |
---|---|
Sandbox | swifno.com/sandbox |
Production | swifno.com |
Notes:
The delivery environment gives you the opportunity to see the go around of swifno delivery activities and also gives you the priviledge to copy the activity codes involved in the integration.
To access this link, Kindly Click here
Click here for information on our API pricing.
If you have any questions or comments, please let us know at info@swifno.com.
API :
https://swifno.com/v1/api.php?action=authentication&merchant_key=7fL5C7XoFpTEJ9gR&secret_key=0PuRWvsYNalaW9Xu
https://swifno.com/v1/api.php?action=authentication&merchant_key=7fL5C7XoFpTEJ9gR&secret_key=0PuRWvsYNalaW9Xu
{ "RESPONSECODE": 1, "RESPONSEMESSAGE": "Success", "AUTHTOKEN":"a6cd37b58fdeaf61b98e45e3092ff59b" }
API :
https://swifno.com/v1/api.php?action=couriers&pickup=borno, nigeria&dropoff=abia,umuahia,nigeria&auth_token=208a000c813994fa745786b9a017a867
https://swifno.com/v1/api.php?action=couriers&pickup=borno, nigeria&dropoff=abia,umuahia,nigeria&auth_token=208a000c813994fa745786b9a017a867
{
"RESPONSECODE": 1,
"RESPONSEMESSAGE": "Success",
"VENDOR_LIST": Array of vendors
}
API :
https://swifno.com/v1/api.php?action=estimate&pickup=borno, nigeria&dropoff=abia, umuahia, nigeria&category=Apparel&size=large&insurance=0&auth_token=208a000c813994fa745786b9a017a867
https://swifno.com/v1/api.php?action=estimate&pickup=borno, nigeria&dropoff=abia, umuahia, nigeria&category=Apparel&size=large&insurance=0&auth_token=208a000c813994fa745786b9a017a867
{ "RESPONSECODE": 1, "RESPONSEMESSAGE": "Success", "ESTIMATION": 7,250 }
{ "RESPONSECODE":0, "ERROR_CODE":"03", "ERROR_MSG":"Invalid Pickup Location" }Error Codes
01 = Invalid Merchant Key 02 = Invalid Dropoff Location 03 = Invalid Pickup Location 04 = Invalid Package Category 05 = Invalid Package Size 06 = No Available Couriers
API :
https://swifno.com/api.php?action=categories&auth_token=208a000c813994fa745786b9a017a867
https://swifno.com/api.php?action=categories&auth_token=208a000c813994fa745786b9a017a867
{ "RESPONSECODE":1, "RESPONSEMESSAGE":"Success", "CATEGORYLIST":[ { "cat_id":"52", "cat_name":"Apparel", "group_name":"CLOTHING" }, { "cat_id":"50", "cat_name":"Appliance Parts", "group_name":"OFFICIAL ITEMS" }, { "cat_id":"50", "cat_name":"Appliance Parts", "group_name":"ELECTRONICS" } ] }
{ "RESPONSECODE":0, "ERROR_CODE":"11", "ERROR_MSG":"Invalid Request Token" }Error Codes
11 = Invalid Request Token 12 = Expired Request Token 13 = Used Request Token 14 = Invalid Bid Id 15 = Courier No Longer Available 16 = Invalid Recipient Name 17 = Invalid Recipient Number 18 = Some error occurred, please try again
API :
https://swifno.com/api.php?action=sizes&auth_token=208a000c813994fa745786b9a017a867
https://swifno.com/api.php?action=sizes&auth_token=208a000c813994fa745786b9a017a867
{ "RESPONSECODE": 1, "RESPONSEMESSAGE": "Success", "SIZELIST": [ { "size_id": "8", "size_name": "Very Small" }, { "size_id": "7", "size_name": "Small" }, { "size_id": "6", "size_name": "Medium" } ] }
API :
http://swifno.com/api.php?action=bids&auth_token=208a000c813994fa745786b9a017a867&pickup=Borno ,Nigeria&dropoff=Zamfara ,Nigeria&category=Apparel&size=large&insurance=0&itemvalue=0
Show Delivery Package Category
Show Delivery Package Size
http://swifno.com/api.php?action=bids&auth_token=208a000c813994fa745786b9a017a867&pickup=Borno ,Nigeria&dropoff=Zamfara ,Nigeria&category=Apparel&size=large&insurance=0&itemvalue=0
{ "RESPONSECODE":1, "TOKEN":"D5rIH78DUD1M40eIj1TiowPvR0IW02bH", "COURIERLIST": [ { "bid_id":1, "company_name":"Nubianz Inc", "bid_amount":13050, "cash_on_delivery":"1", "delivery_speed":"3 Business Days" } ] }
API :
http://swifno.com/api.php?action=delivery_request&request_token=MVyM876z9BlRim3Mv9bPwkb7rtK9K3EW& recipient_name=test name&recipient_mobile=08067832456&pickup_from_time=08:00 am&pickup_to_time=08:00 pm&dropoff_from_time=08:00 am&dropoff_to_time=08:00 pm&additional_info=testing api&package_name=Testforcomplete&bid_id=1
Request Bid
Request Bid
http://swifno.com/api.php?action=delivery_request&request_token=MVyM876z9BlRim3Mv9bPwkb7rtK9K3EW&
recipient_name=test name&recipient_mobile=08067832456&pickup_from_time=08:00 am&pickup_to_time=08:00 pm&dropoff_from_time=08:00 am&dropoff_to_time=08:00 pm&additional_info=testing api&package_name=Testforcomplete&bid_id=1
{ "RESPONSECODE": 1, "RESPONSEMESSAGE": "Request Added Successfully" }