---
title: "Get workflow template"
method: GET
path: "/api/v2/workflows/templates/{templateId}"
tags: ["Workflows"]
---

# Get workflow template

`GET /api/v2/workflows/templates/{templateId}`

## Request

- Base URL: `https://console.jumpcloud.com`
- URL: `https://console.jumpcloud.com/api/v2/workflows/templates/{templateId}`
- Auth: API key in header `x-api-key`
- TypeScript: <https://skmtc.dev/jumpcloud/apis/jumpcloud-console-api/docs/api/v2/workflows/templates/:templateId/get.ts> (a function with typed inputs; its response is checked against the schema)

Get a single workflow template by ID

## Path parameters

- `templateId` string, required

## Response `200`

Template retrieved successfully

- JumpcloudHttpWorkflowsWorkflowTemplateResponse: Response containing a workflow template
  - `id` string: Unique identifier of the template
  - `name` string: Name of the template
  - `description` string: Description of the template
  - `category` string: Category of the template (e.g. User Management, Security)
  - `dsl` object: JSON definition of the workflow DSL

## Other responses

- `401`: Unauthorized - authentication required
- `404`: Template not found
- `default`: Generic error response

---

[API](https://skmtc.dev/jumpcloud/apis/jumpcloud-console-api.md) - [All operations](https://skmtc.dev/jumpcloud/apis/jumpcloud-console-api/llms.txt) - [OpenAPI document](https://skmtc.dev/jumpcloud/apis/jumpcloud-console-api/revisions/f396d9271b46?raw)
