posts
Create Post
Create a new LinkedIn post with optional image attachment
POST
Create a new post on LinkedIn with text content and an optional image attachment.
This endpoint costs 1 credit per request.
Header Parameters
Your API key
Body Parameters
Text content of the post
LinkedIn authentication cookie obtained from the login/verify process
Country code for proxy selection. Available: (US,UK,FR)
Optional image file URL. Direct link to the image file you want to attach to the post.
Response
Request status (success/error)
Detailed status message about the post creation
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
- 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