Heidi API
Templates

Templates

Get a list of Consult Note and Document templates

Method: GET

Path: /templates/document-templates

Description: Return a list of Consult Note templates.

Request

GET /templates/document-templates
Authorization: Bearer <your_token>

Response

{
  "templates": [
    {
      "id": "659b8042fe093d6592b41ef7",
      "name": "H & P",
      "structure_template": "Template content...",
      "template_category": "CONSULT_NOTE_TEMPLATE",
      "template_html": "Template HTML content, if available...",
      "author_name": "Heidi"
    },
    {
      "id": "66455a5f0b0a1c8d018c6896",
      "name": "Letter back to referring clinician",
      "structure_template": "Template content...",
      "template_category": "CONSULT_NOTE_TEMPLATE",
      "template_html": "Template HTML content, if available...",
      "author_name": "Heidi"
    }
  ]
}