Document Title
A PDF document title can be specified by appending the API's title parameter and setting it to your preferred title.
Example API Request:
https://api.apilayer.net/pdflayer/api/convert?access_key=YOUR_ACCESS_KEY&document_url=http://example.com/document.html&title=MyTitleParameter Specification:
| Parameter | Condition | Default |
|---|---|---|
| title | Maximum: 150 characters | - |
Subject
A PDF document subject can be specified by appending the API's subject parameter and setting it to your preferred subject.
Example API Request:
https://api.apilayer.net/pdflayer/api/convert?access_key=YOUR_ACCESS_KEY&document_url=http://example.com/document.html&subject=MySubjectParameter Specification:
| Parameter | Condition | Default |
|---|---|---|
| subject | Maximum: 150 characters | - |
Document Creator
By default, PDFs generated by the PDFLayer API will carry the creator name pdflayer.com. A custom PDF document creator name can be specified by appending the API's creator parameter and setting it to your preferred creator name.
Example API Request:
https://api.apilayer.net/pdflayer/api/convert?access_key=YOUR_ACCESS_KEY&document_url=http://example.com/document.html&creator=MyCreatorNameParameter Specification:
| Parameter | Condition | Default |
|---|---|---|
| creator | Maximum: 150 characters | pdflayer.com |
Document Author
A PDF document author name can be specified by appending the API's author parameter and setting it to your preferred author name.
Example API Request:
https://api.apilayer.net/pdflayer/api/convert?access_key=YOUR_ACCESS_KEY&document_url=http://example.com/document.html&author=MyAuthorNameParameter Specification:
| Parameter | Condition | Default |
|---|---|---|
| author | Maximum: 150 characters | - |