π» Web-widget API - ad-hoc requests
Headsβup! This API is being sunset.
What this means for youβ
- Existing integrations keep working but no new features will be added.
- Bugβfixes and security patches are bestβeffort only during the deprecation window.
- After the sunset date, requests will return HTTPΒ 410Β (Gone).
Recommended next stepsβ
- Migrate to our new API: see the Trident API for a stepβbyβstep walkthrough.
- Update client libraries and SDKs to their latest major version.
- Reach out onΒ
[email protected]if you need help or an extension.
Thank you for building with us!
Your feedback has shaped the next generation of our platform, and weβre here to make the transition as smooth as possible.
Webwidget APIβ
Introduction πβ
The webwidget API is used for making easy on-the-spot requests for a specific reference.
Authentication πβ
To use the Dockflow API, you need to authenticate your requests using an API key. This ensures the security and privacy of your data.
Please include your API key in the request headers as follows:
Authorization: Basic YOUR_WIDGET_API_KEY
Example Requestβ
GET https://api.dockflow.com/api/v2/widget-search?query=YOUR_REFERENCE
YOUR_REFERENCE: Specify the reference you want to search for (e.g., order reference, PO, BL, booking, or container reference).
Response Example πβ
Upon a successful request, you will receive a JSON response containing information related to the specified reference. Here's an example response:
{
"carrier": "Hapag Lloyd",
"booking_reference": "22025204",
"bill_of_lading_reference": "HLCUBO1230937196",
"departure": {
"vessel": {
"name": "ARGOLIKOS"
},
"event_date": "2023-09-28T00:48:00+00:00",
"actual": true,
"location": {
"name": "IN Jawaharlal Nehru (Nhava Sheva)",
"unlocode": "INNSA",
"timezone": "Asia/Calcutta",
"country": "India"
}
},
"arrival": {
"vessel": {
"name": "ARGOLIKOS"
},
"actual": true,
"event_date": "2023-10-06T16:15:00+00:00",
"location": {
"name": "SG Singapore",
"unlocode": "SGSIN",
"timezone": "Asia/Singapore",
"country": "Singapore"
}
},
"containers": [
{
"reference": "UACU4776849",
"details": {
"type_code": "45R1",
"type_group": "45RT",
"type_reefer": true,
"length": 40
},
"latest_actual_milestone": {
"vessel": null,
"location": {
"name": "SG Singapore",
"unlocode": "SGSIN",
"timezone": "Asia/Singapore",
"country": "Singapore"
},
"event_date": "2023-10-09T09:37:00.000000Z",
"actual": true,
"status_code": "VD-F"
}
}
]
}
Feedback and Support π§β
We value your feedback! If you have any questions, encounter issues, or want to share your experiences, please reach out to our support team at [email protected].
Thank you for choosing Dockflow for your maritime logistics needs. Happy coding! π