Download Workbook PDF

GET {{base-path}}/sites/{{site-id}}/workbooks/:workbook-id/pdf

https://help.tableau.com/current/api/restapi/en-us/REST/restapirefworkbooksandviews.htm#downloadworkbookpdf

Request Params

KeyDatatypeRequiredDescription
maxAgestring(Optional) The maximum number of minutes a workbook PDF will be cached before being refreshed. To prevent multiple PDF requests from overloading the server, the shortest interval you can set is one minute. There is no maximum value, but the server job enacting the caching action may expire before a long cache period is reached.
orientationstring(Optional) The orientation of the pages in the .pdf file produced. The value can be Portrait or Landscape. If this parameter is not present the page orientation will default to Portrait.
typestring(Optional) The type of page, which determines the page dimensions of the .pdf file returned. The value can be: A3, A4, A5, B5, Executive, Folio, Ledger, Legal, Letter, Note, Quarto, or Tabloid. If this parameter is not present the page type will default to Legal.