---
title: "Review an automation template"
description: "Returns the saved snapshot with dependencyReview.blockers and dependencyReview.warnings recomputed from that snapshot. Does not refresh source content or modify the saved version."
---

> Documentation Index
> Fetch the complete documentation index at: https://developer.channelautomations.com/llms.txt
> Use this file to discover all available pages before exploring further.

Path: Channel Automation API › Actions

`GET /api/workspaces/{workspaceId}/automation-templates/{templateId}`

Returns the saved snapshot with dependencyReview.blockers and dependencyReview.warnings recomputed from that snapshot. Does not refresh source content or modify the saved version.

## Authentication

Requires one of the following:

- `BearerAuth`, http, header `Authorization`, format `JWT`
- `ApiKeyAuth`, apiKey, in header, header `X-API-Key`, format `API_KEY`

## Path parameters

- `workspaceId` (`get/api/workspaces/workspaceId/automation-templates/templateId.path.workspaceId`; string, required)
- `templateId` (`get/api/workspaces/workspaceId/automation-templates/templateId.path.templateId`; string, required)
  - format `uuid`

## Code samples

### cURL

```bash
curl --request GET \
  --url 'https://api.channelautomation.com/api/workspaces/<workspaceId>/automation-templates/<templateId>' \
  --header 'Authorization: Bearer <token>'
```

### TypeScript

```typescript
const url = 'https://api.channelautomation.com/api/workspaces/<workspaceId>/automation-templates/<templateId>';
const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};

fetch(url, options)
  .then(res => res.json())
  .then(json => console.log(json))
  .catch(err => console.error(err));
```

### Python

```python
import requests

url = "https://api.channelautomation.com/api/workspaces/<workspaceId>/automation-templates/<templateId>"

headers = {"Authorization": "Bearer <token>"}

response = requests.get(url, headers=headers)

print(response.text)
```

## Responses

### 200

Successful operation

#### Example

```json
{
  "success": true
}
```

- `success` (`get/api/workspaces/workspaceId/automation-templates/templateId.response.200.success`; boolean, optional)

### 400

Invalid selection or destination

#### Example

```json
{
  "success": true,
  "error": "string",
  "details": {}
}
```

- `success` (`get/api/workspaces/workspaceId/automation-templates/templateId.response.400.success`; boolean, optional)
- `error` (`get/api/workspaces/workspaceId/automation-templates/templateId.response.400.error`; string, optional)
- `details` (`get/api/workspaces/workspaceId/automation-templates/templateId.response.400.details`; object, optional, nullable)

### 401

Authentication required

#### Example

```json
{
  "success": true,
  "error": "string",
  "details": {}
}
```

- `success` (`get/api/workspaces/workspaceId/automation-templates/templateId.response.401.success`; boolean, optional)
- `error` (`get/api/workspaces/workspaceId/automation-templates/templateId.response.401.error`; string, optional)
- `details` (`get/api/workspaces/workspaceId/automation-templates/templateId.response.401.details`; object, optional, nullable)

### 403

Source and destination workspace access required

#### Example

```json
{
  "success": true,
  "error": "string",
  "details": {}
}
```

- `success` (`get/api/workspaces/workspaceId/automation-templates/templateId.response.403.success`; boolean, optional)
- `error` (`get/api/workspaces/workspaceId/automation-templates/templateId.response.403.error`; string, optional)
- `details` (`get/api/workspaces/workspaceId/automation-templates/templateId.response.403.details`; object, optional, nullable)

### 404

Workspace, template or selected resource not found

#### Example

```json
{
  "success": true,
  "error": "string",
  "details": {}
}
```

- `success` (`get/api/workspaces/workspaceId/automation-templates/templateId.response.404.success`; boolean, optional)
- `error` (`get/api/workspaces/workspaceId/automation-templates/templateId.response.404.error`; string, optional)
- `details` (`get/api/workspaces/workspaceId/automation-templates/templateId.response.404.details`; object, optional, nullable)

### 409

Unresolved dependencies or incompatible destination fields; details contains the repair issues

#### Example

```json
{
  "success": true,
  "error": "string",
  "details": {}
}
```

- `success` (`get/api/workspaces/workspaceId/automation-templates/templateId.response.409.success`; boolean, optional)
- `error` (`get/api/workspaces/workspaceId/automation-templates/templateId.response.409.error`; string, optional)
- `details` (`get/api/workspaces/workspaceId/automation-templates/templateId.response.409.details`; object, optional, nullable)

### 500

Database or installation failure

#### Example

```json
{
  "success": true,
  "error": "string",
  "details": {}
}
```

- `success` (`get/api/workspaces/workspaceId/automation-templates/templateId.response.500.success`; boolean, optional)
- `error` (`get/api/workspaces/workspaceId/automation-templates/templateId.response.500.error`; string, optional)
- `details` (`get/api/workspaces/workspaceId/automation-templates/templateId.response.500.details`; object, optional, nullable)


Source: https://developer.channelautomations.com/api/get-api-workspaces-workspace-id-automation-templates-template-id/index.md
