Post to LinkedIn via API — Schedule, Publish, Analyze
Publish native video, images, and text to your LinkedIn profile from the dashboard or one API call — with public or connections-only visibility.
LinkedIn content types via API
Three post formats and visibility control. Company pages are coming soon.
post_type: videoUpload video natively to LinkedIn — performs significantly better in the algorithm than external video links.
post_type: imageSingle images or multi-image posts (up to 20 images) on your LinkedIn profile.
post_type: textLinkedIn text posts — up to 3,000 characters. Great for thought leadership, threads-style long-form content.
linkedin_page_idPosting to LinkedIn Company Pages you administer is waiting on LinkedIn's approval. Until then, posts go to your personal profile.
linkedin_visibilitySet PUBLIC for open reach or CONNECTIONS to limit the post to your 1st-degree connections only.
Image post with visibility
Publish an image post to your LinkedIn profile and set who can see it — without opening LinkedIn.
# Post to your LinkedIn profile
curl -X POST \
https://api.codivupload.com/v1/posts \
-H 'Authorization: Bearer YOUR_API_KEY' \
-d '{
"profile_name": "my-workspace",
"platforms": ["linkedin"],
"post_type": "image",
"description": "Q1 product roadmap preview",
"media_urls": ["https://cdn.example.com/roadmap.png"],
"linkedin_visibility": "PUBLIC" }'Getting started with LinkedIn
Connect your LinkedIn profile in under two minutes. CodivUpload uses LinkedIn's official OAuth 2.0 sign-in — no passwords stored, and you can revoke access from your LinkedIn settings at any time.
Connect via OAuth
Open the Integrations tab in your CodivUpload dashboard and click Connect LinkedIn. Sign in with your LinkedIn account and authorize the requested permissions. CodivUpload requests your basic profile (name, photo, email) and w_member_social — the minimum needed to publish on your behalf.
Your profile appears in the dashboard
After authorization, your LinkedIn profile shows up as a connected account in your CodivUpload profile, ready to select when you compose. Company Pages will be selectable here once LinkedIn approves them.
Pick your post type
From the compose screen, choose between Video, Image, or Text. Set your description, attach media, configure visibility (PUBLIC or CONNECTIONS), pick a scheduled time, and publish. The API accepts these same parameters in the request body.
LinkedIn content strategy
LinkedIn rewards professional, insightful content. The algorithm favors posts that spark meaningful conversations over viral clickbait. Here are the patterns that consistently perform well.
Article vs. post
Regular posts (up to 3,000 characters) appear in the feed and get immediate engagement. LinkedIn Articles are long-form content hosted on LinkedIn with their own URL — better for SEO and evergreen topics. CodivUpload supports feed posts; for articles, use LinkedIn's native editor and link to them from scheduled posts.
Hashtags: 3-5 maximum
LinkedIn's own data shows that 3-5 hashtags is the sweet spot. More than 5 can reduce organic reach. Mix one broad hashtag (#leadership) with two niche ones (#DevToolsStartup, #APIIntegration). Place them at the end of the post, not inline.
Peak hours: Tue-Thu, 8-10 AM
LinkedIn engagement peaks on Tuesday, Wednesday, and Thursday between 8:00 AM and 10:00 AM in your target audience's time zone. Early morning catches professionals during their commute and pre-meeting scroll. Use CodivUpload's scheduled_date parameter to hit these windows consistently.
Professional tone matters
LinkedIn's audience skews professional. Posts that share specific learnings, data points, or industry insights outperform generic motivational content. Lead with a strong first line — LinkedIn truncates after 3 lines with a “see more” link, so your hook needs to land immediately.
Schedule a document carousel
Upload a PDF to create a pageable carousel post on LinkedIn. Each page of the PDF becomes a swipeable slide in the feed — one of the highest-engagement formats on the platform.
All LinkedIn-specific parameters use the linkedin_ prefix. See the full API reference for every supported parameter.
# Post a PDF carousel to LinkedIn
curl -X POST \
https://api.codivupload.com/v1/posts \
-H 'Authorization: Bearer YOUR_API_KEY' \
-H 'Content-Type: application/json' \
-d '{
"profile_name": "my-workspace",
"platforms": ["linkedin"],
"post_type": "document",
"description": "5 lessons from scaling to 10K users",
"media_urls": [
"https://cdn.example.com/deck.pdf"
],
"linkedin_visibility": "PUBLIC",
"scheduled_date": "2026-04-08T08:30:00Z" }'Related guides
How to cross-post to 10+ platforms at once
Learn how to compose a single post and distribute it across LinkedIn, Facebook, Instagram, X, TikTok, YouTube, Threads, Bluesky, and Pinterest simultaneously.
5 scheduling mistakes that kill engagement
Common timing and frequency mistakes when scheduling LinkedIn posts, and how to use CodivUpload's scheduling features to avoid them.
Start posting to LinkedIn for free
2 profiles, 10 uploads/mo on the free plan. Upgrade for unlimited.