# Retrieve a template `GET /api/v1/templates/{id}` Returns one template by ID. ## Permissions Send your API key in `X-API-Key`. Required permissions are **Templates → Read**. ## Path parameters - `id` (integer, required) — ID of the template. ## Request Set ASDINCLOUD_API_KEY and any variables named in the example before running it. ```sh curl --request GET \ --url "https://api.asdincloud.com/api/v1/templates/${ID:?Set ID}" \ --header "X-API-Key: $ASDINCLOUD_API_KEY" ``` ## Response **200 OK** The template is returned in data. Example with fictional data and selected fields. ```json { "status": "success", "data": { "id": 27, "name": "Practice reminder", "type": "email", "editor": "email", "subject": "Next practice", "body_html": "

Hello {first_name}, practice starts at 18:00.

", "style_css": null, "profile_print_enabled": false, "editable": true, "is_default": false, "parent_id": null } } ``` ## Errors - `401` — The API key is missing or invalid. - `403` — The API key lacks the required permission. - `404` — The requested record was not found.