Create a managed PDF permanent link
POST
/v1/pdfs/{pdfId}/permanent-links
const url = 'https://api.presscloud.example/v1/pdfs/example/permanent-links';const options = {method: 'POST', 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 POST \ --url https://api.presscloud.example/v1/pdfs/example/permanent-links \ --header 'Authorization: Bearer <token>'Creates a permanent public download URL for a managed PDF asset. The link remains active until it is deleted or the PDF is deleted.
Authorizations
Section titled “Authorizations ”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ” pdfId
required
string
Responses
Section titled “ Responses ”Managed PDF permanent link created.
Media type application/json
object
link
required
object
id
required
string
pdfId
required
string
url
required
string format: uri
createdAt
required
integer
Example generated
{ "link": { "id": "example", "pdfId": "example", "url": "https://example.com", "createdAt": 1 }}Requested resource was not found.
Media type application/json
object
error
required
string
message
required
string
Example generated
{ "error": "example", "message": "example"}Service or provider configuration is not ready for the requested operation.
Media type application/json
object
error
required
string
message
required
string
Example generated
{ "error": "example", "message": "example"}