# Get POST URL for PDF reports with API

**URL:** https://discuss.elastic.co/t/get-post-url-for-pdf-reports-with-api/315814
**Category:** Kibana
**Tags:** elastic-stack-reporting
**Created:** [October 4, 2022, 7:26pm UTC](https://discuss.elastic.co/t/get-post-url-for-pdf-reports-with-api/315814 "2022-10-04T19:26:52Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![Saliinger](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/saliinger/32/77470_2.png) [@Saliinger](https://discuss.elastic.co/u/Saliinger)
#### Post date: [October 4, 2022, 7:26pm UTC](https://discuss.elastic.co/t/get-post-url-for-pdf-reports-with-api/315814/1 "2022-10-04T19:26:52Z")

</div>

Hello!  
Hope you are doing good 😃

I have a question:  
It is possible get the URL POST for PDF reports using API?

![image](https://us1.discourse-cdn.com/elastic/original/3X/8/c/8c136560c3109adf666a6be2dc0b4c270c17fd22.png)

Getting the _Copy POST URL_ with cURL or Postman and not doing it manually as always.  
Is there any way to do this?

Cheers!

---

<div class="post-metadata">

### Author: ![JLeysens](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jleysens/32/67404_2.png) [@JLeysens](https://discuss.elastic.co/u/JLeysens)
#### Post date: [October 5, 2022, 9:50am UTC](https://discuss.elastic.co/t/get-post-url-for-pdf-reports-with-api/315814/2 "2022-10-05T09:50:14Z")

</div>

Hello @Saliinger , at the moment this is not possible because the post URL is constructed directly from the state of the dashboard you are viewing, which may have unsaved changes for example.

I can see how something like this could be possible for saved dashboards though. However, on the newest versions of the stack if you are working on a dashboard and have a POST URL pointing to that dashboard's ID, any changes you save should be reflected on new reports. Does that cover your use case?

---

<div class="post-metadata">

### Author: ![Saliinger](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/saliinger/32/77470_2.png) [@Saliinger](https://discuss.elastic.co/u/Saliinger)
#### Post date: [October 7, 2022, 4:48am UTC](https://discuss.elastic.co/t/get-post-url-for-pdf-reports-with-api/315814/3 "2022-10-07T04:48:22Z")

</div>

Hello!  
Thank you for your answer 🙂

If that's not possible, nothing to do. Makes me sad.  
I just needed that link for download PDF in an external web without giving permissions of share content.

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)
#### Post date: [November 4, 2022, 4:49am UTC](https://discuss.elastic.co/t/get-post-url-for-pdf-reports-with-api/315814/4 "2022-11-04T04:49:17Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
