---
title: "Get template by id"
method: GET
path: "/v1/whatsapp/templates/id/{templateId}"
tags: ["WhatsApp"]
---

# Get template by id

`GET /v1/whatsapp/templates/id/{templateId}`

Retrieve one template variant by its Meta id, the id every variant of a family has on its own
and the one the `whatsapp.template.status_updated` webhook carries.

## Path parameters

- `templateId` string, required

## Query parameters

- `accountId` string, required

## Response `200`

Template retrieved successfully

- object
  - `success` boolean
  - `template` object
    - `id` string — Meta template id. Unique per language variant; usable on /v1/whatsapp/templates/id/{templateId}.
    - `name` string
    - `status` string
    - `category` string
    - `language` string — The variant actually returned.
    - `components` object[]
    - `message_send_ttl_seconds` integer — Only when a custom TTL is set; absent while the category default applies.
    - `rejected_reason` string — Only when status is REJECTED.
    - `quality_score` object — Post-approval quality (GREEN/YELLOW/RED), when Meta reports one.

## Other responses

- `400` — Invalid request
- `401` — Unauthorized
- `404` — Account not found.
- `502` — Meta rejected the request (including an id the account cannot access) or was unreachable. Meta 4xx statuses are forwarded as-is.

## Changes

- **2026-09-16** `3e6ddf2a99ea` — 1 info
  - added the optional property `details/budgetScope` to the response with the `400` status
- **2026-09-15** `0dba7d004d75` — 2 info
  - added the optional property `details/quotaExhausted` to the response with the `400` status
  - added the optional property `details/quotaScope` to the response with the `400` status
- **2026-09-08** `d7a8fa118ef0` — 1 info
  - added the optional property `template/message_send_ttl_seconds` to the response with the `200` status
- **2026-08-29** `e6f7a453bfb1` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/zernio/apis/zernio-api/changes/v1/whatsapp/templates/id/:templateId/get.md)

---

[API](https://skmtc.dev/zernio/apis/zernio-api.md) · [All operations](https://skmtc.dev/zernio/apis/zernio-api/llms.txt) · [OpenAPI document](https://skmtc.dev/zernio/apis/zernio-api/revisions/106013ac73b8?raw)
