Skip to main content
POST
Ask to post text

Authorizations

Authorization
string
header
required

An API key, created in Solara: the menu under your name, then API keys. Send it as Authorization: Bearer sol_live_…. It works while the workspace has agent access, within what its plan gives (the free plan included).

Headers

Idempotency-Key
string

Optional. It makes a retry safe: the same key and body within 24 h answer the first request, and make no second one

Maximum string length: 128

Body

application/json
platforms
string[] | null
required

facebook, linkedin, x, threads, bluesky or google_business: the platforms that take text alone (422 text_post_needs_media for another); one the workspace has switched off is 403, naming it

Required array length: 1 - 7 elements
text
string
required

The post's text, plain (no HTML), as the person reads it and as it posts: at most 3,000 characters with linkedin, 5,000 with facebook, 1,500 with google_business, 500 with threads, 300 with bluesky (as Bluesky counts them: an emoji is 1) and 280 with x (as X counts them: a link is 23)

Required string length: 1 - 6000
captions_by_platform
object

A platform's own caption, keys among platforms: that platform posts it instead of the shared caption, and its own comments (comments_by_platform, else the shared ones). Use it when one caption cannot fit every platform (X takes 280).

comments
object[] | null

What goes out under the post once it is live, plain text, shown to the person on the Approve page: Facebook and LinkedIn post the first as a comment, X, Threads and Bluesky every one, in order, as a thread; a Google Business Profile none (422 for more than one where no platform posts a thread). Absent: none

Maximum array length: 10
comments_by_platform
object

A platform's own comments (an X thread, a LinkedIn first comment), keys among platforms; that platform's caption is then its own too (captions_by_platform, else the shared one).

google_business
object

With google_business: an Update (absent is one), an Event or an Offer, and its button. The text is its description. Its location is the one the person chose in Solara

A link card: Facebook posts the url as its link and builds its own card; LinkedIn and Bluesky show the url, title and description; X and Threads post the url after the text; a Google Business Profile Update or Event without its own button gets a Learn more button to it

publish_at
string<date-time>

Absent: post as soon as the person approves; set: schedule for this time. A request whose time passes before it is approved expires

Response

OK

approve_url
string
required

Give it to the person: they approve or cancel in Solara, signed in. Not when auto_approved: then it is the post's page

auto_approved
boolean
required

The workspace's owner turned on auto-approval in Solara: this request was approved as it was prepared, in their name. Tell the person it is going out (and when); there is nothing to approve

expires_at
string<date-time>
required
request_id
string<uuid>
required
status
enum<string>
required

pending: it waits for the person. approved: the person turned on auto-approval in Solara, so it was approved as it was prepared and posts now or at publish_at (posted once it is out). failed: it was approved and could not post. cancelled: the same text post, asked a moment ago, was stopped in Solara

Available options:
pending,
approved,
posted,
cancelled,
failed
summary
object
required
note
string

Why a request waits for the person although auto-approval is on: the workspace's posts approved automatically in the last 24 hours are at the limit. Give them the approval link. Absent otherwise

review_url
string

The page listing every request waiting for the person, to approve each or all at once (the planned week, agent_post_planning): give it once for a week of posts. Absent where the workspace has none, or when this one was auto_approved