Skip to content

API reference

API: Pause

Markdown version

MethodPathWhat it doesScope
GET/v1/pause-switchesWhat is paused now (the organization, agents, providers, connected accounts, campaigns)settings:read
PUT/v1/pause-switchesPause or resume: new writes under a paused switch are refused and queued agent work waitssettings:write

Examples

GET /v1/pause-switches

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

curl -s "https://api.ferryseal.com/v1/pause-switches" \
  -H "Authorization: Bearer $FT_API_KEY"
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

curl -s -X PUT "https://api.ferryseal.com/v1/pause-switches" \
  -H "Authorization: Bearer $FT_API_KEY" \
  -H "content-type: application/json" \
  -d '{}'
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. All resources: API reference.

Send feedback

Tell us what's broken, confusing or missing on this page, or an idea. It goes to the team that builds the product.
Please don't include passwords or card numbers.
Only to reply about this. Never added to any mailing list.