Get a managed PDF
GET
/v1/pdfs/{pdfId}
const url = 'https://api.presscloud.example/v1/pdfs/example';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://api.presscloud.example/v1/pdfs/example \ --header 'Authorization: Bearer <token>'Returns a managed PDF asset owned by the authenticated account.
Authorizations
Section titled “Authorizations ”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ” pdfId
required
string
Responses
Section titled “ Responses ”Managed PDF detail.
Media type application/json
object
pdf
required
object
id
required
string
state
required
string
fileName
required
string
bytes
required
integer
pageCount
integer
createdAt
required
integer
deployId
required
string
deployVersionId
required
string
renderJobId
required
string
businessKey
required
string
Example
{ "pdf": { "state": "available" }}Requested resource was not found.
Media type application/json
object
error
required
string
message
required
string
Example generated
{ "error": "example", "message": "example"}