Skip to main content

๐Ÿ”Ž Widget API

Earlyโ€‘Access API

๐Ÿšง Headsโ€‘up! This is our nextโ€‘generation API and itโ€™s still under active development.

How you can helpโ€‹

  1. Try it out in nonโ€‘production environments first.
  2. Report issues or request features by mailing [email protected]

Thank you for partnering with us to shape the future of our platform!

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! ๐Ÿš€