---
title: "Get template by ID"
method: GET
path: "/v3/templates/{id}"
tags: ["Templates"]
---

# Get template by ID

`GET /v3/templates/{id}`

Retrieves a specific template by its ID. Returns template details including name, category, language, status, and definition.

## Path parameters

- `id` string, uuid, required

## Headers

- `x-profile-id` string, uuid

## Response `200`

Template retrieved successfully

- SentDmServicesEndpointsCustomerAPIv3ResponsesApiResponseOfTemplateResponse — Standard API response envelope for all v3 endpoints
  - `success` boolean — Indicates whether the request was successful
  - `data` SentDmServicesEndpointsCustomerAPIv3ResponsesTemplateResponse — Template response for v3 API
    - `id` string, uuid — Unique template identifier
    - `name` string — Template display name
    - `category` string — Template category: MARKETING, UTILITY, AUTHENTICATION
    - `language` string — Template language code (e.g., en_US)
    - `status` string — Template status: APPROVED, PENDING, REJECTED
    - `channels` string[], nullable — Supported channels: sms, whatsapp
    - `variables` string[], nullable — Template variables for personalization
    - `created_at` string, date-time — When the template was created
    - `updated_at` string, date-time, nullable — When the template was last updated
    - `is_published` boolean — Whether the template is published and active
  - `error` SentDmServicesEndpointsCustomerAPIv3ResponsesApiError — Error information
    - `code` string — Machine-readable error code (e.g., "RESOURCE_001")
    - `message` string — Human-readable error message
    - `details` object, nullable — Additional validation error details (field-level errors)
    - `doc_url` string, nullable — URL to documentation about this error
  - `meta` SentDmServicesEndpointsCustomerAPIv3ResponsesApiMeta — Request and response metadata
    - `request_id` string — Unique identifier for this request (for tracing and support)
    - `timestamp` string, date-time — Server timestamp when the response was generated
    - `version` string — API version used for this request

## Other responses

- `400` — Invalid template ID format
- `401` — Unauthorized - Invalid API credentials
- `403` — Forbidden
- `404` — Template not found
- `500` — Internal server error

---

[API](https://skmtc.net/sentdm/apis/sent-dm-api-v3.md) · [All operations](https://skmtc.net/sentdm/apis/sent-dm-api-v3/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/sentdm/sent-dm-api-v3/revisions/c451eca46f1b/schema)
