FoPost Accounts API

Connected social accounts

GitHub OpenAPI

Operations 89

GET /v1/accounts List connected accounts #
POST /v1/accounts Connect an account with credentials #
POST /v1/connect-sessions Create a hosted connect link #
GET /v1/connect-sessions/{id} Get a hosted connect link #
POST /v1/accounts/telegram/connect-code Create a Telegram connect code #
GET /v1/accounts/telegram/connect-code/status Get a Telegram connect code status #
GET /v1/accounts/{id}/telegram/commands List Telegram bot commands #
PUT /v1/accounts/{id}/telegram/commands Set Telegram bot commands #
DELETE /v1/accounts/{id}/telegram/commands Clear Telegram bot commands #
GET /v1/accounts/{id}/messaging/ice-breakers Get ice breakers #
PUT /v1/accounts/{id}/messaging/ice-breakers Set ice breakers #
DELETE /v1/accounts/{id}/messaging/ice-breakers Clear ice breakers #
GET /v1/accounts/{id}/messaging/persistent-menu Get the persistent menu #
PUT /v1/accounts/{id}/messaging/persistent-menu Set the persistent menu #
DELETE /v1/accounts/{id}/messaging/persistent-menu Clear the persistent menu #
GET /v1/accounts/{id}/messaging/greeting Get the greeting #
PUT /v1/accounts/{id}/messaging/greeting Set the greeting #
DELETE /v1/accounts/{id}/messaging/greeting Clear the greeting #
GET /v1/accounts/{id}/webhook-subscription Get the webhook subscription #
POST /v1/accounts/{id}/webhook-subscription Re-subscribe the webhook #
GET /v1/accounts/health Get health summary for all accounts #
GET /v1/accounts/{id} Get an account #
PATCH /v1/accounts/{id} Update an account #
DELETE /v1/accounts/{id} Disconnect an account #
POST /v1/accounts/{id}/move Move an account to another workspace #
GET /v1/account-groups List account groups #
POST /v1/account-groups Create an account group #
GET /v1/account-groups/{id} Get an account group #
PATCH /v1/account-groups/{id} Rename an account group #
DELETE /v1/account-groups/{id} Delete an account group #
PUT /v1/account-groups/{id}/members Replace an account group's members #
POST /v1/accounts/{id}/primary Toggle primary flag #
POST /v1/accounts/{id}/queue Act on an account’s posting queue #
POST /v1/accounts/{id}/validate Validate account credentials #
GET /v1/accounts/{id}/health Get account health #
POST /v1/accounts/{id}/refresh-token Refresh an OAuth token #
GET /v1/accounts/{id}/pinterest/boards List Pinterest boards #
POST /v1/accounts/{id}/pinterest/boards Create a Pinterest board #
GET /v1/accounts/{id}/youtube/playlists List YouTube playlists #
POST /v1/accounts/{id}/youtube/playlists Create a YouTube playlist #
PUT /v1/accounts/{id}/youtube/playlists/default Set the default YouTube playlist #
GET /v1/accounts/{id}/youtube/videos/{videoId}/captions List caption tracks #
POST /v1/accounts/{id}/youtube/videos/{videoId}/captions Upload a caption track #
GET /v1/accounts/{id}/youtube/captions/{captionId} Read a transcript #
GET /v1/accounts/{id}/bluesky/languages Read the default post languages #
PUT /v1/accounts/{id}/bluesky/languages Set the default post languages #
GET /v1/accounts/{id}/tiktok/creator-info Read TikTok creator info #
GET /v1/accounts/{id}/instagram/audio Search Instagram's audio library #
GET /v1/accounts/{id}/instagram/publishing-limit Read the publishing limit #
GET /v1/accounts/{id}/instagram/stories List active stories #
GET /v1/accounts/{id}/instagram/stories/{storyId}/insights Read story insights #
GET /v1/accounts/{id}/linkedin/mentions Find a LinkedIn mention #
GET /v1/accounts/{id}/tiktok/music Search TikTok's Commercial Music Library #
GET /v1/accounts/{id}/tiktok/locations Search TikTok places #
POST /v1/accounts/{id}/tiktok/video-download Resolve a TikTok video for repurposing #
GET /v1/accounts/{id}/slack/channels List Slack channels #
GET /v1/accounts/{id}/slack/members List Slack members #
GET /v1/accounts/{id}/slack/identity Get the Slack posting identity #
PATCH /v1/accounts/{id}/slack/identity Set the Slack posting identity #
GET /v1/accounts/{id}/discord/channels List Discord channels #
PATCH /v1/accounts/{id}/discord/channels/current Move the account to another channel #
GET /v1/accounts/{id}/discord/identity Get the Discord posting identity #
PATCH /v1/accounts/{id}/discord/identity Set the Discord posting identity #
GET /v1/accounts/{id}/discord/messages/pinned List pinned messages #
DELETE /v1/accounts/{id}/discord/messages/{messageId} Delete a message #
POST /v1/accounts/{id}/discord/messages/{messageId}/pin Pin a message #
DELETE /v1/accounts/{id}/discord/messages/{messageId}/pin Unpin a message #
POST /v1/accounts/{id}/discord/messages/{messageId}/crosspost Publish a message to following servers #
POST /v1/accounts/{id}/discord/messages/{messageId}/thread Start a thread on a message #
GET /v1/accounts/{id}/discord/events List scheduled events #
POST /v1/accounts/{id}/discord/events Create a scheduled event #
GET /v1/accounts/{id}/discord/events/{eventId} Get a scheduled event #
PATCH /v1/accounts/{id}/discord/events/{eventId} Update a scheduled event #
DELETE /v1/accounts/{id}/discord/events/{eventId} Delete a scheduled event #
GET /v1/accounts/{id}/discord/members List or search server members #
GET /v1/accounts/{id}/discord/members/{memberId} Get a server member #
GET /v1/accounts/{id}/discord/roles List server roles #
POST /v1/accounts/{id}/discord/roles Create a role #
PATCH /v1/accounts/{id}/discord/roles/{roleId} Update a role #
DELETE /v1/accounts/{id}/discord/roles/{roleId} Delete a role #
PUT /v1/accounts/{id}/discord/roles/{roleId}/members/{memberId} Give a member a role #
DELETE /v1/accounts/{id}/discord/roles/{roleId}/members/{memberId} Take a role from a member #
POST /v1/accounts/{id}/discord/dm Send a direct message to a member #
GET /v1/accounts/{id}/reddit/subreddits List the account's subreddits #
GET /v1/accounts/{id}/reddit/subreddits/{name}/rules List a subreddit's rules #
POST /v1/accounts/{id}/x/follow Follow an X user #
POST /v1/accounts/{id}/x/unfollow Unfollow an X user #
GET /v1/accounts/{id}/reddit/flairs List a subreddit's post flairs #
PUT /v1/accounts/{id}/reddit/default-subreddit Set the account's default subreddit #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/fopost-com:fopost-com-accounts-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

fopost-com-accounts-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: FoPost Accounts API
  version: 1.0.0
  description: 'REST API for FoPost — schedule, publish, and analyze social media content across every connected platform.


    ## Authentication


    Programmatic access uses an API key sent in the `X-API-Key` header. Keys are created in the FoPost dashboard under **Developers → API Keys** and are limited to the scopes granted at creation. Requests from the FoPost dashboard use a JWT bearer token instead (`Authorization: Bearer `), which implicitly carries all scopes. Either method works on every endpoint in this document unless noted otherwise.


    ## Scopes


    Each operation lists its required scope (also machine-readable as `x-fopost-scope`): `posts` (includes publishing, deliveries, and media), `workspaces`, `accounts`, `labels`, `webhooks`, `analytics`, `automations`.


    ## Responses


    Every key in a response body and every query parameter is snake_case; request bodies keep the field names documented on each operation. The ads endpoints (`/v1/ads/*`) are the one exception and keep camelCase keys. A single resource is returned as the object itself (`201` on create); a collection is `{ "data": [...], "meta": {...} }`. A success with nothing to return is `204` with an empty body.


    ## Errors


    Errors return `{ "error": "", "message": "" }` with a matching HTTP status, including an unknown route (`404 not_found`) and a server fault (`500 internal_error`). `error` is a stable snake_case code; `message` is for humans and may change. Some errors include additional context fields. A feature that is not set up on this deployment answers `503 not_configured`; a malformed answer from an upstream provider answers `502 upstream_error`.


    ## Request ids


    Every response carries an `X-Request-Id` header. Quote it when contacting support about a specific request.


    ## Rate limiting


    Requests are rate limited per API key, per minute, with a ceiling set by the plan behind the key. Every response carries `X-RateLimit-Limit`, `X-RateLimit-Remaining` and `X-RateLimit-Reset`; exceeding the limit returns `429` with error code `too_many_requests`, a `retry_after` field and a `Retry-After` header. Mutating endpoints additionally require an active subscription and return `403` with error code `subscription_required` without one.


    ## Pagination


    Offset-paged lists accept `page` and `per_page` (1 to 100) and return `meta: { page, per_page, total, total_pages }`. Cursor-paged lists return `meta: { next_cursor, has_more }`; pass `next_cursor` back in the cursor parameter the operation documents until `has_more` is false. Lists that do not paginate return `{ "data": [...] }` with no `meta`.'
  contact:
    name: FoPost Support
    url: https://fopost.com/contact
  license:
    name: Proprietary
    url: https://fopost.com/terms
servers:
- url: https://api.fopost.com
  description: Production
security:
- ApiKeyAuth: []
- BearerAuth: []
- OAuth2: []
tags:


# --- truncated at 32 KB (193 KB total) ---
# Full source: https://artifacts.apis.io/fopost-com/openapi/fopost-com-accounts-api-openapi.yml