---
title: "pause Workflow"
method: POST
path: "/workflows/{workflowKey}/pause"
tags: ["workflows"]
---

# pause Workflow

`POST /workflows/{workflowKey}/pause`

## Request

- Base URL: `https://api.mailly.site` (the document declares no server; this is the origin it was published from)
- URL: `https://api.mailly.site/workflows/{workflowKey}/pause`
- Auth: HTTP bearer

pause/resume/archive status transitions; archive stops in-progress runs.

## Path parameters

- `workflowKey` string, required: workflow stable key

## Response `200`

Transitioned

- object
  - `success` boolean, required
  - `workflow` object, required
  - `platformFailures` string[], required

## Other responses

- `401`: Missing or invalid API key
- `404`: Workflow not found
- `409`: This action is not allowed in the current state

---

[API](https://skmtc.dev/mailly/apis/mailly-api.md) · [All operations](https://skmtc.dev/mailly/apis/mailly-api/llms.txt) · [OpenAPI document](https://skmtc.dev/mailly/apis/mailly-api/revisions/1ceb29637301?raw)
