Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Python
import requests url = "https://api.pdfshift.io/v3/templates/{slug}" payload = { "content": "<string>" } headers = { "X-API-Key": "<api-key>", "Content-Type": "application/json" } response = requests.put(url, json=payload, headers=headers) print(response.text)
{ "success": true, "template": { "slug": "test-1", "created": 1734076868000, "name": "First test for templates" } }
Update the name or content of a template. Slug cannot be changed.
Authenticate your account by including your secret key in API requests. You can manage your API keys in the Dashboard.
Authentication to the API is performed by using the HTTP Header X-API-Key.
HTML content of the template.
Name of the template.
Template updated
Show child attributes