# API reference: all endpoints

> All endpoints with base URL and OpenAPI file.

Source: https://flow-marketing.org/en/help/api-reference · Question: Which endpoints does the API have?

This page lists every endpoint of the Flow Marketing API as a table: method, path and a short description. The table is generated automatically from the OpenAPI file the server delivers. Fields, examples and errors are on the pages of each group.

The base URL is https://flow-marketing.org/api/turbo/v1. Every request needs a key in the header “Authorization: Bearer …”. Download the OpenAPI file (version 3.1) without a key at /api/turbo/v1/openapi.json – for API tools, code generators or AI apps.

## Templates: fields, styles, style films {#api-vorlagen}

Details: https://flow-marketing.org/en/help/api-templates

| Method | Path | Description | Scope |
| --- | --- | --- | --- |
| 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: create, update, review {#api-videos}

Details: https://flow-marketing.org/en/help/api-videos

| Method | Path | Description | Scope |
| --- | --- | --- | --- |
| 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 and status {#api-renders}

Details: https://flow-marketing.org/en/help/api-renders-and-status

| Method | Path | Description | Scope |
| --- | --- | --- | --- |
| 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 reference {#api-webhooks-ref}

Details: https://flow-marketing.org/en/help/api-webhooks-reference

| Method | Path | Description | Scope |
| --- | --- | --- | --- |
| 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 and documents {#api-uploads}

Details: https://flow-marketing.org/en/help/api-uploads-and-documents

| Method | Path | Description | Scope |
| --- | --- | --- | --- |
| 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` |

## API costs, balance and billing {#api-kosten}

Details: https://flow-marketing.org/en/help/api-costs-and-balance

| Method | Path | Description | Scope |
| --- | --- | --- | --- |
| 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` |

## Voices and speech {#api-stimmen}

Details: https://flow-marketing.org/en/help/api-voices-and-speech

| Method | Path | Description | Scope |
| --- | --- | --- | --- |
| 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` |

## Avatars, live call and AI media {#api-studio}

Details: https://flow-marketing.org/en/help/api-avatars-live-ai-media

| Method | Path | Description | Scope |
| --- | --- | --- | --- |
| 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` |
| POST | `/media/estimate` | Price before you start – free | `videos:write` |
| POST | `/media` | Create an AI image, clip or print photo (costs tokens; needs confirm_tokens) | `videos:write` |
| GET | `/media` | List AI media | `videos:read` |
| GET | `/media/{id}` | Status, download links, C2PA and rights | `videos:read` |

## See also

- [OpenAPI file](https://flow-marketing.org/api/turbo/v1/openapi.json)
- [Quick start](https://flow-marketing.org/en/help/api-quickstart)
- [Authentication](https://flow-marketing.org/en/help/api-authentication)
