# Get template details

Canonical: https://docs.bluehola.com/docs/templates-flows-media/get-v1-templates-id
OpenAPI: https://docs.bluehola.com/openapi.yaml

<div class="endpoint"><span class="endpoint-method endpoint-method--get">GET</span><code class="endpoint-path">/v1/templates/{id}</code></div>

Get a template's details.

:::note[Authentication]

Send `Authorization: Bearer <API_KEY>` in the request headers. Which resources an API Key can reach is determined by its current authorization scope.

:::

## Request

Base URL: `https://api.bluehola.com`

### Parameters

| Name | In | Required | Type / constraints | Description |
| --- | --- | --- | --- | --- |
| `id` | path | Yes | string | The platform's template ID, `tmpl_...` |

## Response

| Status | Description |
| --- | --- |
| `200` | OK |
| `4xx` | Client error |

### 200 response schema

```json
{
  "$ref": "#/components/schemas/MessageTemplate"
}
```

For the common error envelope and how to handle it, see [Error Codes](../guides/error-codes.md).

## Notes

A pure local read with no outbound call to Meta; use it to confirm status=APPROVED before sending. `POST /v1/messages` performs the same check before sending with a template of matching name and language, and rejects it if it has not passed review.
