← Clepora

Developers

Use Clepora from your own scripts, automation tools and AI assistants. Create posts, upload files and schedule them with an API token.

Get a token

API tokens come with the Creator, Studio and Agency plans. In Clepora, open Settings → API and create one. You confirm with your password, the token is shown once, and we email you that it was created. Pick how much it may do:

  • Drafts only (the default): it can upload, create and schedule posts, and everything it makes waits for you to approve it in Clepora.
  • Can publish: it may also approve the posts it schedules itself, by sending approve: true, so they go out at their time without a click. It can approve nothing else.

You can limit a token to some channels, give it a daily post limit, and it expires after 30 days, 90 days (the default) or a year. A token can never change your password or email, touch billing, delete your account or any post, connect channels or create other tokens. There is no "publish instantly" call. You can pause every token at once from the same screen, and revoke one at any time.

Send it on every request as Authorization: Bearer YOUR_TOKEN. Base URL: https://api.clepora.com.

Quick start

Check that your token works and see what it may do:

export CLEPORA_TOKEN="clp_up_..."   # shown once, when you create it

curl https://api.clepora.com/v1/me \
  -H "Authorization: Bearer $CLEPORA_TOKEN"

Create a text post, then schedule it. A drafts-only token's schedule waits for your approval.

curl -X POST https://api.clepora.com/v1/posts \
  -H "Authorization: Bearer $CLEPORA_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"title": "Launch day", "text": "We are live!", "platforms": ["threads", "linkedin"]}'
curl -X POST https://api.clepora.com/v1/schedules \
  -H "Authorization: Bearer $CLEPORA_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
    "content_id": "POST_ID_FROM_THE_STEP_ABOVE",
    "platform": "threads",
    "publish_at": "2026-12-01T09:00:00-05:00",
    "caption": "We are live!"
  }'

Upload a video and make a post from it:

# 1. Upload the file
curl -X POST https://api.clepora.com/v1/media \
  -H "Authorization: Bearer $CLEPORA_TOKEN" \
  -F "file=@clip.mp4" -F "title=My clip"

# 2. Make a post from it (use the id from step 1)
curl -X POST https://api.clepora.com/v1/media/MEDIA_ID/posts \
  -H "Authorization: Bearer $CLEPORA_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"title": "My clip", "platforms": ["tiktok", "youtube_shorts"]}'

The same thing in Python and in JavaScript:

import os, requests

API = "https://api.clepora.com"
headers = {"Authorization": f"Bearer {os.environ['CLEPORA_TOKEN']}"}

post = requests.post(f"{API}/v1/posts", headers=headers, json={
    "title": "Launch day",
    "text": "We are live!",
    "platforms": ["threads"],
}).json()

requests.post(f"{API}/v1/schedules", headers=headers, json={
    "content_id": post["id"],
    "platform": "threads",
    "publish_at": "2026-12-01T09:00:00-05:00",
    "caption": "We are live!",
}).raise_for_status()
const API = "https://api.clepora.com";
const headers = {
  Authorization: `Bearer ${process.env.CLEPORA_TOKEN}`,
  "Content-Type": "application/json",
};

const post = await (await fetch(`${API}/v1/posts`, {
  method: "POST",
  headers,
  body: JSON.stringify({ title: "Launch day", text: "We are live!", platforms: ["threads"] }),
})).json();

await fetch(`${API}/v1/schedules`, {
  method: "POST",
  headers,
  body: JSON.stringify({
    content_id: post.id,
    platform: "threads",
    publish_at: "2026-12-01T09:00:00-05:00",
    caption: "We are live!",
  }),
});

API reference

Requests and responses are JSON, except the file upload. Channel ids are the ones returned by /v1/channels, for example tiktok, youtube_shorts or linkedin. Everything a call creates counts against your plan's monthly posts and videos, exactly as in the app.

EndpointWhat it does
GET /v1/meYour plan, what this token may do, and your plan's limits.
GET /v1/channelsYour connected channels that this token may use.Use the ids as `platforms`.
POST /v1/mediaUpload a file to your library.Multipart form: `file`, optional `title` and `description`. Up to 2 GB.
POST /v1/media/{media_id}/postsTurn an uploaded file into a post for chosen channels.JSON: `title`, `platforms`, optional `text` and `tone`. Counts toward your monthly videos.
POST /v1/postsCreate a text post.JSON: `title`, `platforms`, optional `text` and `tone`.
GET /v1/postsYour posts, up to 200.
GET /v1/posts/{content_id}One post, including where it was published.
POST /v1/schedulesSchedule a post on one channel.JSON: `content_id`, `platform`, `publish_at` (ISO 8601 with a time zone), `caption`, optional `approve`.
GET /v1/schedulesYour schedule, and whether each item is approved.

Limits and errors

Each token has an hourly call limit and a daily post limit by plan. Your own daily limit for a token can be lower, never higher. Calls to the MCP address below count against the same hourly limit.

PlanActive tokensCalls per hour, per tokenPosts per day, per token
Creator230060
Studio51,000200
Agency203,000600

Errors use normal HTTP status codes, with a plain sentence in detail:

401The token is missing, wrong, expired or revoked.
403The token is paused, your plan no longer includes the API, the token may not use that channel, or it is a drafts-only token asking to approve.
404That post or file does not exist in your account.
413The file or request is too large.
422The request is not valid. The response says which field.
429Too many calls this hour, or the token's daily post limit is used up. Wait for the number of seconds in the Retry-After header.

Platform limits still apply too. For example, TikTok and YouTube set daily limits across all Clepora customers.

AI assistants (MCP)

Clepora has a hosted MCP server, so an AI assistant can use your account when you ask it to, for example: "Write a LinkedIn post about our launch and schedule it for 9am tomorrow." It uses the same token, the same rules and the same limits as the API above. Nothing to install.

Address: https://api.clepora.com/mcp, sending your token as Authorization: Bearer YOUR_TOKEN. In an assistant that lets you add a remote MCP server with a custom header, for example Claude Code:

claude mcp add --transport http clepora https://api.clepora.com/mcp \
  --header "Authorization: Bearer $CLEPORA_TOKEN"

Or, in a client that reads a JSON configuration:

{
  "mcpServers": {
    "clepora": {
      "url": "https://api.clepora.com/mcp",
      "headers": { "Authorization": "Bearer clp_up_..." }
    }
  }
}

Assistants that connect with a sign-in screen (OAuth) need only the address: they send you to Clepora to sign in and press Allow, choose drafts only or can publish, and get their own token, which you can revoke in Settings → API like any other. The server speaks the current MCP version (2026-07-28) and the earlier ones.

ToolWhat it does
clepora_whoamiWhat this token can do. The assistant should call it first. (read only)
clepora_list_channelsConnected channels the token may use. (read only)
clepora_list_mediaFiles already in your library. (read only)
clepora_create_post_from_mediaTurn a library file into a post for chosen channels.
clepora_create_text_postCreate a text post (a draft).
clepora_list_postsList your posts. (read only)
clepora_get_postRead one post. (read only)
clepora_schedule_postSchedule a post on one channel.
clepora_list_schedulesList the schedule. (read only)

There is no tool to delete anything, publish instantly, or touch your account, billing or channels. Files cannot be uploaded through an assistant, so it works with files already in your library. Upload new ones in the app or with POST /v1/media.

Keeping it safe

  • Start with drafts only. An assistant can be talked into things by text it reads, such as a web page that says "post this everywhere". With a drafts-only token, whatever it creates still waits for you.
  • Treat a token like a password. Keep it in a password manager or your tool's secret settings, never in chat, email or a public repository.
  • Give each tool its own token, limited to the channels it needs, so you can revoke one without breaking the rest.
  • If you think a token leaked, press Pause all tokens in Settings → API, then revoke it and change your password.

Questions, or a feature you need? Contact us or see the Help Center.