Skip to main content

๐Ÿ–ผ๏ธ Web-widget (iframe) - embed

Deprecationโ€ฏNotice

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).
  1. Migrate to our new API: see the Trident API for a stepโ€‘byโ€‘step walkthrough.
  2. Update client libraries and SDKs to their latest major version.
  3. 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:

  1. Obtain your Web Widget API Key from Settings > Organisation > Web Widget API Key in the Dockflow application.
  2. 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โ€‹


  1. Basic usage with only the mandatory key argument:
https://widget.dockflow.com?key=YOUR_API_KEY_HERE
  1. Usage with additional search reference:
https://widget.dockflow.com?key=YOUR_API_KEY_HERE&search=reference
  1. 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.