SaaSFlow
DevelopersAPIReferencebilling_link

List billing link

Get a link to the company's billing page in the SaaSFlow app, where the person picks a plan or changes the subscription and payment details.

Authentication

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

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

Response Body

The link

application/json
  1. response
url*string

Give this link to the person. It opens in the SaaSFlow app.

nextAction*string

What to do once the person has the link.

Example Request
curl -X GET 'https://api.saasflow.com/companies/string/billing_link'
Example Response200
{  "url": "string",  "nextAction": "string"}