---
title: "List workflow templates"
method: GET
path: "/workflows/templates"
tags: ["Workflows"]
---

# List workflow templates

`GET /workflows/templates`

## Request

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

Get a list of available workflow templates

## Query parameters

- `category` string
- `search` string

## Response `200`

Templates retrieved successfully

- JumpcloudHttpWorkflowsWorkflowTemplateListResponse: Response containing a list of workflow templates
  - `totalCount` integer, required: Total number of templates
  - `templates` JumpcloudHttpWorkflowsWorkflowTemplateResponse[], required: List of templates
    - `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

- `400`: Bad request - invalid query parameters
- `401`: Unauthorized - authentication required
- `default`: Generic error response

---

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