Skip to content

API reference

API: Integrations

Markdown version

MethodPathWhat it doesScope
DELETE/v1/connections/:idDisconnect: stops syncing and deletes the saved credentials. What was already synced stays, unless an owner passes delete_data=true: then everything that came only from this source is deleted in the background (web app only)connections:write
PATCH/v1/connections/:idChange a connection's settings, or pause syncing (web app only)connections:write
POST/v1/connections/:id/accountFile the account a marketing connection is for (one of the choices, or the field's value): the channel account the areas use. Nothing is read, sent or started (web app only)connections:write
GET/v1/connections/:id/account-stepWhich account a marketing connection is for: the choices read from the provider, or the field to fill in, and the accounts already filed from it (web app only)connections:read
GET/v1/connections/:id/calendarsCalendars this account can see, and which ones sync (settings.calendars; none chosen means the primary calendar) (web app only)connections:read
GET/v1/connections/:id/grantThe person's other connections that share this connection's grant at the provider (several products of one provider on the same account), so a disconnect can say what removing all access would also stop. The connection's own person only (web app only)connections:read
GET/v1/connections/:id/runsRecent sync runs with stats and errorsconnections:read
PUT/v1/connections/:id/secretsAdd or replace a connection's declared secrets (e.g. the webhook signing secret shown after setup; on OAuth connections only declared extras such as a webhook secret, never the sign-in tokens). Values are stored encrypted and never returned; empty values keep the current one. (web app only)connections:write
POST/v1/connections/:id/syncSync now (web app only)connections:write
GET/v1/integrationsAvailable integrations (and whether each is available) plus your organization's connectionsconnections:read
POST/v1/integrations/:provider/connectStart connecting an account. OAuth providers return a URL to send the browser to; API-key providers connect immediately. (web app only)connections:write

Examples

GET /v1/connections/$ID/runs

Recent sync runs with stats and errors

curl -s "https://api.ferryseal.com/v1/connections/$ID/runs" \
  -H "Authorization: Bearer $FT_API_KEY"
const res = await fetch(`https://api.ferryseal.com/v1/connections/${id}/runs`, {
  method: "GET",
  headers: { authorization: `Bearer ${process.env.FT_API_KEY}` },
});
const data = await res.json();

GET /v1/integrations

Available integrations (and whether each is available) plus your organization's connections

curl -s "https://api.ferryseal.com/v1/integrations" \
  -H "Authorization: Bearer $FT_API_KEY"
const res = await fetch(`https://api.ferryseal.com/v1/integrations`, {
  method: "GET",
  headers: { authorization: `Bearer ${process.env.FT_API_KEY}` },
});
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.