Documentation menu

Posts

One endpoint dispatches to every implemented provider, but availability is connection-specific. Fresh Facebook and Instagram-through-Facebook connections use Meta's approved-only configurations, which omit publishing permissions, so the dashboard hides both providers from Post and those tokens report post.publish: false. A valid direct or legacy Instagram/Facebook token is still evaluated from its actual grant and can use the implemented endpoints.

For a capable token, a fully staged Instagram request returns 202 after durable acceptance and continues through Vercel Workflow; poll Instagram publish status. Legacy Instagram URL/base64 requests remain synchronous and return 201 after Meta publishes. X, Bluesky, and LinkedIn posts return 201. TikTok and YouTube return 202, and Facebook returns 202 for Reels or feed video, but those statuses represent provider-side asynchronous processing—not Vercel Workflow. See Publish to LinkedIn for the request, which publishes as a personal profile or an organization Page.

Workflow scope: Instagram is currently the only provider using Adeli's Vercel Workflow-based publishing. Facebook and TikTok submit directly and then expose provider status. YouTube first streams the staged file to YouTube inside the initiating request (the page must stay open until acceptance), then exposes YouTube's processing status. X, Bluesky, and LinkedIn publish in the initiating request.

Editing and deleting posts are deliberately not part of the public API in v1, except deleting an X post or a Bluesky post.

Endpoints

GETList posts/api/v1/postsPosts from every account in a profile, newest first.POSTPrepare media uploads/api/v1/media/uploadsCreate short-lived direct S3 PUTs for post media.POSTPublish to several accounts/api/v1/publicationsPublish one post to several connected accounts at once.GETPublication status/api/v1/publications/{publicationId}Follow a publication's overall progress and each account's outcome.POSTRetry a publication/api/v1/publications/{publicationId}/retryRe-run only the accounts that failed.GETList publications/api/v1/publicationsScheduled posts, drafts, and past publications in a profile.PATCHUpdate a publication/api/v1/publications/{publicationId}Reschedule a scheduled publication or draft, or replace its post.POSTPublish a publication now/api/v1/publications/{publicationId}/publishPublish a scheduled publication or draft immediately.DELETECancel a publication/api/v1/publications/{publicationId}Cancel a scheduled publication or delete a draft.POSTPublish to Instagram/api/v1/postsPublish an Instagram image, Reel, Story, or carousel.GETInstagram publish status/api/v1/posts/instagram/statusPoll a staged Instagram publish until it completes or fails.GETList Instagram stories/api/v1/posts/instagram/storiesList an Instagram account's live stories, with when each expires.POSTPublish to Facebook/api/v1/postsPublish photos, a multi-photo post, a Reel, or a video to a Facebook Page.GETFacebook video status/api/v1/posts/facebook/statusCheck whether a Facebook Page video has finished publishing.GETTikTok creator info/api/v1/posts/tiktok/creator-infoWhat a TikTok creator currently allows, to read before a Direct Post.POSTPublish to TikTok/api/v1/postsPublish a TikTok video, photo, or carousel.GETTikTok publish status/api/v1/posts/tiktok/statusPoll a TikTok publish until it completes or fails.POSTPublish to YouTube/api/v1/postsUpload a YouTube video or Short from a URL or base64.POSTUpload YouTube file/api/v1/posts/youtubeUpload a YouTube video as a multipart file.GETYouTube upload status/api/v1/posts/youtube/statusPoll a YouTube upload until processing finishes.POSTPublish to X/api/v1/postsPublish an X post or thread, with text, media, or both.DELETEDelete X post/api/v1/posts/x/{postId}Delete a post from an X account.POSTPublish to Bluesky/api/v1/postsPublish a Bluesky post or thread, with up to four images or one video.POSTPublish to LinkedIn/api/v1/postsPublish text or one image to a connected LinkedIn profile or organization Page.DELETEDelete Bluesky post/api/v1/posts/bluesky/{postId}Delete a post from a Bluesky account.

Publish to several accounts at once

Publish to several accounts takes shared content and media plus one entry per account, validates each account's post exactly as the single-platform endpoints do, and publishes to all of them in the background. Upload each local file once with platforms naming every target platform, then follow the whole publication with one status URL and one progress number, and retry only the accounts that failed. Give it a scheduledFor to publish it later, or draft: true to save it, then list, reschedule, publish now, or cancel it.

Upload local media first

For every local image, GIF, video, carousel item, or thumbnail, call Prepare media uploads, PUT the raw files directly to the returned S3 URLs with the exact returned headers, and publish with { "upload_id": "..." } references. This avoids Vercel's 4.5 MB Function request-body limit. Legacy base64, public-URL, and multipart inputs remain compatible, but Adeli copies them into S3 internally and they are not recommended for large files.

Media limits

Instagram image8 MiB
Decoded, per image. JPEG, PNG, and WebP in; normalized to JPEG.
Instagram video300 MB
Stage MP4 for a Reel, Story, or carousel. Legacy inline base64 remains limited to 64 MiB decoded.
Instagram Reel3 sec–15 min
Meta allows up to 300 MB. Inline MP4 is still bounded by the 64 MiB JSON-media limit.
Instagram video Story3–60 sec
Meta allows up to 100 MB. Stories expire after 24 hours.
Instagram carousel2–10 items
Images, videos, or both. Reels cannot be children.
Facebook photo4 MiB
Decoded, per photo — lower than Instagram's limit. Meta rejects anything larger.
Facebook multi-photo2–10 photos
Facebook video4 GiB staged
MP4, MOV, or WebM. Legacy inline MP4 base64 remains limited to 64 MiB.
TikTok video (JSON)64 MiB
Decoded from base64, MP4 only.
TikTok video (multipart or URL)1 GB
MP4, MOV, or WebM; 3 seconds up to the creator's maximum duration. Remote URLs must be public HTTPS, and are fetched with private-network, redirect, timeout, and size protections.
TikTok photo20 MB
Per photo, 1–35 per post, normalized to JPEG at 1080×1920. Remote photo URLs are not accepted.
YouTube video4 GiB staged
MP4, MOV, or WebM. Legacy public URL and multipart inputs remain compatible.
YouTube thumbnail50 MB
JPEG or PNG; custom thumbnails need a verified channel.
X image5 MB
JPEG, PNG, or WebP, up to 4 per post. The file's bytes must match its content_type.
X GIF15 MB
One per post, alone.
X video512 MB
Stage MP4 or MOV. One per post, alone; legacy inline base64 remains constrained by the JSON body limit.
Bluesky image20 MB in, 2 MB posted
JPEG, PNG, or WebP, up to 4 per post. Larger than 2 MB is resized to JPEG; a resized PNG loses transparency.
Bluesky video100 MB
MP4 as base64 or from a public HTTPS URL. One per post, alone. Bluesky's own length and daily limits apply, read from Bluesky at upload time.
LinkedIn image20 MB
One JPEG, PNG, or GIF with fewer than 40 million pixels. The file's bytes must match its content_type.
JSON request body96 MiB
Beyond this the request is rejected with 413 before parsing.
Multipart request4 GiB
Total across all parts.

Staged upload references are the recommended form on POST /api/v1/posts for every provider. multipart/form-data on the shared route remains TikTok-only. Instagram uses JSON base64 or a public HTTPS video URL. YouTube file multipart uses its separate POST /api/v1/posts/youtube endpoint.

Errors

Beyond the shared codes in Errors:

unsupported_feature422
You sent scheduled_date, add_to_queue, or async_upload. Scheduling is deferred.
invalid_post_settings422
The privacy, comment, duet, or stitch setting is not available to this creator right now, or branded content was requested without public visibility. Re-query creator info.
media_url_unverified422
TikTok has not verified this deployment's media URL prefix, which every TikTok post needs.
privacy_level_unsupported422
A TikTok video asked for a privacy level other than PUBLIC_TO_EVERYONE. Publish it publicly, or send it as a MEDIA_UPLOAD draft.
rate_limited429
TikTok or LinkedIn is throttling the account or shared application. Retry after the returned delay when one is provided; Adeli does not automatically retry LinkedIn writes.
page_not_selected409
The Facebook connection exists but no Page has been chosen yet.
permission_required403
The connected credential is healthy but lacks this publish permission or resource. Restart the profile OAuth flow using the structured reconnect details.
quota_exhausted429
YouTube's daily API quota, shared by every Adeli customer, is used up. The message says when it resets: midnight Pacific.
upload_limit_exceeded422
The YouTube channel has reached YouTube's own upload limit, or the Bluesky account has reached its daily video limit or has not verified its email. Try again later.
provider_rejected422
YouTube refused the video's metadata, such as an unknown category_id.
x_billing_required402
The workspace is on Free, and X needs a paid plan. See X API pricing.
usage_limit_reached402
The workspace has sent its plan's posts: 10 in total on Free, or 10,000 this month on Starter. A publication is refused whole when its targets don't all fit. See Billing.
duplicate_post409
X refused the post because the account published the same text recently.
invalid_media422
Media is invalid base64, does not match its declared content_type, exceeds that provider's limit, or cannot be decoded. LinkedIn accepts one JPEG, PNG, or GIF image.
temporarily_unavailable503
X is unavailable to Adeli for a while. Retry later.
unsupported_media_type415
Content-Type must be application/json or multipart/form-data.

Publishing permission

Before inspecting, staging, uploading, or billing media, Adeli checks the selected account's publish scope and provider-confirmed identity/resource. A partial connection without that access returns 403 permission_required; use error.details.missingPermissions, missingResources, and reconnect to restart the profile's OAuth flow. An expired or revoked token remains a connection-expiry error.