---
title: "Get a question template"
method: GET
path: "/api/admin/questionnaires/question-templates/{id}"
tags: ["Administration/Questionnaire Templates"]
---

# Get a question template

`GET /api/admin/questionnaires/question-templates/{id}`

## Request

- Base URL: `https://api.retraced.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.retraced.com/api/admin/questionnaires/question-templates/{id}`
- Auth: none declared

One question of the admin question-template library with its answer options and attachment, in the `{ data, metadata }` envelope (legacy answered the bare record). `attachmentFileUrl` is the CDN URL and `originalAttachmentFileUrl` the stored key. Options come back in stored order. 404 `question_template_not_found` for an unknown id (legacy: `not_found`).

## Path parameters

- `id` string, required

## Response `200`

Default Response

- object
  - `metadata` object, required
    - `success` boolean, required: True when the request succeeded.
  - `data` object, required
    - `id` string, required
    - `formTemplateQuestionCategoryId` string, required
    - `title` string, nullable, required
    - `description` string, nullable, required
    - `unit` string, nullable, required
    - `type` string, required
    - `attachmentFileId` string, nullable, required
    - `attachmentFileName` string, nullable, required
    - `attachmentFileUrl` string, nullable, required
    - `originalAttachmentFileUrl` string, nullable, required
    - `attachmentFileContentType` string, nullable, required
    - `attachmentFileType` string, nullable, required
    - `dependentQuestionOptionId` string, nullable, required
    - `options` object[], required
      - `id` string, required
      - `formTemplateQuestionId` string, required
      - `idx` number, nullable, required
      - `value` string, nullable, required
      - `linkedAsset` string, nullable, required

## Other responses

- `400`: Default Response
- `401`: Default Response
- `403`: Default Response
- `404`: Default Response

## Changes

> 108 revisions in range; 2 not diffed.

- **2026-10-16** `4078b89712a6`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/retraced/apis/api-reference/changes/api/admin/questionnaires/question-templates/:id/get.md)

---

[API](https://skmtc.dev/retraced/apis/api-reference.md) - [All operations](https://skmtc.dev/retraced/apis/api-reference/llms.txt) - [OpenAPI document](https://skmtc.dev/retraced/apis/api-reference/revisions/83309c4abd20?raw)
