---
title: "Returns the workflow definition for a template."
method: GET
path: "/v2.1/accounts/{accountId}/templates/{templateId}/workflow"
tags: ["EnvelopeWorkflowDefinition"]
---

# Returns the workflow definition for a template.

`GET /v2.1/accounts/{accountId}/templates/{templateId}/workflow`

Returns the workflow definition for the template specified by `templateId`. If the template does not have a workflow object, this method returns a 404.

## Path parameters

- `accountId` string, required
- `templateId` string, required

## Response `200`

Successful response.

## Other responses

- `400` — Error encountered.

---

[API](https://skmtc.net/docusign/apis/docusign-esignature-rest-api.md) · [All operations](https://skmtc.net/docusign/apis/docusign-esignature-rest-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/docusign/docusign-esignature-rest-api/versions/77f1998c313d/schema)
