API-Dokumentation

FlowContacts API

Eine moderne REST API zur Verwaltung von privaten Kontakten, Timeline-Einträgen und persönlichen Details. Perfekt für Integrationen, Daten-Synchronisation und individuelle Beziehungs-Management-Tools.

FlowContacts
https://api.flowsuite.one/flowcontacts/contacts

Pfade gelten unter https://api.flowsuite.one. Die bisherige Adresse https://creativeskyline.de/api/… funktioniert unbefristet weiter.

OpenAPI-Datei dieses Moduls

Anmeldung per OAuth
Die FlowContacts API nimmt ein OAuth-Zugriffstoken an, keinen API-Schlüssel: pk_… und at_… werden mit 401 abgelehnt. Zeigt ein Beispiel einen API-Schlüssel, setzt du dort das Zugriffstoken ein. Wie du es bekommst, steht unter Authentifizierung. OAuth 2.0 für Apps

Schnellstart

Konto und Team der angemeldeten Person
Die API arbeitet immer mit den Kontakten der angemeldeten Person in ihrem aktuell gewählten Team. Ist kein Team gewählt, antwortet sie mit HTTP 400.

API-Zugangsdaten abrufen

Die FlowContacts API nimmt ein OAuth-Zugriffstoken an, keinen API-Schlüssel. Sie ist die Schnittstelle der FlowContacts-App; für eigene Integrationen mit API-Schlüssel nutzen Sie die Kontakt-Endpunkte der FlowCRM-API.

  1. Ihre App meldet die Person per OAuth 2.0 an (Authorization Code Flow mit PKCE)
  2. Sie tauscht den Code mit POST https://api.flowsuite.one/oauth/token gegen ein Zugriffstoken
  3. Dieses Token senden Sie bei jeder Anfrage als Bearer-Token

Authentifizierung

Alle API-Anfragen benötigen diese HTTP-Header:

Authorization: Bearer OAUTH_ZUGRIFFSTOKEN
Accept: application/json

API-Referenz

Numerische IDs im Pfad laufen aus
Alle Detail-Endpunkte akzeptieren den Pfadwert derzeit sowohl als UUID als auch als numerische ID. Die numerische Form existiert nur noch als Übergangslösung für die FlowContacts-App und wird ohne weitere Ankündigung entfernt, sobald die App auf UUIDs umgestellt ist. Bitte ausschließlich UUIDs verwenden. Das Feld id in den Antworten ist aus demselben Grund vorübergehend wieder enthalten und gilt ebenfalls als veraltet.
GET
/flowcontacts/contacts

Kontakte auflisten

Ruft eine Liste Ihrer persönlichen Kontakte ab. Die Antwort enthält alle verknüpften Daten wie E-Mails, Telefonnummern und Adressen.

Bearer OAuth-Zugriffstoken

Query-Parameter

Name Typ Pflicht Beschreibung
status string Filter nach Status: active, archived, all
search string Suchbegriff (Name, Firma, Job, E-Mail)
per_page integer Anzahl der Ergebnisse (max 200)
curl -X GET "https://api.flowsuite.one/flowcontacts/contacts" \
  -H "Authorization: Bearer YOUR_API_TOKEN" \
  -H "Accept: application/json"
use Illuminate\Support\Facades\Http;

$response = Http::withToken('YOUR_API_TOKEN')
    ->get('https://api.flowsuite.one/flowcontacts/contacts');

$data = $response->json();
const response = await fetch('https://api.flowsuite.one/flowcontacts/contacts', {
  method: 'GET',
  headers: {
    'Authorization': 'Bearer YOUR_API_TOKEN',
    'Accept': 'application/json',
  },
});

const data = await response.json();
import requests

headers = {
    'Authorization': 'Bearer YOUR_API_TOKEN',
    'Accept': 'application/json',
}

response = requests.get(
    'https://api.flowsuite.one/flowcontacts/contacts',
    headers=headers,
)

data = response.json()
{
    "data": [
        {
            "uuid": "123e4567-e89b-12d3-a456-426614174000",
            "id": 1042,
            "first_name": "Max",
            "last_name": "Mustermann",
            "company": "Firma GmbH",
            "job_title": null,
            "notes": null,
            "birthday": null,
            "avatar_url": null,
            "avatar_sha1": null,
            "is_shared": false,
            "is_own": true,
            "status": "active",
            "emails": [
                {
                    "label": "Privat",
                    "address": "max@example.com",
                    "is_primary": true
                }
            ],
            "phones": [],
            "addresses": [],
            "created_at": "2026-07-21T10:00:00+00:00",
            "updated_at": "2026-07-21T10:00:00+00:00"
        }
    ],
    "meta": {
        "current_page": 1,
        "per_page": 15,
        "total": 42
    }
}
GET
/flowcontacts/contacts/{uuid}

Kontakt-Details abrufen

Ruft die vollständigen Details eines einzelnen Kontakts ab, inklusive E-Mails, Telefonnummern und Adressen. Empfohlener Weg ist die Adressierung per UUID. Übergangsweise wird zusätzlich die numerische ID akzeptiert (/flowcontacts/contacts/123) – dieser Weg ist veraltet und läuft aus, sobald die FlowContacts-App vollständig auf UUIDs umgestellt ist. Neue Integrationen dürfen ausschließlich UUIDs verwenden. Die Antwort enthält neben uuid übergangsweise wieder das Feld id; Unterobjekte (E-Mails, Telefonnummern, Adressen) tragen weiterhin keine IDs.

Bearer OAuth-Zugriffstoken

curl -X GET "https://api.flowsuite.one/flowcontacts/contacts/{uuid}" \
  -H "Authorization: Bearer YOUR_API_TOKEN" \
  -H "Accept: application/json"
use Illuminate\Support\Facades\Http;

$response = Http::withToken('YOUR_API_TOKEN')
    ->get('https://api.flowsuite.one/flowcontacts/contacts/{uuid}');

$data = $response->json();
const response = await fetch('https://api.flowsuite.one/flowcontacts/contacts/{uuid}', {
  method: 'GET',
  headers: {
    'Authorization': 'Bearer YOUR_API_TOKEN',
    'Accept': 'application/json',
  },
});

const data = await response.json();
import requests

headers = {
    'Authorization': 'Bearer YOUR_API_TOKEN',
    'Accept': 'application/json',
}

response = requests.get(
    'https://api.flowsuite.one/flowcontacts/contacts/{uuid}',
    headers=headers,
)

data = response.json()
{
    "data": {
        "uuid": "123e4567-e89b-12d3-a456-426614174000",
        "id": 1042,
        "first_name": "Max",
        "last_name": "Mustermann",
        "company": "Firma GmbH",
        "job_title": null,
        "notes": null,
        "birthday": null,
        "avatar_url": null,
        "avatar_sha1": null,
        "is_shared": false,
        "is_own": true,
        "status": "active",
        "emails": [
            {
                "label": "Privat",
                "address": "max@example.com",
                "is_primary": true
            }
        ],
        "phones": [],
        "addresses": [],
        "created_at": "2026-07-21T10:00:00+00:00",
        "updated_at": "2026-07-21T10:00:00+00:00"
    }
}
POST
/flowcontacts/contacts

Kontakt erstellen

Erstellt einen neuen privaten Kontakt. Breaking Change: Die frühere Upsert-Semantik über eine uuid im Body existiert nicht mehr; Aktualisierungen laufen über PUT /flowcontacts/contacts/{uuid}.

Bearer OAuth-Zugriffstoken

Request-Body

Name Typ Pflicht Beschreibung
first_name string Vorname
last_name string Nachname
company string Firma
job_title string Berufsbezeichnung
email_addresses array Array aus E-Mail-Objekten mit label, address und is_primary
phone_numbers array Array aus Telefon-Objekten mit label, number und is_primary
curl -X POST "https://api.flowsuite.one/flowcontacts/contacts" \
  -H "Authorization: Bearer YOUR_API_TOKEN" \
  -H "Accept: application/json" \
  -H "Content-Type: application/json" \
  -d '{"first_name": "value", "last_name": "value", "company": "value", "job_title": "value", "email_addresses": [], "phone_numbers": []}'
use Illuminate\Support\Facades\Http;

$response = Http::withToken('YOUR_API_TOKEN')
    ->post('https://api.flowsuite.one/flowcontacts/contacts', [
        'first_name' => 'value',
        'last_name' => 'value',
        'company' => 'value',
        'job_title' => 'value',
        'email_addresses' => [],
        'phone_numbers' => [],
    ]);

$data = $response->json();
const response = await fetch('https://api.flowsuite.one/flowcontacts/contacts', {
  method: 'POST',
  headers: {
    'Authorization': 'Bearer YOUR_API_TOKEN',
    'Accept': 'application/json',
    'Content-Type': 'application/json',
  },
  body: JSON.stringify({
    first_name: 'value',
    last_name: 'value',
    company: 'value',
    job_title: 'value',
    email_addresses: [],
    phone_numbers: [],
  }),
});

const data = await response.json();
import requests

headers = {
    'Authorization': 'Bearer YOUR_API_TOKEN',
    'Accept': 'application/json',
}

payload = {
    'first_name': 'value',
    'last_name': 'value',
    'company': 'value',
    'job_title': 'value',
    'email_addresses': [],
    'phone_numbers': [],
}

response = requests.post(
    'https://api.flowsuite.one/flowcontacts/contacts',
    headers=headers,
    json=payload,
)

data = response.json()
{
    "data": {
        "uuid": "223e4567-e89b-12d3-a456-426614174111",
        "id": 1043,
        "first_name": "Erika",
        "last_name": "Mustermann",
        "company": null,
        "job_title": "Designerin",
        "notes": null,
        "birthday": null,
        "avatar_url": null,
        "avatar_sha1": null,
        "is_shared": false,
        "is_own": true,
        "status": "active",
        "emails": [
            {
                "label": "Geschäftlich",
                "address": "erika@muster.de",
                "is_primary": true
            }
        ],
        "phones": [],
        "addresses": [],
        "created_at": "2026-07-21T10:00:00+00:00",
        "updated_at": "2026-07-21T10:00:00+00:00"
    }
}
PUT
/flowcontacts/contacts/{uuid}

Kontakt aktualisieren

Aktualisiert einen bestehenden Kontakt per UUID (Teil-Update: nur gesendete Felder werden geschrieben). Übergangsweise wird auch die numerische ID im Pfad akzeptiert; dieser Weg ist veraltet und läuft aus. Ein unbekannter oder fremder Pfadwert ergibt in beiden Formen HTTP 404.

Bearer OAuth-Zugriffstoken

Request-Body

Name Typ Pflicht Beschreibung
first_name string Vorname
last_name string Nachname
company string Firma
job_title string Berufsbezeichnung
email_addresses array Array aus E-Mail-Objekten mit label, address und is_primary
phone_numbers array Array aus Telefon-Objekten mit label, number und is_primary
curl -X PUT "https://api.flowsuite.one/flowcontacts/contacts/{uuid}" \
  -H "Authorization: Bearer YOUR_API_TOKEN" \
  -H "Accept: application/json" \
  -H "Content-Type: application/json" \
  -d '{"first_name": "value", "last_name": "value", "company": "value", "job_title": "value", "email_addresses": [], "phone_numbers": []}'
use Illuminate\Support\Facades\Http;

$response = Http::withToken('YOUR_API_TOKEN')
    ->put('https://api.flowsuite.one/flowcontacts/contacts/{uuid}', [
        'first_name' => 'value',
        'last_name' => 'value',
        'company' => 'value',
        'job_title' => 'value',
        'email_addresses' => [],
        'phone_numbers' => [],
    ]);

$data = $response->json();
const response = await fetch('https://api.flowsuite.one/flowcontacts/contacts/{uuid}', {
  method: 'PUT',
  headers: {
    'Authorization': 'Bearer YOUR_API_TOKEN',
    'Accept': 'application/json',
    'Content-Type': 'application/json',
  },
  body: JSON.stringify({
    first_name: 'value',
    last_name: 'value',
    company: 'value',
    job_title: 'value',
    email_addresses: [],
    phone_numbers: [],
  }),
});

const data = await response.json();
import requests

headers = {
    'Authorization': 'Bearer YOUR_API_TOKEN',
    'Accept': 'application/json',
}

payload = {
    'first_name': 'value',
    'last_name': 'value',
    'company': 'value',
    'job_title': 'value',
    'email_addresses': [],
    'phone_numbers': [],
}

response = requests.put(
    'https://api.flowsuite.one/flowcontacts/contacts/{uuid}',
    headers=headers,
    json=payload,
)

data = response.json()
{
    "data": {
        "uuid": "223e4567-e89b-12d3-a456-426614174111",
        "id": 1043,
        "first_name": "Erika",
        "last_name": "Mustermann",
        "company": "Muster Design",
        "job_title": "Designerin",
        "notes": null,
        "birthday": null,
        "avatar_url": null,
        "avatar_sha1": null,
        "is_shared": false,
        "is_own": true,
        "status": "active",
        "emails": [
            {
                "label": "Geschäftlich",
                "address": "erika@muster.de",
                "is_primary": true
            }
        ],
        "phones": [],
        "addresses": [],
        "created_at": "2026-07-21T10:00:00+00:00",
        "updated_at": "2026-07-21T11:00:00+00:00"
    }
}
DELETE
/flowcontacts/contacts/{uuid}

Kontakt löschen

Löscht einen Kontakt per UUID (Soft-Delete). Übergangsweise wird auch die numerische ID im Pfad akzeptiert; dieser Weg ist veraltet und läuft aus. Ein unbekannter oder fremder Pfadwert ergibt in beiden Formen HTTP 404.

Bearer OAuth-Zugriffstoken

curl -X DELETE "https://api.flowsuite.one/flowcontacts/contacts/{uuid}" \
  -H "Authorization: Bearer YOUR_API_TOKEN" \
  -H "Accept: application/json"
use Illuminate\Support\Facades\Http;

$response = Http::withToken('YOUR_API_TOKEN')
    ->delete('https://api.flowsuite.one/flowcontacts/contacts/{uuid}');

$data = $response->json();
const response = await fetch('https://api.flowsuite.one/flowcontacts/contacts/{uuid}', {
  method: 'DELETE',
  headers: {
    'Authorization': 'Bearer YOUR_API_TOKEN',
    'Accept': 'application/json',
  },
});

const data = await response.json();
import requests

headers = {
    'Authorization': 'Bearer YOUR_API_TOKEN',
    'Accept': 'application/json',
}

response = requests.delete(
    'https://api.flowsuite.one/flowcontacts/contacts/{uuid}',
    headers=headers,
)

data = response.json()
POST
/flowcontacts/contacts/{uuid}/avatar

Profilbild hochladen

Lädt das Profilbild eines Kontakts als multipart/form-data hoch und ersetzt ein vorhandenes Bild. Das Bild wird serverseitig auf 500×500 Pixel zugeschnitten und als JPEG gespeichert, ein zuvor hinterlegtes Bild wird entfernt. Erlaubt sind JPEG, PNG und WebP bis 8 MB. HEIC und HEIF werden nicht unterstützt – iOS-Clients konvertieren vor dem Upload nach JPEG. Profilbilder sind bewusst nicht Teil des Sync-Push-Protokolls; Änderungen erkennen Clients über avatar_sha1 im Sync-Pull.

Bearer OAuth-Zugriffstoken

Request-Body

Name Typ Pflicht Beschreibung
avatar file
Pflicht
Bilddatei als multipart/form-data-Feld (JPEG, PNG oder WebP, max. 8 MB)
curl -X POST "https://api.flowsuite.one/flowcontacts/contacts/{uuid}/avatar" \
  -H "Authorization: Bearer YOUR_API_TOKEN" \
  -H "Accept: application/json" \
  -H "Content-Type: application/json" \
  -d '{"avatar": "value"}'
use Illuminate\Support\Facades\Http;

$response = Http::withToken('YOUR_API_TOKEN')
    ->post('https://api.flowsuite.one/flowcontacts/contacts/{uuid}/avatar', [
        'avatar' => 'value',
    ]);

$data = $response->json();
const response = await fetch('https://api.flowsuite.one/flowcontacts/contacts/{uuid}/avatar', {
  method: 'POST',
  headers: {
    'Authorization': 'Bearer YOUR_API_TOKEN',
    'Accept': 'application/json',
    'Content-Type': 'application/json',
  },
  body: JSON.stringify({
    avatar: 'value',
  }),
});

const data = await response.json();
import requests

headers = {
    'Authorization': 'Bearer YOUR_API_TOKEN',
    'Accept': 'application/json',
}

payload = {
    'avatar': 'value',
}

response = requests.post(
    'https://api.flowsuite.one/flowcontacts/contacts/{uuid}/avatar',
    headers=headers,
    json=payload,
)

data = response.json()
{
    "data": {
        "avatar_url": "https://api.flowsuite.one/flowcontacts/contacts/123e4567-e89b-12d3-a456-426614174000/avatar",
        "avatar_sha1": "da39a3ee5e6b4b0d3255bfef95601890afd80709",
        "avatar_updated_at": "2026-08-16T10:00:00+00:00"
    }
}
GET
/flowcontacts/contacts/{uuid}/avatar

Profilbild abrufen

Liefert die Bilddaten des Profilbilds, in der Regel als image/jpeg. Die Antwort trägt einen ETag mit dem SHA-1 der Bytes; ein Aufruf mit If-None-Match wird mit 304 Not Modified ohne Inhalt beantwortet. Externe Profilbilder, etwa aus Google Kontakte, werden per 302 auf ihre Original-URL weitergeleitet. Ohne hinterlegtes Bild antwortet der Endpunkt mit 404. Wichtig: die URL ist wie jeder andere Endpunkt tokengeschützt – sie muss mit dem Authorization-Header abgerufen werden und funktioniert nicht in einem einfachen Bild-Tag.

Bearer OAuth-Zugriffstoken

curl -X GET "https://api.flowsuite.one/flowcontacts/contacts/{uuid}/avatar" \
  -H "Authorization: Bearer YOUR_API_TOKEN" \
  -H "Accept: application/json"
use Illuminate\Support\Facades\Http;

$response = Http::withToken('YOUR_API_TOKEN')
    ->get('https://api.flowsuite.one/flowcontacts/contacts/{uuid}/avatar');

$data = $response->json();
const response = await fetch('https://api.flowsuite.one/flowcontacts/contacts/{uuid}/avatar', {
  method: 'GET',
  headers: {
    'Authorization': 'Bearer YOUR_API_TOKEN',
    'Accept': 'application/json',
  },
});

const data = await response.json();
import requests

headers = {
    'Authorization': 'Bearer YOUR_API_TOKEN',
    'Accept': 'application/json',
}

response = requests.get(
    'https://api.flowsuite.one/flowcontacts/contacts/{uuid}/avatar',
    headers=headers,
)

data = response.json()
Die Antwort ist eine Datei, kein JSON.
DELETE
/flowcontacts/contacts/{uuid}/avatar

Profilbild löschen

Entfernt das Profilbild des Kontakts samt gespeicherter Datei. Der Aufruf ist idempotent: auch ohne hinterlegtes Bild antwortet der Server mit 204 No Content.

Bearer OAuth-Zugriffstoken

curl -X DELETE "https://api.flowsuite.one/flowcontacts/contacts/{uuid}/avatar" \
  -H "Authorization: Bearer YOUR_API_TOKEN" \
  -H "Accept: application/json"
use Illuminate\Support\Facades\Http;

$response = Http::withToken('YOUR_API_TOKEN')
    ->delete('https://api.flowsuite.one/flowcontacts/contacts/{uuid}/avatar');

$data = $response->json();
const response = await fetch('https://api.flowsuite.one/flowcontacts/contacts/{uuid}/avatar', {
  method: 'DELETE',
  headers: {
    'Authorization': 'Bearer YOUR_API_TOKEN',
    'Accept': 'application/json',
  },
});

const data = await response.json();
import requests

headers = {
    'Authorization': 'Bearer YOUR_API_TOKEN',
    'Accept': 'application/json',
}

response = requests.delete(
    'https://api.flowsuite.one/flowcontacts/contacts/{uuid}/avatar',
    headers=headers,
)

data = response.json()

Code-Beispiele

Kompletten Kontakt anlegen

curl -X POST "https://api.flowsuite.one/flowcontacts/contacts" \
  -H "Authorization: Bearer OAUTH_ZUGRIFFSTOKEN" \
  -H "Content-Type: application/json" \
  -d '{
    "first_name": "Erika",
    "last_name": "Mustermann",
    "job_title": "Designerin",
    "email_addresses": [
      { "label": "Geschäftlich", "address": "erika@muster.de" }
    ]
  }'

Profilbild hochladen und abrufen

curl -X POST "https://api.flowsuite.one/flowcontacts/contacts/{uuid}/avatar" \
  -H "Authorization: Bearer OAUTH_ZUGRIFFSTOKEN" \
  -F "avatar=@profilbild.jpg"

# Bytes abrufen (Header ist Pflicht, auch fuer das Bild selbst)
curl "https://api.flowsuite.one/flowcontacts/contacts/{uuid}/avatar" \
  -H "Authorization: Bearer OAUTH_ZUGRIFFSTOKEN" \
  -o profilbild.jpg

# Nur laden, wenn sich das Bild geaendert hat
curl "https://api.flowsuite.one/flowcontacts/contacts/{uuid}/avatar" \
  -H "Authorization: Bearer OAUTH_ZUGRIFFSTOKEN" \
  -H 'If-None-Match: "<avatar_sha1>"'