Documentation menu
Posts

Publish to Facebook

Publish photos, a multi-photo post, a Reel, or a video to a Facebook Page.

POSThttps://app.tryadeli.com/api/v1/posts
AuthorizationBearer <API key>How keys work

For local media, first prepare direct uploads and use { "upload_id": "..." } for each photo or video. Legacy base64 remains accepted and is staged internally before Meta receives an Adeli CloudFront URL.

Four shapes, chosen by which media field you send rather than by a kind string, so an impossible combination cannot be expressed. As with Instagram, media is staged on Adeli's HTTPS media host because Meta fetches it by URL.

platform"facebook"Required
accountIduuidRequired
A connected Facebook Page in your organization.
messagestring
Up to 2200 characters. The caption shown with the post.
imageobject
One photo — contentType and base64. Publishes synchronously.
imagesobject[]
2–10 photos, published as one multi-photo post. Synchronous.
reelobject
One vertical video, published as a Reel. Asynchronous.
videoobject
One video, published to the Page feed. Asynchronous.
titlestring
Only valid alongside video. Up to 255 characters.

A photo response is the same normalized post Instagram returns, with platform: "facebook". A Reel or feed video returns 202 with a publishId; pass it to Facebook video status.

A Page must be chosen first

A Facebook account in pending_page_selection has no Page token and cannot publish. Every write against it returns 409 page_not_selected until your customer picks a Page. See Connect.