How to search for assets from Widen API?

You can find here the official documentation regarding the Widen API:

  • Here is an article to help you with the search terms (for the gui and the api) Acquia DAM Community

Here is an example of search by EAN:

var myHeaders = new Headers();
myHeaders.append("Authorization", "Bearer fittingbox/********************************");

var requestOptions = {
  method: 'GET',
  headers: myHeaders

fetch(",embeds", requestOptions)
  .then(response => response.json())
  .then(result => console.log(result))
  .catch(error => console.log('error', error));

The query parameter uses the same quick search syntax used within the Acquia DAM web UI. In other words, you can use the advanced search in the web UI and copy the generated query from the search box in your API request.

Type of search:

  • Search by brand:
    Change your url to:'s&expand=metadata,embeds

  • Search by color:
    Change your url to:,embeds

  • Search by filename:
    Change you url to:{00293654786012_86.tif}&expand=metadata,embeds

Note: wrap your filename in {} to search on exact terms cf (Acquia DAM Community )