Question

Retrieving all attachmets from the card API

  • 20 May 2024
  • 1 reply
  • 19 views

Hello team, 

how can we retrieved all attachment links through API?


1 reply

Hi @Oleksii Petrokhalko, thanks for your question!

If you issue a GET call to the /api/v1/search/query endpoint, you will be returned a field called src that will be present for any attachments in the Card. The contents of that field should look like this:

 

https://content.api.getguru.com/files/view/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx

To download the file, you’ll need to call it as an API endpoint with the GET method, still using your same Guru API credentials. Let me know if this gets you what you need 👍

Reply