๐ผ๏ธ Web-widget (iframe) - embed
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.
Dockflow Web Widget (iframe)โ
The Dockflow Web Widget allows you to embed our web application seamlessly into your website. This documentation provides guidance on how to integrate and customize the widget.
Integrationโ
To integrate the Dockflow Web Widget into your website, follow these steps:
- Obtain your Web Widget API Key from Settings > Organisation > Web Widget API Key in the Dockflow application.
- Embed the following iframe code into your HTML page:
<iframe src="https://widget.dockflow.com?key=YOUR_API_KEY_HERE" width="600" height="400" frameborder="0"></iframe>
Replace YOUR_API_KEY_HERE with your actual API key obtained in step 1.
Argumentsโ
The following arguments can be appended to the widget URL:
key: (mandatory) Your Web Widget API Key.search: (optional) A reference to search for within the Dockflow application.hash_search: (optional) A SHA256-hashed reference to search for. This is useful for preventing users from manually searching other files.
Example Usageโ
- Basic usage with only the mandatory
keyargument:
https://widget.dockflow.com?key=YOUR_API_KEY_HERE
- Usage with additional search reference:
https://widget.dockflow.com?key=YOUR_API_KEY_HERE&search=reference
- Usage with SHA256-hashed search reference:
https://widget.dockflow.com?key=YOUR_API_KEY_HERE&hash_search=hashed_reference
Customizationโ
You can customize the appearance and behavior of the widget by modifying the iframe attributes such as width, height, etc. Additionally, you can apply CSS styles to the widget container on your website to further customize its appearance.