Get started
Flenvio API
Publish and schedule to Facebook, Instagram, Threads, YouTube and TikTok from your own code, automations and AI agents, with an API key.
The Flenvio API does from code what you do in the dashboard: see your connected accounts, upload images and videos, publish or schedule one post to many accounts at once, follow what happened on each account, and retry the ones that failed. It also lets you manage groups and read your comments inbox.
Who it’s for
- Your own tools. A script that posts every new blog article, a spreadsheet of scheduled posts, an internal content calendar.
- Automations. Cron jobs, CI pipelines, no-code tools that can make HTTP requests.
- AI agents. Claude Code, Cursor, ChatGPT and other agents can draft and schedule posts for you, with your confirmation. See For AI agents.
What you can do
| Task | Endpoints |
|---|---|
| List connected accounts | GET /v1/accounts |
| Upload images and videos | POST /v1/media/uploads → upload → POST /v1/media/uploads/{id}/complete |
| Publish now or schedule | POST /v1/posts |
| Follow each account’s delivery | GET /v1/posts/{id}, GET /v1/posts |
| Retry a failed delivery | POST /v1/posts/jobs/{deliveryId}/retry |
| Reschedule, cancel, archive | POST /v1/posts/{id}/reschedule, /cancel, /archive |
| Manage groups | GET, POST, PATCH, DELETE /v1/account-groups |
| Read and answer comments | GET /v1/comments and the per-platform comment endpoints |
| Read and send direct messages | Instagram and Facebook conversation endpoints |
What the API can’t do (yet)
Some things only work in the dashboard, and a few don’t exist anywhere yet:
- Connect or reconnect accounts. Connecting goes through each platform’s sign-in, which needs a person in a browser. Do it in the dashboard under Accounts.
- Create, list or revoke API keys. Only in the dashboard, under Settings → Developer.
- Edit or delete a post. A post’s text, media and accounts are fixed once created, and nothing is deleted from the platforms. A scheduled post can be rescheduled or canceled; to change it, cancel it and create a new one.
- Drafts. There are no saved drafts on the server.
- Retry a whole post in one call. Retry each failed delivery on its own.
- Per-platform options other than TikTok’s (for example a YouTube title, privacy or playlist). YouTube videos are published as public, titled from the first line of the text.
- Search posts by text, or filter by scheduled time. The posts list filters by account, group, platform, status and creation date.
- TikTok comments, and direct messages on Threads, YouTube and TikTok. The platforms don’t offer them to Flenvio.
- Webhooks. Flenvio doesn’t call your server when a delivery finishes; check the post’s status instead.
- Account, profile and workspace management. No profile, team or billing endpoints.
Start here
- QuickstartCreate a key, list your accounts and publish your first post in five minutes.
- AuthenticationHow API keys work, how to keep them safe and what they can’t do.
- For AI agentsGive an agent access safely, with a ready-made setup prompt.
- API referenceEvery endpoint with parameters, examples, errors and limits.