Connect LinkedIn profile first
- 01
Open Accounts in 1Post and choose Connect.
- 02
Pick LinkedIn.
- 03
Sign in with LinkedIn and approve access for the profile you want to post to.
- 04
Choose the profile in 1Post. It is ready to pick in the composer.
Then GET /v1/accounts returns the id of the LinkedIn profile profile to use in the request.
Send a post to LinkedIn profile
curl https://api.get1post.com/v1/posts \
-H "Authorization: Bearer $ONEPOST_API_KEY" \
-H "Idempotency-Key: linkedin-first-post" \
-d '{"accounts":["ACCOUNT_ID"],"text":"We opened a second studio this week.","schedule_at":"2026-11-02T15:00:00Z"}'The reply is 202 with the post (status scheduled) and one destination for LinkedIn profile, which moves from queued to published or failed.
What you can send to LinkedIn profile
- Text
- Link with its own title and description
- Images
- One video
- First comment
What LinkedIn profile publishes
- The Posts API creates organic text, image, video, document, article, multi-image and poll posts. Carousels are not available for organic posts.
LinkedIn profile rules the request is checked against
| Rule | What 1Post checks |
|---|---|
| Text limit | 3,000 characters, counted by code points |
| Media accepted | Images, Video |
| Images per post | 20 |
| Videos per post | 1 |
| Images and video together | Not in one post |
| Threads | No |
| First comment | Yes |
| Posts per day, per connected account (1Post) | 50 |
The same table with sources is on the LinkedIn profile specs page.
LinkedIn profile options in the request
- First comment: add first_comment with text to an account object, and delay_min if it should wait.
Good to know for LinkedIn profile
A LinkedIn profile post can carry a link with its own card title and description: send linkUrl, linkTitle and linkDescription in the account's settings.
Check the post before it is queued
Add "dry_run": true to test a post: nothing is kept, a valid one answers 200 and a broken one answers 422 naming the rule.
{
"error": {
"code": "invalid_for_platform",
"message": "linkedin refuses this post: LinkedIn profile counts 3,032 of 3,000 characters in part 1. (text_too_long).",
"fix": "Fix the rule named in the message and send the post again.",
"retryable": false,
"request_id": "REQUEST_ID"
}
}An assistant connected to the MCP server sends the same fields to create_post; set one up.