DevelopersAPIReferencesubscriptions
Reimport
Read one subscription again from Stripe or HubSpot, for when it looks wrong in SaaSFlow after a change at the source (a plan switch, a corrected start…
Authentication
Checking whether you're signed in…
POST
header
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.
companyId*stringLength
1 <= lengthsubscriptionId*stringLength
1 <= lengthQueued
application/json- response
provider*stringValue in
"stripe""hubspot"curl -X POST 'https://api.saasflow.com/companies/string/subscriptions/string/reimport'Example Response
{ "provider": "stripe"}Update subscription
Update a subscription. Only the fields you send change. This edits the container only, never the revenue: to change what a subscription is worth, add or…
List subscription events
List subscription events, optionally narrowed by subscriptionId, customerId or productId. These events are the ledger SaaSFlow computes MRR from.