Skip to main content
StickyF.A.Q.

How to generate a report via API?

How to generate a report via API?
Lais Laudari

First you need to have a report already defined, with the filters you want.

Then you can run the following mutation:

mutation {
exportPipeReport(input: { pipeId: X, pipeReportId: X}) {
pipeReportExport {
id
}
}
}

The answer to this call will contain a numeric ID. Using this ID obtained in the previous call, you can execute the following query:

{
pipeReportExport(id: XX) {
fileURL
state
startedAt
requestedBy {
id
}
}
}

The result of this second call will generate a link, which you can copy and paste into your browser and the file will be generated!

Important: Requests are counted from the last request the client made before taking the request limit and not when the day ends.
You have 24 hours to make a new request after receiving the daily request limit message, but not from 00:00 to 00:00 but from the last request the client made. In this case, if you made the last request before receiving the message, for example, at 9 a.m., you can only redo the request at 9 a.m. the next day.


 

 

Did this topic help you find an answer to your question?

2 replies

marcosmelo
Forum|alt.badge.img+18
  • Pipefy Legend
  • 1465 replies
  • October 19, 2023

👍👏👏👏


Ezequiel Souza
Forum|alt.badge.img+14

👍👍👍👍👍👍


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings