List managed PDFs
GET
/v1/pdfs
const url = 'https://api.presscloud.example/v1/pdfs';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 \ --header 'Authorization: Bearer <token>'Returns available managed PDF assets for the authenticated account.
Authorizations
Section titled “Authorizations ”Parameters
Section titled “ Parameters ”Query Parameters
Section titled “Query Parameters ” deployId
string
Optionally limits the listing to PDFs owned by a single deploy.
limit
integer
Maximum number of render jobs to return. Defaults to 20.
cursor
string
Opaque cursor returned by a previous managed PDF list response.
Responses
Section titled “ Responses ”Managed PDF list.
Media type application/json
object
items
required
Array
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
nextCursor
string
Example
{ "items": [ { "state": "available" } ]}Requested resource was not found.
Media type application/json
object
error
required
string
message
required
string
Example generated
{ "error": "example", "message": "example"}