cURL
curl --request GET \ --url https://api.example.com/api/v2/documents/pdf-template/{slug}/metadata
{ "id": "<string>", "fileName": "<string>", "pdfPageCount": 1, "presignedUrl": "<string>", "size": 123 }
Retrieves document metadata for a PDF template by slug, including a presigned URL for direct access.
The slug of the PDF template.
Successfully retrieved PDF template document metadata.
The number of pages in the PDF, or null for non-PDFs and PDFs that have not been counted yet.
x >= 0
The size of the file in bytes.