# One template with its versions, the variables it reads and its test data

`GET /mail/templates/{id}` · Rivier · campaigns

One template with its versions, the variables it reads and its test data.

- Scope: campaigns:read
- Mcp: rivier_campaign_mail_template
- Graphql: Query.campaignsMailTemplateGet
- Sdk: mail.templates.get
- Cli: mail template

## Parameters

- `id` (path, required), string

## Responses

- `200`: Success
- `400`: The request was malformed
- `401`: No valid credential
- `403`: The credential lacks the scope, origin or address
- `429`: Over the key's rate limit; see Retry-After

## Example

```sh
curl -X GET 'https://api.rivier.ai/mail/templates/{id}' \
  -H 'Authorization: Bearer $KEY'
```
