Developers

A REST API and a hosted MCP server with the same rules as the web app. Responses are JSON over HTTPS. The beta API is versioned under /api/v1 and may change before general availability.

The full reference is in the documentation

Every endpoint and format with examples in cURL, JavaScript, Python and PHP, the statuses and errors, recipes, and step-by-step setup for each MCP client.

Open the developer guide

Base URL and authentication

Create an API key in the app, under Developers, and send it as a bearer token. Each key acts for your user.

https://linkpost.app/api/v1
curl https://linkpost.app/api/v1/accounts \
  -H "Authorization: Bearer $LINKPOST_API_KEY"

Publishing

  • POST/api/v1/postsPublish a video, story, text, photos, carousel, document, poll or thread, now or at a set time.
  • GET/api/v1/postsList your posts, with filters.
  • GET/api/v1/posts/{id}Read status and platform results.
  • POST/api/v1/posts/{id}/rescheduleMove a scheduled post.
  • POST/api/v1/posts/{id}/retrySend a failed post again.
  • DELETE/api/v1/posts/{id}Cancel a scheduled post.

Accounts

  • GET/api/v1/accountsList connected accounts and the formats each takes, with their limits.
  • GET/api/v1/accounts/{id}/creator-infoRead a TikTok creator's current posting options.

Formats

Send a format with each post. GET /api/v1/accounts lists the formats each account takes, with its limits on files and text. Photo posts on TikTok, pending TikTok certification, only appear on accounts that already have them.

videoreelstorytextimagecarouseldocumentpoll

On X and Bluesky, a thread field adds up to 24 more posts, each a reply to the one before. Photos take alt text, and polls take their answers and, on X and LinkedIn, how long they stay open.

Publishing through the API

MCP server

Add the hosted server to Claude, Cursor, VS Code or any MCP client that can send an API key as a bearer token.

mcp.json
{
  "mcpServers": {
    "linkpost": {
      "url": "https://linkpost.app/mcp",
      "headers": {
        "Authorization": "Bearer ${LINKPOST_API_KEY}"
      }
    }
  }
}
publish_post

Publish or schedule any format from HTTPS URLs or uploaded files.

list_accounts

See connected accounts and the formats each takes.

get_tiktok_creator_info

Read a TikTok creator's current posting options.

list_posts

List your posts, with filters.

get_post_status

Check delivery and platform errors.

create_upload

Get one-time links to send files from your computer.

reschedule_post

Move a scheduled post.

cancel_post

Cancel a scheduled post.