Skip to main content
POST
/
v2
/
content
Create Company 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": {
    "company_url": "<string>",
    "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_company",
    "account_id": "your-account-id",
    "credits_consumed": 1,
    "timestamp": "2026-03-24T12:00:00Z"
  }
}

Overview

Create a post on a company page. The authenticated account must be an admin of the specified company page.
This endpoint consumes 1 credit per request.
You must be an admin of the company page to create posts on its behalf.

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_company".
params
object
required

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_company",
    "account_id": "your-account-id",
    "credits_consumed": 1,
    "timestamp": "2026-03-24T12:00:00Z"
  }
}