---
search:
  tags:
    - Templates
    - GET
seo:
  description: >-
    Retrieve a template. Reference for the GET /templates/{id} endpoint in the
    BillionSend API.
sidebar:
  label: Retrieve a template
  badge: GET
title: Retrieve a template
type: openapi-operation
---
`GET /templates/{id}`

**Responses**

- `200` — Template by id or alias. Templates have no draft/publish cycle: every save is live, so status is always published. from, reply\_to and variables are not supported yet and read as null, null and \[\].
- `401` — Missing, malformed, unknown or revoked API key
- `404` — Not found
- `429` — Over the rate limit (rate\_limit\_exceeded, with Retry-After)

Response example, 200:

```json
{
  "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
  "name": "string",
  "alias": "string",
  "status": "published",
  "published_at": "string",
  "created_at": "string",
  "updated_at": "string",
  "object": "template",
  "current_version_id": "158beffb-f9de-457f-bbee-873740e72504",
  "from": null,
  "subject": "string",
  "reply_to": null,
  "html": "string",
  "text": "string",
  "variables": [
    null
  ],
  "has_unpublished_versions": false
}
```
