# API-Referenz: alle Endpunkte

> Alle Endpunkte mit Basis-URL und OpenAPI-Datei.

Quelle: https://flow-marketing.org/hilfe/api-referenz · Frage: Welche Endpunkte hat die API?

Diese Seite zeigt alle Endpunkte der API von Flow Marketing als Tabelle: Methode, Pfad und eine kurze Beschreibung. Die Tabelle entsteht automatisch aus der OpenAPI-Datei, die auch der Server ausliefert. Felder, Beispiele und Fehler stehen auf den Seiten der einzelnen Gruppen.

Basis-URL ist https://flow-marketing.org/api/turbo/v1. Jede Anfrage braucht einen Schlüssel im Kopf „Authorization: Bearer …“. Die OpenAPI-Datei (Version 3.1) lädst du ohne Schlüssel unter /api/turbo/v1/openapi.json – für API-Werkzeuge, Code-Generatoren oder KI-Programme.

## Vorlagen: Felder, Stile, Stilfilme {#api-vorlagen}

Details: https://flow-marketing.org/hilfe/api-vorlagen

| Methode | Pfad | Beschreibung | Recht |
| --- | --- | --- | --- |
| GET | `/templates` | List templates with their field schema | `templates:read` |
| GET | `/templates/{id}` | One template – field schema (JSON Schema 2020-12), styles, example, example preview | `templates:read` |

## Videos: anlegen, ändern, prüfen {#api-videos}

Details: https://flow-marketing.org/hilfe/api-videos

| Methode | Pfad | Beschreibung | Recht |
| --- | --- | --- | --- |
| POST | `/videos` | Create a video from a template (fields or brief) – returns a checked preview at once | `videos:write` |
| GET | `/videos` | List videos (newest first) | `videos:read` |
| GET | `/videos/{id}` | Get a video with preview link, quality and latest render | `videos:read` |
| PATCH | `/videos/{id}` | Change fields, style, formats, voice or brand – creates a new revision and a new preview | `videos:write` |
| DELETE | `/videos/{id}` | Delete the video, its files and its texts (GDPR erasure); invoices and usage rows stay | `videos:write` |
| POST | `/videos/{id}/render` | Start the export render | `videos:write` |
| POST | `/videos/{id}/cancel` | Cancel the running render of this video (alias of POST /renders/{id}/cancel) | `videos:write` |
| GET | `/videos/{id}/plan` | Scene graph the renderer uses (scenes, elements, narration, sound cues, per-format layout) | `videos:read` |
| GET | `/videos/{id}/report` | Quality report – pre-render checks and, after rendering, the measured checks of the files | `videos:read` |
| POST | `/videos/from-document` | Create a video from a read document – slide by slide, re-animated in the Flow style | `videos:write` |

## Renders und Status {#api-renders}

Details: https://flow-marketing.org/hilfe/api-renders-und-status

| Methode | Pfad | Beschreibung | Recht |
| --- | --- | --- | --- |
| GET | `/renders` | List render jobs | `videos:read` |
| GET | `/renders/{id}` | One render job – status, progress, files, quality, charge | `videos:read` |
| POST | `/renders/{id}/cancel` | Cancel a queued or rendering render | `videos:write` |

## Webhooks: Referenz {#api-webhooks-ref}

Details: https://flow-marketing.org/hilfe/api-webhooks-referenz

| Methode | Pfad | Beschreibung | Recht |
| --- | --- | --- | --- |
| POST | `/webhooks` | Create an endpoint – the signing secret is returned once | `webhooks:manage` |
| GET | `/webhooks` | List webhook endpoints | `webhooks:manage` |
| GET | `/webhooks/{id}` | Get a webhook endpoint | `webhooks:manage` |
| PATCH | `/webhooks/{id}` | Change URL, events or pause an endpoint | `webhooks:manage` |
| DELETE | `/webhooks/{id}` | Delete a webhook endpoint | `webhooks:manage` |
| POST | `/webhooks/{id}/rotate_secret` | New signing secret; the old one keeps signing in parallel for 24 h (two signatures in the header) | `webhooks:manage` |
| POST | `/webhooks/{id}/test` | Send a realistic example of any event type now and return the delivery result | `webhooks:manage` |
| GET | `/webhooks/{id}/deliveries` | Delivery log of an endpoint (30 days) | `webhooks:manage` |
| POST | `/webhooks/{id}/deliveries/{delivery_id}/retry` | Send one delivery again now | `webhooks:manage` |

## Uploads und Dokumente {#api-uploads}

Details: https://flow-marketing.org/hilfe/api-uploads-und-dokumente

| Methode | Pfad | Beschreibung | Recht |
| --- | --- | --- | --- |
| POST | `/documents` | Start a document upload (PowerPoint, PDF, Word) – returns a signed upload URL | `videos:write` |
| GET | `/documents/{id}` | Document status and what we read (structure only) | `videos:read` |
| DELETE | `/documents/{id}` | Delete the document with its images | `videos:write` |
| POST | `/documents/{id}/complete` | Finish the upload: type check, virus scan, read slides/pages | `videos:write` |
| POST | `/uploads` | Start an image, logo or document upload – returns a signed upload URL | `videos:write` |
| GET | `/uploads` | List uploads (last 100) | `videos:read` |
| GET | `/uploads/{id}` | Get an upload | `videos:read` |
| DELETE | `/uploads/{id}` | Delete an upload and its file | `videos:write` |
| POST | `/uploads/{id}/complete` | Complete an upload: header check + virus scan | `videos:write` |

## Kosten, Guthaben und Abrechnung der API {#api-kosten}

Details: https://flow-marketing.org/hilfe/api-kosten-und-guthaben

| Methode | Pfad | Beschreibung | Recht |
| --- | --- | --- | --- |
| POST | `/estimates` | Exact price and expected duration before creating anything – free, nothing is stored | `videos:read` |
| GET | `/balance` | Balance, reservations, plan allowance, monthly limit | `usage:read` |
| GET | `/usage` | Usage per day and template (speech jobs per model) | `usage:read` |

## Stimmen und Sprache {#api-stimmen}

Details: https://flow-marketing.org/hilfe/api-stimmen-und-sprache

| Methode | Pfad | Beschreibung | Recht |
| --- | --- | --- | --- |
| GET | `/voices` | Voices: template voices for videos, plus library and your own voices for speech | `templates:read` |
| POST | `/voices` | Save a design preview as your own voice (free) | `voices:write` |
| GET | `/voices/clones` | List voice clones | `voices:write` |
| POST | `/voices/clones` | Create a voice clone and get the consent link | `voices:write` |
| GET | `/voices/clones/{id}` | Get a voice clone | `voices:write` |
| DELETE | `/voices/clones/{id}` | Withdraw a voice clone and delete all files | `voices:write` |
| POST | `/voices/clones/{id}/uploads` | Get a signed upload URL for training material (PUT, 15 minutes) | `voices:write` |
| POST | `/voices/clones/{id}/uploads/{file_id}/complete` | Check an uploaded file (type and size) and count its seconds | `voices:write` |
| POST | `/voices/clones/{id}/submit` | Send for review (needs the person’s consent, voice check and enough material) | `voices:write` |
| GET | `/models` | Voice models with price per 1,000 characters | `voices:read` |
| GET | `/voices/{id}` | Get a voice | `voices:read` |
| PATCH | `/voices/{id}` | Rename, tag, move to a folder or mark as favourite | `voices:write` |
| DELETE | `/voices/{id}` | Delete one of your own voices | `voices:write` |
| POST | `/voices/design` | Design a voice from a description (3 previews) | `voices:write` |
| POST | `/speech/estimate` | Price before you start – free | `speech:write` |
| GET | `/speech` | List speech jobs, newest first | `speech:write` |
| POST | `/speech` | Turn text into speech (async job) | `speech:write` |
| GET | `/speech/{id}` | Get a speech job | `speech:write` |
| GET | `/speech/{id}/audio` | Signed download link for the audio file (1 hour) | `speech:write` |
| GET | `/speech/{id}/timestamps` | Word timings plus ready-made SRT and WebVTT subtitles | `speech:write` |
| GET | `/pronunciations` | Your pronunciation dictionary | `voices:read` |
| PUT | `/pronunciations` | Replace the whole pronunciation dictionary | `speech:write` |

## Avatare und Live-Call {#api-studio}

Details: https://flow-marketing.org/hilfe/api-avatare-live-ki-medien

| Methode | Pfad | Beschreibung | Recht |
| --- | --- | --- | --- |
| GET | `/avatars` | List avatars | `avatars:write` |
| POST | `/avatars` | Create a avatar and get the consent link | `avatars:write` |
| GET | `/avatars/{id}` | Get a avatar | `avatars:write` |
| DELETE | `/avatars/{id}` | Withdraw a avatar and delete all files | `avatars:write` |
| POST | `/avatars/{id}/uploads` | Get a signed upload URL for training material (PUT, 15 minutes) | `avatars:write` |
| POST | `/avatars/{id}/uploads/{file_id}/complete` | Check an uploaded file (type and size) and count its seconds | `avatars:write` |
| POST | `/avatars/{id}/submit` | Send for review (needs the person’s consent, voice check and enough material) | `avatars:write` |
| GET | `/live/agents` | List live call agents | `live:read` |
| POST | `/live/agents` | Create a live call agent (AI says it is an AI in the first sentence) | `live:write` |
| GET | `/live/agents/{id}` | Get a live call agent | `live:read` |
| PATCH | `/live/agents/{id}` | Update, activate or pause a live call agent | `live:write` |
| POST | `/live/agents/{id}/estimate` | Price per minute before you start – connecting, phone number and test call are free | `live:read` |
| POST | `/live/agents/{id}/test` | Link to a free test call in the browser (sign-in required) | `live:write` |
| GET | `/live/agents/{id}/calls` | Calls with duration, cost, outcome, summary and transcript link | `live:read` |
| POST | `/live/agents/{id}/phone_number` | Assign a number from a connected phone provider (credentials only via setup_url on the website) | `live:write` |
| DELETE | `/live/agents/{id}/phone_number` | Remove the phone number | `live:write` |
| GET | `/live/connections` | Connected phone/AI providers (read only, key hint only, setup_url) | `live:read` |

## Weiter

- [OpenAPI-Datei](https://flow-marketing.org/api/turbo/v1/openapi.json)
- [Schnellstart](https://flow-marketing.org/hilfe/api-schnellstart)
- [Authentifizierung](https://flow-marketing.org/hilfe/api-authentifizierung)
