SaaSFlow
DevelopersAPIReferenceintegrations

Rebuild

Recompute what SaaSFlow built from a provider's data, as the repairs in the app's integration menu do. Stripe: subscriptions rebuilds subscriptions and…

Authentication

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

Authorization

headerAuthorization<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.

Path Parameters

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

Request Body

application/json
  1. body
target*string
Value in"subscriptions""transactions""categorizations"

Response Body

Queued

application/json
  1. response
queued*true
Value intrue
Example Request
curl -X POST 'https://api.saasflow.com/companies/string/integrations/string/rebuild' \  -H 'Content-Type: application/json' \  -d '{  "target": "subscriptions"}'
Example Response
{  "queued": true}