Posts

Publish to LinkedIn

Publish text or one image to a connected LinkedIn profile or organization Page.

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

LinkedIn publishing is a private preview. Connect a LinkedIn account first: either the member's personal profile or an organization Page they administer. Then publish commentary, one image, or both. The post is public and LinkedIn publishes it synchronously.

Development Tier

LinkedIn is available only in development and beta while Adeli has Community Management Development Tier access. The shared app is limited to 500 calls per day and each member to 100 calls per day. It is not enabled in production.

Body

platform"linkedin"Required
accountIduuidRequired
A connected LinkedIn account in your workspace: a personal profile or an organization Page.
profileIduuid
Optional because accountId names its profile. If both are sent, they must agree.
commentarystringRequired
The public post text. Send "" for an image-only post.
imageobject
One { content_type, base64, title? } image. The content type is image/jpeg, image/png, or image/gif; decoded size is at most 20 MB and the image must contain fewer than 40 million pixels.

For an image post, add:

json
{
  "image": {
    "content_type": "image/png",
    "base64": "iVBORw0KGgo…",
    "title": "Product update"
  }
}

Adeli does not automatically retry post creation: if LinkedIn's answer is ambiguous, retrying could publish a duplicate. An expired connection returns connection_expired; reconnect the account before publishing again.