SaaSFlow
DevelopersAPIReferenceapi_keys

List api keys

The company's API keys, without their secrets, which nobody can read back. lastUsedTime shows whether a key is still in use.

Authentication

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

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

Newest first

application/json
  1. response
[index: integer]?
Example Request
curl -X GET 'https://api.saasflow.com/companies/string/api_keys'
Example Response
[  {    "id": "string",    "name": "string",    "permissions": [      "subscriptions:read"    ],    "createdTime": "string",    "lastUsedTime": "string",    "expiresTime": "string"  }]