πΌοΈ 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.