from samplehc import SampleHealthcare
client = SampleHealthcare(
api_key="My API Key",
)
response = client.v2.documents.pdf_template.retrieve_metadata(
"slug",
)
print(response.id)
{
"id": "<string>",
"fileName": "<string>",
"presignedUrl": "<string>"
}
Retrieves document metadata for a PDF template by slug, including a presigned URL for direct access.
from samplehc import SampleHealthcare
client = SampleHealthcare(
api_key="My API Key",
)
response = client.v2.documents.pdf_template.retrieve_metadata(
"slug",
)
print(response.id)
{
"id": "<string>",
"fileName": "<string>",
"presignedUrl": "<string>"
}
The slug of the PDF template.
Successfully retrieved PDF template document metadata.