POST
/
api
/
v2
/
documents
/
templates
/
render
Python
from samplehc import SampleHealthcare

client = SampleHealthcare(
    api_key="My API Key",
)
response = client.v2.documents.templates.render_document(
    slug="slug",
    variables={
        "foo": [{
            "foo": "string"
        }]
    },
)
print(response.body)
{
  "body": "<any>"
}

Body

application/json

Response

200
application/json

Successfully rendered document body.