# GET /api/v2/automation-templates/{automation_template}

Read an automation template

- MCP id: automation-templates.show
- Scope: api:read:automations
- Scope: api:read:project_automations
- Scope: api:read:customer_automations
- Permission: automations::create
- Needs the automations feature on your organisation
- Rate cost: 2 units, read bucket.
- Cache-Control: private, no-store

Returns one template with whether the caller may use it at each level they may make automations at (the whole organisation, every project or customer, one project or customer), the questions it asks and the steps an automation made from it gets.

`forbidden` comes with the reason, such as a step the owner may not do. A template that is hidden at every level answers `404`, as one that does not exist. The declared permission is `automations::create`; for project or customer automations, the `project_automations` or `customer_automations` permission of the same action applies instead.

## Parameters
- automation_template (string, path): The AutomationTemplate's `key`.
- view (string, optional): Which field set to render.
- X-Request-Id (header, optional): A correlation id of your own. It is recorded in our logs next to the server's request id but never returned: the response header always carries the server's id. A value that does not match the pattern is discarded silently, never rejected.
- If-None-Match (header, optional): The ETag a read is conditional on. A match is answered 304 with no body.

## Response 200
- key (string ≤ 100, required): The template's key; an automation made from it carries it as `template_key`.
- label (string ≤ 255, required): The template's name.
- description (string, required, multiline): What an automation made from it does.
- keywords (array of string, required): Words people may search for besides the name and the description.
- category (string or null ≤ 100, required): The key of the library group it is listed under, such as `reminders`.
- category_label (string or null ≤ 255, required): The name of that group.
- popular (boolean, required): Whether the library lists it among the popular templates.
- personal_only (boolean, required): Whether an automation made from it only ever concerns its maker, such as a reminder to themselves. It is then offered only for the whole organisation, to someone making it for themselves.
- one_record_only (boolean, required): Whether, for projects or customers, it only makes sense for one at a time, such as a weekly e-mail about one customer. It is then not offered for every project or customer.
- scopes (array of string, required): Where the template makes sense: `organization`, `project` and `customer`.
- usage_count (integer, required): How many of the organisation's automations were made from it, deleted ones left out.
- availability (array of object, required, detail only): Whether you may start an automation from it at each level you may make automations at, checked the way saving its flow would check it. A template is listed when it is available or forbidden somewhere.
- questions (array of object, required, detail only): What the template asks, in the order it asks it.
- steps (array of object, required, detail only): The steps of an automation made from it, in the order people read the flow.
- links (AutomationTemplateLinks, required)
  - self (url, required): The canonical URI of this record.

## Errors
- 403 forbidden-by-policy | insufficient-permission | insufficient-token-scope: Forbidden.
- 304 : Not modified.
- 400 idempotency-key-required | invalid-cursor | invalid-query-parameter | malformed-request | unsupported-parameter: Bad request.
- 401 token-expired | unauthenticated: Unauthenticated.
- 404 endpoint-not-found | resource-not-found: Not found.
- 406 not-acceptable: Not acceptable.
- 429 rate-limit-exceeded: Too many requests.
- 500 internal-error: Server error.
- 503 tenant-unavailable: Service unavailable.

## Example
```bash
curl -X GET \
  'https://<your-url>/api/v2/automation-templates/notify_new_assignee' \
  -H 'Authorization: Bearer <token>' \
  -H 'Accept: application/json'
```
