Sticky F.A.Q.

How to get pipe and cards attachments via API

  • 27 October 2023
  • 1 reply
  • 121 views
How to get pipe and cards attachments via API
Userlevel 7

You can download the attached files in a pipe!😃
 

To get the links to the card attachments from a pipe via API, these are the queries you will need:
 

◾Attachments to cards on the pipe

{
  cards(pipe_id:XXX){
    pageInfo{
      hasNextPage
      endCursor
    }
    edges{
      node{
        id
        title
        attachments{
          url
        }
      }
    }
  }
}

◾Card attachments

{
  card(id:XXXX) {
    attachments {
      createdAt
      path
      url
    }
  }
}


1 reply

Userlevel 7
Badge +18

👏👏👍👍

Reply