# API: Pause

| Method | Path | What it does | Scope |
|---|---|---|---|
| GET | `/v1/pause-switches` | What is paused now (the organization, agents, providers, connected accounts, campaigns) | `settings:read` |
| PUT | `/v1/pause-switches` | Pause or resume: new writes under a paused switch are refused and queued agent work waits | `settings:write` |

## Examples

### GET /v1/pause-switches

What is paused now (the organization, agents, providers, connected accounts, campaigns)

```bash
curl -s "https://api.ferryseal.com/v1/pause-switches" \
  -H "Authorization: Bearer $FT_API_KEY"
```

```js
const res = await fetch(`https://api.ferryseal.com/v1/pause-switches`, {
  method: "GET",
  headers: { authorization: `Bearer ${process.env.FT_API_KEY}` },
});
const data = await res.json();
```

### PUT /v1/pause-switches

Pause or resume: new writes under a paused switch are refused and queued agent work waits

```bash
curl -s -X PUT "https://api.ferryseal.com/v1/pause-switches" \
  -H "Authorization: Bearer $FT_API_KEY" \
  -H "content-type: application/json" \
  -d '{}'
```

```js
const res = await fetch(`https://api.ferryseal.com/v1/pause-switches`, {
  method: "PUT",
  headers: { authorization: `Bearer ${process.env.FT_API_KEY}`, "content-type": "application/json" },
  body: JSON.stringify({}), // fields: see the OpenAPI schema
});
const data = await res.json();
```

Request and response schemas: [https://www.ferryseal.com/openapi.json](https://www.ferryseal.com/openapi.json). All resources: [API reference](https://www.ferryseal.com/docs/api).
