GET /v1/document-templates/{template_id}
Read one saved template before editing or generating a report. Use an id returned by the template list or upload endpoint. Only templates owned by your workspace are accessible.
The response includes the current revision, paragraph text, layout markers, available placeholders, and saved report formatting. Paragraph IDs belong to this revision; reread the template after a successful edit instead of reusing old IDs.
Interpret editing permissions
editable identifies text you can change, deletable identifies paragraphs you can remove, and move_group identifies paragraphs that can be reordered together. Markers describe page/column breaks, images, fields, section boundaries, and other protected structure. Use this metadata to enable only supported controls.
spacing holds the saved Findings/Impression formatting controls. bulleted_placeholders and placeholder_formatting describe inherited document styling when a control is null. They help your editor show the template’s current appearance without changing it.
Update a Word template
Authentication
Create a named API key in your workspace’s API keys tab, then send it in the Authorization header on each API request. Your key connects the integration to that workspace’s saved settings and Word templates. Signing into the website does not replace this header in an API integration.
Authorization: Bearer <API_KEY>
Keep the key in your application’s server-side secret configuration. It is shown only once when created, so save it securely then. Do not place it in browser code, logs, version control, or a prompt sent to your coding agent. You can revoke an integration’s key from the workspace without changing the other keys.
Parameters
| Name | Type | Required | Constraints | Description |
|---|
| template_id | path: string | Yes | pattern="^[a-f0-9]{32}$" | — |
Example
BASE_URL=https://radiologydictation.com
curl --request GET "$BASE_URL/v1/document-templates/$TEMPLATE_ID" \
--header "Authorization: Bearer $API_KEY"
Responses
| Status | Description | Type |
|---|
| 200 | Successful Response | TemplateDetail · application/json |
| 401 | Invalid or missing API key | object · application/json |
| 429 | Too many attempts. Please try again later. | object · application/json |
| 503 | Service is unavailable. Please try again. | object · application/json |
| 404 | Template not found. | object · application/json |
| 413 | Word template exceeds the configured limits. | object · application/json |
| 422 | Invalid Word template. | object · application/json |
| Header | Type | Description |
|---|
| Retry-After | string | — |
Schemas
Paragraph
| Name | Type | Required | Constraints | Description |
|---|
| id | string | Yes | — | — |
| text | string | Yes | — | — |
| editable | boolean | Yes | — | — |
| deletable | boolean | No | default=false | — |
| move_group | string | null | No | — | — |
| markers | array<ParagraphMarker> | No | — | — |
ParagraphMarker
| Name | Type | Required | Constraints | Description |
|---|
| kind | string | Yes | enum=["page_break", "page_break_before", "column_break", "section_break", "image", "field", "anchor", "table_cell", "protected_structure"] | — |
| position | string | Yes | enum=["before", "within", "after"] | — |
| offset | integer | null | No | — | — |
| section_type | string | null | No | — | — |
| Name | Type | Required | Constraints | Description |
|---|
| findings_blank_paragraph | boolean | No | default=false | — |
| impression_blank_paragraph | boolean | No | default=false | — |
| findings_bulleted | boolean | null | No | — | — |
| impression_bulleted | boolean | null | No | — | — |
| findings_bold | boolean | null | No | — | — |
| findings_underline | boolean | null | No | — | — |
| findings_italic | boolean | null | No | — | — |
| impression_bold | boolean | null | No | — | — |
| impression_underline | boolean | null | No | — | — |
| impression_italic | boolean | null | No | — | — |
TemplateDetail
| Name | Type | Required | Constraints | Description |
|---|
| id | string | Yes | — | — |
| name | string | Yes | — | — |
| revision | integer | Yes | — | — |
| created_at | string (date-time) | Yes | — | — |
| updated_at | string (date-time) | Yes | — | — |
| paragraphs | array<Paragraph> | Yes | — | — |
| placeholders | array<string> | Yes | — | — |
| spacing | ReportFormatting | No | — | — |
| bulleted_placeholders | array<string> | No | — | — |
| placeholder_formatting | object | No | — | — |
TextFormatting
| Name | Type | Required | Constraints | Description |
|---|
| bold | boolean | No | default=false | — |
| underline | boolean | No | default=false | — |
| italic | boolean | No | default=false | — |