LinkedIn Posts API
Official LinkedIn Posts API profile. Create a LinkedIn developer app, configure the appropriate Community Management product and permissions, complete OAuth 2.0 authorization, and send Authorization: Bearer TOKEN. Include Linkedin-Version in YYYYMM format and X-Restli-Protocol-Version: 2.0.0 on every request. Member and organization posts use different scopes and authorization checks; deprecated Marketing API versions must not be substituted for the current Posts API.
Connect this API to an AI agent Browse all specs
What you can do with LinkedIn Posts API via MCP
Every endpoint below becomes a governed tool your AI agent (Claude, ChatGPT, or a customer-facing VX agent) can call — with scoped permissions, sandbox testing, and audit logs.
| Method | Path | Operation | Description |
|---|---|---|---|
| GET | /rest/posts |
list_linkedin_posts | List posts Method: GET Path: /rest/posts IMPORTANT: This function has 2 REQUIRED parameter(s) and 2 OPTIONAL parameter(s) REQUIRED parameters MUST be provided OPTIONAL parameters can be omitted if not needed Parameters: Header Parameters: REQUIRED: - Linkedin-Version: API version in YYYYMM format, for example 202607 - X-Restli-Protocol-Version: Rest.li protocol version; use 2.0.0 Query Parameters: OPTIONAL: - author: Author URN filter - q: Query mode, normally author |
| POST | /rest/posts |
create_linkedin_post | Create a post Method: POST Path: /rest/posts IMPORTANT: This function has 5 REQUIRED parameter(s) and 1 OPTIONAL parameter(s) REQUIRED parameters MUST be provided OPTIONAL parameters can be omitted if not needed Parameters: Header Parameters: REQUIRED: - Linkedin-Version: API version in YYYYMM format, for example 202607 - X-Restli-Protocol-Version: Rest.li protocol version; use 2.0.0 Request Body: REQUIRED: - author: Member or organization URN. - commentary: commentary parameter from application/json - visibility: visibility parameter from application/json OPTIONAL: - content: content parameter from application/json |
| GET | /rest/posts/{post-id} |
get_linkedin_post | Read a post Method: GET Path: /rest/posts/{post-id} IMPORTANT: This function has 3 REQUIRED parameter(s) and 0 OPTIONAL parameter(s) REQUIRED parameters MUST be provided OPTIONAL parameters can be omitted if not needed Parameters: Header Parameters: REQUIRED: - Linkedin-Version: API version in YYYYMM format, for example 202607 - X-Restli-Protocol-Version: Rest.li protocol version; use 2.0.0 Path Parameters: REQUIRED: - post-id: LinkedIn post identifier |
| PATCH | /rest/posts/{post-id} |
update_linkedin_post | Update a post Method: PATCH Path: /rest/posts/{post-id} IMPORTANT: This function has 4 REQUIRED parameter(s) and 0 OPTIONAL parameter(s) REQUIRED parameters MUST be provided OPTIONAL parameters can be omitted if not needed Parameters: Header Parameters: REQUIRED: - Linkedin-Version: API version in YYYYMM format, for example 202607 - X-Restli-Protocol-Version: Rest.li protocol version; use 2.0.0 Path Parameters: REQUIRED: - post-id: LinkedIn post identifier Request Body: REQUIRED: - patch: Rest.li patch document. |
| DELETE | /rest/posts/{post-id} |
delete_linkedin_post | Delete a post Method: DELETE Path: /rest/posts/{post-id} IMPORTANT: This function has 3 REQUIRED parameter(s) and 0 OPTIONAL parameter(s) REQUIRED parameters MUST be provided OPTIONAL parameters can be omitted if not needed Parameters: Header Parameters: REQUIRED: - Linkedin-Version: API version in YYYYMM format, for example 202607 - X-Restli-Protocol-Version: Rest.li protocol version; use 2.0.0 Path Parameters: REQUIRED: - post-id: LinkedIn post identifier |
Usage guide
## Authentication Official LinkedIn Posts API profile. Create a LinkedIn developer app, configure the appropriate Community Management product and permissions, complete OAuth 2.0 authorization, and send Authorization: Bearer TOKEN. Include Linkedin-Version in YYYYMM format and X-Restli-Protocol-Version: 2.0.0 on every request. Member and organization posts use different scopes and authorization checks; deprecated Marketing API versions must not be substituted for the current Posts API. ## Endpoint coverage This listing contains 2 documented path(s) and 5 operation(s). Review each operation's required OAuth scope or token type before use. ## Official documentation [LinkedIn developer documentation](https://learn.microsoft.com/en-us/linkedin/marketing/community-management/shares/posts-api?view=li-lms-2026-07)
How to use this spec
- Create a free VX Agents account (sandbox tools included).
- Open the marketplace and connect “LinkedIn Posts API” to an agent.
- Expose it as an MCP server for Claude/ChatGPT, or chat with it directly.