Skip to main content
POST
/
v1
/
posts
/
create
Create Post
curl --request POST \
  --url https://api.linkupapi.com/v1/posts/create \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <x-api-key>' \
  --data '{
  "message": "<string>",
  "login_token": "<string>",
  "country": "<string>",
  "file": "<string>",
  "files": [
    {}
  ]
}'
{
  "status": "success",
  "message": "Post created successfully"
}
Create a new post on LinkedIn with text content and an optional image attachment.
This endpoint costs 1 credit per request.

Header Parameters

x-api-key
string
required
Your API key

Body Parameters

message
string
required
Text content of the post
login_token
string
required
LinkedIn authentication cookie obtained from the login/verify process
country
string
default:"FR"
Country code for proxy selection. Available: (US, UK, FR, DE, NL, IT, IL, CA, BR, ES, IN)
file
string
Optional image file URL. Direct link to the image file you want to attach to the post.
files
array
Optional multiple image file URLs for creating carousel posts. Array of direct links to image files.

Response

status
string
Request status (success/error)
message
string
Detailed status message about the post creation
{
  "status": "success",
  "message": "Post created successfully"
}

Notes

Post Settings

  • Default post visibility is set to “ANYONE” (public)
  • Comments are enabled for all users by default

Image Requirements

  • Image must be provided as a direct URL to the file
  • Supported formats:
    • PNG
    • JPEG/JPG
    • Other LinkedIn-supported image formats
  • Image restrictions:
    • Must comply with LinkedIn’s maximum file size limits
    • Should meet LinkedIn’s dimension requirements

Features

  • Text content with no formatting
  • Single image attachment support via URL
  • Multiple images support for carousel posts
  • Comments enabled by default

Automatic Handling

  • Image download and upload process
  • Post metadata creation
  • Visibility and sharing options configuration

Limitations & Guidelines

  • Subject to LinkedIn’s posting frequency limits
  • Must comply with LinkedIn’s content policies
  • Media upload size and format restrictions apply