SaaSFlow
DevelopersAPIReferenceintegrations

Retrieve integration

Retrieve one integration by id, including its connection state and last sync. Use this to diagnose a bank connection that has stopped importing.

Authentication

Checking whether you're signed in…
GET
/companies/{companyId}/integrations/{integrationId}

Authorization

Authorization<token>

A SaaSFlow API key (format sf_…) or an OAuth bearer token. Paste only the key — the proxy adds the Bearer prefix. Create an API key in Settings → Company settings → API keys — see API keys.

In: header

Path Parameters

companyId*string
Length1 <= length
integrationId*string
Length1 <= length

Response Body

application/json

application/json

curl -X GET "https://example.com/companies/string/integrations/string"
{  "name": "string",  "externalAccountId": "string",  "status": "active",  "initialSetupComplete": true,  "createdTime": "2019-08-24T14:15:22Z",  "createdUserId": "string",  "lastUpdatedTime": "2019-08-24T14:15:22Z",  "lastUpdatedUserId": "string",  "type": "stripe",  "stripeMode": "test",  "lastAccountSyncTime": "2019-08-24T14:15:22Z",  "lastSubscriptionSyncTime": "2019-08-24T14:15:22Z",  "missingPermissionObjectTypes": [    "string"  ],  "id": "string"}