List connections

GEThttps://api.floconnector.com/v1/connections
Scope
connections.read
Rate limit
the key's read budget, 120 a minute

Every vendor account connected to the workspace, whatever its status. new_tools names tools the catalog added after the connection was made, and upgrade lists the scopes a reconnect would add and the tools they unlock.

Takes no parameters and no body.

Responses

200Success
connectionsarray of object

Every connection in the workspace.

ShowHide 17 fields of each item
idstring

The connection's id.

vendorstring

The connector's vendor slug, e.g. xero.

orgstringnullable

The best name for the connected account: label, else resolved_name, else handle. Null when none of them is set.

labelstringnullable

The name a person gave the account in FloConnector. Null when none is set.

resolved_namestringnullable

The vendor's own name for the account, as FloConnector resolved it. Null when the vendor gave none.

account_refstringnullable

What tells this account apart from another of the same name: an email, a shop domain or a channel id. Null when none was found.

handlestringnullable

A short, stable handle for this account among the workspace's connections to the same vendor. Null when it has none.

providerenum

Who runs the connection's calls: native (FloConnector's own integration), composio, or first_party (FloConnector's own tools, with no vendor behind them).

nativecomposiofirst_party
vendor_tenant_idstring

The vendor's own id for the connected organisation or account. Not a FloConnector id.

statusenum

active: working. needs_reauth: the vendor no longer accepts the stored credential, and a person must reconnect to restore it. revoked: access was withdrawn.

activeneeds_reauthrevoked
platform_billing_statusenum

For a connector billed through the vendor's own marketplace, where that subscription stands: active, pending (installed, no subscription confirmed yet), cancelled, frozen (the vendor froze the account's billing) or unknown (the check failed). not_required for every other connector.

not_requiredactivependingcancelledfrozenunknown
platform_plan_handlestringnullable

The plan the account is on in the vendor's marketplace, as the vendor names it. Null when that does not apply.

connected_atstring

When it was connected, as an ISO 8601 timestamp.

connected_bystringnullable

The user id of the person who connected it. Null when that is not known.

connected_by_emailstringnullable

That person's email. Null when that is not known.

new_toolsarray of string

Names of tools added to the catalog in the last 30 days, after this connection was made. They are on in the root selection automatically.

upgradeobjectnullable

What a reconnect would unlock. Null when it would unlock nothing.

ShowHide 2 fields
missing_scopesarray of string

OAuth scopes the connector now asks for and this connection was never granted.

locked_toolsarray of string

Tools that will not run until the connection is reconnected with those scopes.

400validation: a field failed validation; field names it.

Every error has the same envelope:

errorobject
ShowHide 5 fields
codeenum

What went wrong, as a stable word. Branch on this, never on message.

unauthorizedforbiddeninsufficient_scopeplan_limitnot_foundvalidationconflictread_onlyrate_limitedcsrfunavailableinternal
messagestring

The same thing in a sentence, written for a person.

fieldstringoptional

validation only: the field that failed, as a path into the request.

requiredstringoptional

insufficient_scope only: the scope the route needs.

detailsobjectoptional

Extra structure some errors carry, such as a refused record batch's per-record errors.

401unauthorized: no key, or an unknown, revoked or expired key.

Every error has the same envelope:

errorobject
ShowHide 5 fields
codeenum

What went wrong, as a stable word. Branch on this, never on message.

unauthorizedforbiddeninsufficient_scopeplan_limitnot_foundvalidationconflictread_onlyrate_limitedcsrfunavailableinternal
messagestring

The same thing in a sentence, written for a person.

fieldstringoptional

validation only: the field that failed, as a path into the request.

requiredstringoptional

insufficient_scope only: the scope the route needs.

detailsobjectoptional

Extra structure some errors carry, such as a refused record batch's per-record errors.

403insufficient_scope: the key lacks the route's scope, named in required. Or forbidden, or plan_limit when the plan does not include the API.

Every error has the same envelope:

errorobject
ShowHide 5 fields
codeenum

What went wrong, as a stable word. Branch on this, never on message.

unauthorizedforbiddeninsufficient_scopeplan_limitnot_foundvalidationconflictread_onlyrate_limitedcsrfunavailableinternal
messagestring

The same thing in a sentence, written for a person.

fieldstringoptional

validation only: the field that failed, as a path into the request.

requiredstringoptional

insufficient_scope only: the scope the route needs.

detailsobjectoptional

Extra structure some errors carry, such as a refused record batch's per-record errors.

404not_found: the thing is not in this workspace.

Every error has the same envelope:

errorobject
ShowHide 5 fields
codeenum

What went wrong, as a stable word. Branch on this, never on message.

unauthorizedforbiddeninsufficient_scopeplan_limitnot_foundvalidationconflictread_onlyrate_limitedcsrfunavailableinternal
messagestring

The same thing in a sentence, written for a person.

fieldstringoptional

validation only: the field that failed, as a path into the request.

requiredstringoptional

insufficient_scope only: the scope the route needs.

detailsobjectoptional

Extra structure some errors carry, such as a refused record batch's per-record errors.

429rate_limited: the key's per-minute budget is spent. Retry after Retry-After seconds.

Every error has the same envelope:

errorobject
ShowHide 5 fields
codeenum

What went wrong, as a stable word. Branch on this, never on message.

unauthorizedforbiddeninsufficient_scopeplan_limitnot_foundvalidationconflictread_onlyrate_limitedcsrfunavailableinternal
messagestring

The same thing in a sentence, written for a person.

fieldstringoptional

validation only: the field that failed, as a path into the request.

requiredstringoptional

insufficient_scope only: the scope the route needs.

detailsobjectoptional

Extra structure some errors carry, such as a refused record batch's per-record errors.

Errors lists every error code and what to do about it.