# LaunchDarkly Workflow templates API

**Canonical:** https://apis.io/apis/launchdarkly/launchdarkly-workflow-templates-api/  
**Provider:** LaunchDarkly — https://apis.io/providers/launchdarkly/  
**Base URL:** https://app.launchdarkly.com/api/v2  
**Documentation:** https://launchdarkly.com/docs/api/webhooks

LaunchDarkly Workflow templates API is one of 68 APIs that [LaunchDarkly](https://apis.io/providers/launchdarkly/) publishes on the [APIs.io](https://apis.io/) network, described by a machine-readable OpenAPI specification. Tagged areas include WorkflowTemplates. The published artifact set on APIs.io includes an OpenAPI specification.

> ### Workflows are in maintenance mode > > The workflows feature is in maintenance mode, and is planned for future deprecation at a date not yet specified. We will work with existing customers using workflows to migrate to a replacement solution when deprecation occurs. Workflow templates allow you to define a set of workflow stages that you can use as a starting point for new workflows. You can create these workflows for any flag in any environment and any project, and you can create as many workflows as you like from a given template. You can create workflow templates in two ways: * by specifying the desired stages, using the `stages` property of the request body * by specifying an existing workflow to save as a template, using the `workflowId` property of the request body You can use templates to create a workflow in any project, environment, or flag. However, when you create a template, you must specify a particular project, environment, and flag. This means that when you create a template using the `stages` property, you must also include `projectKey`, `environmentKey`, and `flagKey` properties in the request body. When you create a template from an existing workflow, it will use the project, environment, and flag of the existing workflow, so those properties can be omitted from the request body. To learn more, read [Workflows documentation](https://launchdarkly.com/docs/home/releases/workflows) and [Workflows API documentation](https://launchdarkly.com/docs/api/workflows).

## Operations (3)

| Method | Path | Summary |
|---|---|---|
| GET | `/api/v2/templates` | Get workflow templates |
| POST | `/api/v2/templates` | Create workflow template |
| DELETE | `/api/v2/templates/{templateKey}` | Delete workflow template |

## Machine-readable artifacts (1)

- **OpenAPI** — https://raw.githubusercontent.com/api-evangelist/launchdarkly/refs/heads/main/openapi/launchdarkly-workflow-templates-api-openapi.yml

## Other LaunchDarkly APIs (12)

- [LaunchDarkly Webhooks API](https://apis.io/apis/launchdarkly/webhooks-api/)
- [launchdarkly Access Tokens API](https://apis.io/apis/launchdarkly/launchdarkly-access-tokens-api/)
- [launchdarkly Account Members API](https://apis.io/apis/launchdarkly/launchdarkly-account-members-api/)
- [launchdarkly Approvals API](https://apis.io/apis/launchdarkly/launchdarkly-approvals-api/)
- [launchdarkly Audit Log API](https://apis.io/apis/launchdarkly/launchdarkly-audit-log-api/)
- [launchdarkly Client-Side Evaluation API](https://apis.io/apis/launchdarkly/launchdarkly-client-side-evaluation-api/)
- [launchdarkly Client-Side Streaming API](https://apis.io/apis/launchdarkly/launchdarkly-client-side-streaming-api/)
- [launchdarkly Code References API](https://apis.io/apis/launchdarkly/launchdarkly-code-references-api/)
- [launchdarkly Custom Roles API](https://apis.io/apis/launchdarkly/launchdarkly-custom-roles-api/)
- [launchdarkly Environments API](https://apis.io/apis/launchdarkly/launchdarkly-environments-api/)
- [launchdarkly Experiments API](https://apis.io/apis/launchdarkly/launchdarkly-experiments-api/)
- [launchdarkly Feature Flags API](https://apis.io/apis/launchdarkly/launchdarkly-feature-flags-api/)

## Tags

WorkflowTemplates

---

Profiled by [API Evangelist](https://apievangelist.com) and published on [APIs.io](https://apis.io/apis/launchdarkly/launchdarkly-workflow-templates-api/). The API's provider profile, Kin Score and agent-readiness rating are at https://apis.io/providers/launchdarkly/.
