---
title: "Export a workflow scheme"
method: GET
path: "/api/v1/workflow/schemes/{schemeIdOrVariable}/export"
tags: ["Workflow"]
---

# Export a workflow scheme

`GET /api/v1/workflow/schemes/{schemeIdOrVariable}/export`

Export a [workflow scheme](https://www.dotcms.com/docs/latest/managing-workflows#Schemes).

Returns the full workflow scheme, along with steps, actions, permissions, etc., on success.

## Path parameters

- `schemeIdOrVariable` string, required

## Response `200`

Exported workflow scheme successfully

- ResponseEntityView
  - `errors` ErrorEntity[]
    - `errorCode` string
    - `message` string
    - `fieldName` string
  - `entity` object
  - `messages` MessageEntity[]
    - `message` string
  - `i18nMessagesMap` object
  - `permissions` string[]
  - `pagination` Pagination
    - `currentPage` integer
    - `perPage` integer
    - `totalEntries` integer

## Other responses

- `400` — Bad request
- `401` — Invalid User
- `403` — Forbidden
- `404` — Workflow scheme not found
- `406` — Not Acceptable
- `500` — Internal Server Error

---

[API](https://skmtc.dev/anzworldline-solutions/apis/dotcms-rest-api.md) · [All operations](https://skmtc.dev/anzworldline-solutions/apis/dotcms-rest-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/anzworldline-solutions/dotcms-rest-api/revisions/0f38cbc3bd36/schema)
