# PDFShift API Documentation ## Docs - [Account details](https://docs.pdfshift.io/api-reference/account/account-details.md): Returns the account details for the connected API Key - [Convert to JPEG](https://docs.pdfshift.io/api-reference/convert-to-jpeg.md) - [Convert to PDF](https://docs.pdfshift.io/api-reference/convert-to-pdf.md) - [Convert to PNG](https://docs.pdfshift.io/api-reference/convert-to-png.md) - [Convert to WEBP](https://docs.pdfshift.io/api-reference/convert-to-webp.md) - [Credits usage](https://docs.pdfshift.io/api-reference/credits/credits-usage.md): Returns the current credits usage with some details to help you know where your usage is at. - [Get log by request ID](https://docs.pdfshift.io/api-reference/get-log-by-request-id.md) - [Invoices list](https://docs.pdfshift.io/api-reference/invoices-list.md) - [List recent logs](https://docs.pdfshift.io/api-reference/logs/list-recent-logs.md) - [Create template](https://docs.pdfshift.io/api-reference/templates/create-template.md): Creates a new template stored at PDFShift. - [Delete template](https://docs.pdfshift.io/api-reference/templates/delete-template.md): Deletes a template by slug. - [Generate document from template](https://docs.pdfshift.io/api-reference/templates/generate-document-from-template.md): Generates a document from a template using provided data. Supported extensions: html, pdf, jpeg, png, webp. - [Get template HTML](https://docs.pdfshift.io/api-reference/templates/get-template-html.md): Returns the raw HTML content of the template. - [List templates](https://docs.pdfshift.io/api-reference/templates/list-templates.md): Returns a list of templates registered to your account. - [Update template](https://docs.pdfshift.io/api-reference/templates/update-template.md): Update the name or content of a template. Slug cannot be changed. - [Authentication](https://docs.pdfshift.io/docs/authentication.md) - [Error codes](https://docs.pdfshift.io/docs/error-codes.md) - [Getting an API Key](https://docs.pdfshift.io/docs/getting-an-api-key.md) - [Rendering header and footer](https://docs.pdfshift.io/docs/header-footer.md) - [Margins](https://docs.pdfshift.io/docs/margin.md) - [OpenAPI Specification](https://docs.pdfshift.io/docs/openapi.md) - [Adding protection to PDF](https://docs.pdfshift.io/docs/protection.md) - [Rate limit](https://docs.pdfshift.io/docs/rate-limit.md) - [Response headers](https://docs.pdfshift.io/docs/response-headers.md) - [Sandbox mode](https://docs.pdfshift.io/docs/sandbox.md) - [Saving to Google Storage](https://docs.pdfshift.io/docs/saving/to-gs.md) - [Exporting to AWS S3](https://docs.pdfshift.io/docs/saving/to-s3.md) - [Varying responses](https://docs.pdfshift.io/docs/varying-responses.md) - [Adding a watermark](https://docs.pdfshift.io/docs/watermark.md) - [Webhook events](https://docs.pdfshift.io/docs/webhook-events.md) - [Introduction](https://docs.pdfshift.io/index.md): Welcome to PDFShift's API Reference ## OpenAPI Specs - [openapi](https://docs.pdfshift.io/api-reference/openapi.json)