Workflow-run
Task
Document
- GETDocument metadata
- GETFull document details
- GETDocument CSV content
- POSTUnzip file and return PDFs
- POSTGenerate CSV document
- POSTPresigned URL for upload
- POSTClassify document (async)
- POSTSplit document (async)
- POSTCreate documents from splits
- POSTLegacy extract document (async)
- POSTDocument extraction (async)
- POSTRender document body
- POSTGenerate document from template (async)
- POSTTransform JSON to HTML
- POSTDocument reasoning (async)
- POSTSearch across documents
- GETPDF template document metadata
Async-result
Communication
Clearinghouse
Ledger
- POSTCreate new ledger order
- POSTPost patient adjustment
- POSTPost institution adjustment
- POSTPost claim adjustment
- POSTPost claim payment
- POSTPost patient payment
- POSTPost institution payment
- POSTPost order write-off
- POSTPost invoice assignment
- POSTReverse a ledger entry
- GETGet outstanding institutional orders
Integration - Snowflake
Dashboard
Document
PDF template document metadata
Retrieves document metadata for a PDF template by slug, including a presigned URL for direct access.
GET
/
api
/
v2
/
documents
/
pdf-template
/
{slug}
/
metadata
Copy
import SampleHealthcare from 'samplehc';
const client = new SampleHealthcare({
apiKey: process.env['SAMPLEHC_API_KEY'], // This is the default and can be omitted
});
const response = await client.v2.documents.pdfTemplate.retrieveMetadata('slug');
console.log(response.id);
Copy
{
"id": "<string>",
"fileName": "<string>",
"presignedUrl": "<string>"
}
Path Parameters
The slug of the PDF template.
Response
200
application/json
Successfully retrieved PDF template document metadata.
Copy
import SampleHealthcare from 'samplehc';
const client = new SampleHealthcare({
apiKey: process.env['SAMPLEHC_API_KEY'], // This is the default and can be omitted
});
const response = await client.v2.documents.pdfTemplate.retrieveMetadata('slug');
console.log(response.id);
Copy
{
"id": "<string>",
"fileName": "<string>",
"presignedUrl": "<string>"
}
Assistant
Responses are generated using AI and may contain mistakes.