Skip to main content
POST
/
v2
/
content
Create Post
curl --request POST \
  --url https://api.example.com/v2/content \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <x-api-key>' \
  --data '
{
  "account_id": "<string>",
  "action": "<string>",
  "params": {
    "message": "<string>",
    "file": {
      "filename": "<string>",
      "data": "<string>"
    },
    "files": [
      {
        "filename": "<string>",
        "data": "<string>",
        "altText": "<string>"
      }
    ]
  }
}
'
{
  "success": true,
  "data": {
    "post_url": "https://www.linkedin.com/feed/update/urn:li:activity:7654321098765432100",
    "post_urn": "urn:li:activity:7654321098765432100"
  },
  "metadata": {
    "action": "create",
    "account_id": "your-account-id",
    "credits_consumed": 1,
    "timestamp": "2026-03-24T12:00:00Z"
  }
}

Overview

Create a post from the authenticated account. Supports plain text posts, single image or video attachments, and multi-image carousels.
This endpoint consumes 1 credit per request.

Request

x-api-key
string
required
Your API key for authentication.
account_id
string
required
The unique identifier of the account to use.
action
string
required
Must be "create".
params
object

Response

success
boolean
Indicates whether the request was successful.
data
object
The created post data.
metadata
object
{
  "success": true,
  "data": {
    "post_url": "https://www.linkedin.com/feed/update/urn:li:activity:7654321098765432100",
    "post_urn": "urn:li:activity:7654321098765432100"
  },
  "metadata": {
    "action": "create",
    "account_id": "your-account-id",
    "credits_consumed": 1,
    "timestamp": "2026-03-24T12:00:00Z"
  }
}