Skip to main content
POST
Publish Content
Publish content to one or more connected social channels. Provide the asset (image URL, video URL, or both), a caption, and the target accountIds from the list-channels endpoint. You must provide at least one of imageUrl, videoUrl, or caption. Use the publish-history endpoint to track the status of past publishes.

Authorizations

x-api-key
string
header
required

Workspace API key. Prefix: lma_. Example: lma_abc123...

Body

application/json
accountIds
string<uuid>[]
required

Channel IDs to publish to (from GET /v1/publishing/channels).

imageUrl
string<uri> | null

URL to a publicly accessible image to publish.

videoUrl
string<uri> | null

URL to a publicly accessible video to publish.

caption
string | null

Post caption or text content.

Response

Publish results per account

data
object

Publish result with per-account status.