Skip to content
KrevayadocsGet help Open Krevaya

Create, review, and schedule social posts

Create text, image, carousel, Reel, and Story posts; understand media limits, approval behavior, scheduling conflicts, and platform review settings.

Updated

Create a reviewable post

POST /v1/posts requires body and either platform or lineup. It creates a draft unless you supply a future schedule_at. The publish scope is required. body accepts 1–4,000 characters and hashtags up to 500; text over the platform's own caption limit is refused with 422, and other platform-specific requirements still apply when publishing.

json
{
  "platform": "linkedin",
  "body": "Three questions we ask before estimating a repair: what changed, when did it start, and can we reproduce it?",
  "brand_id": "YOUR_BRAND_ID",
  "kind": "image",
  "asset_ids": ["YOUR_ASSET_ID"]
}

Replace the ID placeholders with strings returned by your own account. Upload media before creating the post. asset_ids preserves order and can contain repeated IDs. The generic limit is 20 attachments; the platform's smaller limit takes precedence.

To make a retry safe, send an Idempotency-Key header with a stable value from your own record, and include brand_id. Repeating the same request with the same Idempotency-Key returns the original receipt, marked idempotency_replayed: true, instead of creating a second post.

A draft is not guaranteed to wait for a person. When the brand's Publish mode is Auto (publish_mode: auto in GET /v1/brands), Krevaya approves the oldest drafts within each channel's posting limit, including drafts created through POST /v1/posts, Pinterest, TikTok, Tumblr and YouTube excepted. To keep every draft waiting, choose Review under Settings → Publishing → Publish mode, or create drafts through POST /v1/automation/drafts, which always wait for a person.

Choose a supported media shape

PlatformSupported public post shapes
InstagramImage: 1 image. Carousel: 2–10 images/videos. Reel: 1 video. Story: 1 image or video.
FacebookText, 1–10 images, Reel/feed video: 1 video, Story: 1 image or video.
ThreadsText, image: 1, carousel: 2–20 images/videos, video using kind reel: 1 video.
LinkedInText, image: 1, carousel: 2–20 images. Uses multi-image publishing, not PDF documents.
BlueskyText or 1–4 images through create_post.
TikTokReel: exactly 1 video; image: 1 picture; carousel: 2–20 pictures, no video. Every TikTok post is created as a draft; a person completes TikTok's settings and approves it in Krevaya.
YouTubeReel: exactly 1 video; requires per-post visibility and made-for-kids settings.
PinterestImage: 1 image, or reel: 1 video; requires a connected account and board selection.

When kind is omitted, multiple assets infer a carousel on Instagram, Threads, and LinkedIn, and a multi-photo image post on Facebook and Bluesky. Explicit carousel on Facebook or Bluesky means the same multi-photo post. Story is never inferred: request kind: story deliberately because the platform does not display its stored body as a caption.

Registry channels such as Mastodon, WordPress, Ghost, and newsletters accept their channel slug as platform. GET /v1/channels lists each channel's slug, caption limit, connection fields, and per-post settings; it includes some channels that can't be connected yet. Connection fields, required destination settings, and supported media vary by channel. Complete the connection and any per-post choices in Krevaya before scheduling; missing required settings hold the post.

Schedule a new or existing post

For a new post, set schedule_at to a future ISO-8601 timestamp. Include Z or a UTC offset to make the intended instant explicit. An offset-free timestamp is interpreted as UTC. A successful creation returns status: scheduled and scheduled_at; it has already authorized future publication. Pinterest, TikTok, Tumblr and YouTube are the exception: there the post is created as a draft, and the response carries review_first: true, requested_schedule_at and a note, because a person approves each of those posts in Krevaya. In a lineup, only those channels' posts become drafts.

json
{
  "platform": "linkedin",
  "body": "The repair intake checklist is ready for our next workshop.",
  "brand_id": "YOUR_BRAND_ID",
  "schedule_at": "2027-01-19T15:00:00Z"
}

Replace the sample time with your intended future time. To schedule an existing post over REST, call POST /v1/posts/{post_id}/schedule with schedule_at, an ISO-8601 string that includes Z or a UTC offset. A draft or rejected post also needs approve: true, which approves it in the same step; an approved, scheduled, or failed post simply moves. The response is id, status: scheduled, and scheduled_at. POST /v1/posts/{post_id}/unschedule returns a scheduled post to draft.

json
{
  "schedule_at": "2027-01-19T15:00:00Z",
  "approve": true
}

Through MCP, call schedule_post with post_id and optional when. Omitting when chooses the platform's next free posting slot. For an external key, schedule_post also approves a draft or rejected post. Treat approve: true and schedule_post as approval and scheduling decisions. Both refuse a Pinterest, TikTok, Tumblr or YouTube draft, and can move one a person already approved.

A second post from the same account on the same platform cannot hold the same minute, even across brands. REST returns 409 for a collision. Choose a different minute or use schedule_post without when to ask for the next free slot. A time that would exceed a posting limit returns 429.

Record the user's review decision

MCP toolEffect
approve_postApprove the specified draft (not Pinterest, TikTok, Tumblr or YouTube: a person approves those in Krevaya)
reject_postReject with optional reason and code
favorite_post / unfavorite_postSet or clear an explicit preference signal
update_postChange body and/or hashtags; refuses publishing, published, or failed posts, approved or scheduled Pinterest, TikTok, Tumblr or YouTube posts, and an edit that adds a link to a scheduled X post when the X link allowance of the month it is scheduled in is used (the tool error names the count and the reset; nothing is saved)
unschedule_postRemove a scheduled slot and return the post to draft
delete_postDelete a post that has not gone out, for good; refuses a publishing or published post and a Studio creation, with the reason

Use a concrete rejection reason, such as ‘The pricing claim is not on our current price list.’ The countable codes are off_voice, wrong_topic, too_salesy, factually_off, bad_hook, too_long, and other. Approval, rejection, and starring affect learning; record the user's decision rather than inventing a preference. Over REST, POST /v1/posts/{post_id}/reject records a rejection, and POST and DELETE /v1/posts/{post_id}/favorite set and clear the star.

Deleting is not a review decision. DELETE /v1/posts/{post_id} or MCP delete_post removes a draft, approved, scheduled, failed, or rejected post for good, with its review history, so Krevaya learns nothing from it. Use reject_post when the user says why a draft missed, and unschedule_post to keep a post but take it off the calendar. A published post is deleted on the platform itself.

Account for platform-specific review

TikTok needs a human to choose who can view the post, its interaction settings and its commercial-content disclosure, on video and photo posts alike. API clients can create TikTok video and photo posts as drafts; a person completes TikTok's settings and approves each one in Krevaya, and an API key or MCP client can't approve or schedule a TikTok draft. YouTube requires a title, a description, a visibility and a made-for-kids answer, which a person saves on the post in Krevaya. Pinterest requires a board. These settings use signed-in dashboard routes, not /v1. Creating a draft through the API does not supply the missing choices. YouTube connections are available to ordinary accounts, and uploads use the visibility the reviewer chooses. Pinterest is available publicly and requires the reviewer to choose a board; Krevaya does not automatically approve or draft Pins. Pinterest, TikTok, Tumblr and YouTube posts are approved one at a time by a person in Krevaya. Auto-publish, bulk approval and repeats skip them, an API key or MCP client can't approve one, and a schedule_at on create makes a draft.

Threads videos must be MP4 or MOV and satisfy Meta's limits. URL ingest does not always record duration and dimensions, so a file can upload successfully and still fail at publication. Read post.failed events and the post's error instead of treating an accepted draft as proof of publishability.

Frequently asked questions

Can I schedule an existing post over REST?

Yes. Call POST /v1/posts/{post_id}/schedule with a future schedule_at that includes Z or a UTC offset. A draft or rejected post also needs approve: true. The MCP schedule_post tool does the same and can pick the next free slot when you omit when.

Why did an unscheduled post return to drafts?

unschedule_post clears its slot and changes its status to draft, matching the dashboard. It does not reject the post or leave it approved for automatic publication.

Can I delete a post through the API?

Yes, if it has not gone out. DELETE /v1/posts/{post_id} with a publish-scoped key returns 204 and the post is gone for good; MCP delete_post does the same. A post that is publishing or published, or a Studio creation, is refused with the reason (409 over REST).