API documentation

Authentication

Everything about authenticating with our APIs, from creating a key to implementing it securely in your application.

Addresses

The FlowSuite API answers at https://api.flowsuite.one. A path follows it without /api: https://api.flowsuite.one/team is the same as https://creativeskyline.de/api/team. The previous address https://creativeskyline.de/api/… keeps working with no end date, with the same keys and limits.

OAuth 2.0 for apps

Some APIs take an OAuth access token instead of an API key, above all the FlowContacts API. An app signs the person in with the authorization code flow with PKCE and sends the access token as a bearer token.

GET https://flowconnect.one/oauth/authorize Sign-in and consent in the browser
POST https://api.flowsuite.one/oauth/token Exchange the code for tokens, refresh a token
POST https://api.flowsuite.one/oauth/revoke Revoke a token
GET https://api.flowsuite.one/oauth/userinfo Get the signed-in person

We set up an OAuth client for your app on request. The previous addresses at https://creativeskyline.de stay valid, and the FlowContacts app keeps using them.

Quick start

One authentication method
All FlowSuite APIs use the same authentication method: your personal API key (pk_...) or an additional key (at_...) as a bearer token in the Authorization header.

Overview

All our APIs use the same authentication method: send your personal API key (pk_...) or an additional key (at_...) as a bearer token in the Authorization header.

Available FlowSuite APIs: Team Management, FlowCRM, FlowLeads, FlowContacts, FlowAI, FlowTime, FlowTasks, FlowCall, FlowSend, FlowSaaS, FlowAccounting, FlowEvents, FlowDrive, FlowSupport

FlowData: The general data APIs (IP Geolocation, Client Info, Maps, Email Verifier, YouTube) use their own FlowData keys (fd_...), which you create under FlowData → API keys. FlowSuite keys keep working there, but we recommend switching; a FlowData key, on the other hand, does not work for the FlowSuite APIs.

Requirements

  1. A registered FlowSuite user account
  2. Sign in at flowsuite.one and go to account menu → API keys
  3. Your personal API key (pk_...) is shown there and ready to use

Authentication

Authorization header only
Tokens in the query string, in the request body or in other headers are rejected (401). Use Authorization: Bearer … only.

Bearer token authentication

All APIs use standard bearer token authentication. Send your personal API key (pk_...) or an additional key (at_...) in the Authorization header.

Required headers:

Authorization: Bearer pk_your_api_key
Accept: application/json

Two key types

pk_... Personal key: created automatically, always visible in the account menu under API keys.

at_... Additional key: created manually, with an optional expiry date. Ideal for separate applications.

Where to find your API key

  1. Sign in to your account at flowsuite.one
  2. Go to account menu → API keys
  3. Your personal API key (pk_...) is shown at the top of the page

Key management

Tip: a separate key per application
Create a separate additional key (at_...) for each application or service. That way you can revoke individual access at any time without affecting other integrations.

Key lifecycle

Personal key (pk_...)

Created automatically for every user and always visible in the account menu under API keys. You can regenerate it at any time; the old key stops working immediately.

Additional keys (at_...)

Can be created with or without an expiry date. Keys without an expiry date stay valid until you deactivate them. When creating a key you can choose the "Read only" level: such a key may only send GET and HEAD requests, and the API answers every other request in every module with HTTP 403 and the code api_token_read_only. The level cannot be changed later. Ideal for separate applications or services.

Rotation and deactivation

You can rotate any key at any time. The old value stops working and a new one is generated. Deactivated keys stop working immediately; all API requests with them are rejected with a 401 error. The native apps such as FlowContacts do not use an API key: they sign in with OAuth through FlowConnect, see "OAuth 2.0 for apps" above.

Security guidelines

Never do this
Never store API keys in public repositories, hard-code them in frontend code, share them by email or use one key for several unrelated applications.
Best practices
Use environment variables for API keys. Create separate keys for development and production. Rotate API keys regularly (every 90 days recommended). Make API calls through a backend server.

Rate limiting

To prevent abuse and ensure fair use, each API key is limited to 300 requests per minute. Every API key has its own quota, even when several keys come from the same IP address. Some modules have their own limits, which are then given in that module's documentation; for the FlowAI API the quota of its rate limit tier applies instead of this limit. If you exceed it, you get an HTTP 429 (Too Many Requests) error. Requests with a missing or invalid API key are additionally limited to 30 per minute per IP address.

Environment variables

Store your API key securely in environment variables:

# .env (never commit!)
FLOWSUITE_API_KEY=pk_your_api_key

Code examples

cURL

curl -X GET "https://api.flowsuite.one/team" \
  -H "Authorization: Bearer pk_your_api_key" \
  -H "Accept: application/json"

JavaScript (Fetch)

const apiKey = process.env.FLOWSUITE_API_KEY;

const response = await fetch('https://api.flowsuite.one/team', {
  method: 'GET',
  headers: {
    'Authorization': `Bearer ${apiKey}`,
    'Accept': 'application/json',
  },
});

const data = await response.json();

PHP

$apiKey = getenv('FLOWSUITE_API_KEY');

$response = Http::withToken($apiKey)
    ->acceptJson()
    ->get('https://api.flowsuite.one/team');

$data = $response->json();

Python

import os, requests

api_key = os.environ.get('FLOWSUITE_API_KEY')
headers = {'Authorization': f'Bearer {api_key}', 'Accept': 'application/json'}

response = requests.get('https://api.flowsuite.one/team', headers=headers)
data = response.json()

Error handling

Authentication errors

401 Unauthorized: missing or invalid authentication. Check your API key in the Authorization header.

{
  "success": false,
  "error": "Ungültiger API-Token"
}

403 Forbidden: you don't have permission for this action. Check your module permissions or the subscription.

429 Too Many Requests: rate limit exceeded. The Retry-After header gives the waiting time in seconds, X-RateLimit-Limit and X-RateLimit-Remaining show the quota.

HTTP/1.1 429 Too Many Requests
Retry-After: 60
X-RateLimit-Limit: 300
X-RateLimit-Remaining: 0

{
  "message": "Too Many Attempts.",
  "success": false,
  "error": "Too Many Attempts."
}