> ## Documentation Index
> Fetch the complete documentation index at: https://code.dcycle.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Get Survey Template

> Retrieve a specific survey template by ID

# Get Survey Template

Returns a single survey template by its ID. The template must belong to the authenticated organization.

## Request

### Headers

<ParamField header="x-api-key" type="string" required>
  Your API key for authentication
</ParamField>

<ParamField header="x-organization-id" type="string" required>
  Your organization UUID
</ParamField>

### Path Parameters

<ParamField path="template_id" type="string" required>
  The UUID of the survey template

  **Example:** `550e8400-e29b-41d4-a716-446655440000`
</ParamField>

## Response

Returns the template object.

<ResponseExample>
  ```json 200 theme={"theme":{"light":"github-light","dark":"github-dark"}}
  {
    "id": "550e8400-e29b-41d4-a716-446655440000",
    "organization_id": "a8315ef3-dd50-43f8-b7ce-d839e68d51fa",
    "name": "Standard Commuting Survey",
    "description": "Default template for employee commuting surveys",
    "is_default": true,
    "status": "active",
    "version": 3,
    "config": {
      "version": 1,
      "work_mode": "hybrid",
      "steps": ["..."],
      "custom_fields": [],
      "branding": {}
    },
    "created_by": "user-uuid",
    "created_at": "2024-01-15T10:30:00Z",
    "updated_at": "2024-07-10T14:20:00Z"
  }
  ```

  ```json 403 theme={"theme":{"light":"github-light","dark":"github-dark"}}
  {
    "detail": "Template doesn't belong to organization",
    "code": "FORBIDDEN"
  }
  ```

  ```json 404 theme={"theme":{"light":"github-light","dark":"github-dark"}}
  {
    "detail": "EmployeeSurveyTemplate with id=... not found",
    "code": "NOT_FOUND"
  }
  ```
</ResponseExample>
