# Create template Creates a new Template record. Template resource in the Animal Health Data Store Endpoint: POST /site/{siteId}/ahds/v1/template Version: 1.0 Security: bearer ## Path parameters: - `siteId` (number, required) Site identifier ## Request fields (application/json): - `additionalInformation` (object) Additional template-specific configuration or metadata. - `extensions` (object) Vendor- or practice-specific extensions. - `isActive` (boolean, required) Whether the template is active and can be used. - `name` (string, required) Human-readable name of the template. - `templateId` (string, required) Canonical unique identifier for the template. Example: "123e4567-e89b-12d3-a456-426614174000" - `templateSubtype` (string,null) Optional subtype of the template (e.g., reminder, discharge). - `templateType` (string, required) High-level type of the template (e.g., email, sms, document). ## Response 201 fields (application/json): - `additionalInformation` (object, required) Additional template-specific configuration or metadata. - `createdAt` (string, required) Timestamp when the template was created. Example: "2025-01-01T00:00:00.000Z" - `extensions` (object, required) Vendor- or practice-specific extensions. - `isActive` (boolean, required) Whether the template is active and can be used. - `name` (string, required) Human-readable name of the template. - `templateId` (string, required) Canonical unique identifier for the template. Example: "123e4567-e89b-12d3-a456-426614174000" - `templateSubtype` (string,null, required) Optional subtype of the template (e.g., reminder, discharge). - `templateType` (string, required) High-level type of the template (e.g., email, sms, document). - `updatedAt` (string, required) Timestamp when the template was last updated. Example: "2025-01-01T00:00:00.000Z" ## Response 400 fields ## Response 401 fields ## Response 409 fields