> ## Documentation Index
> Fetch the complete documentation index at: https://docs.posttu.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Get LinkedIn posts

> Get LinkedIn posts via Posttu's LinkedIn REST API (POST /api/v1/linkedin/posts/get) and MCP server.



## OpenAPI

````yaml openapi.json POST /api/v1/linkedin/posts/get
openapi: 3.1.0
info:
  title: Posttu API
  version: 1.0.0
  description: >-
    Posttu V1 REST API — Workflow automation, social-media post management,
    inbox, tags, and calendar.
servers:
  - url: https://posttu.com
    description: Production
security: []
paths:
  /api/v1/linkedin/posts/get:
    post:
      tags:
        - LinkedIn
      summary: Get LinkedIn posts
      description: |-
        Get LinkedIn posts
        Requires API key scope: `linkedin:read`.
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/LinkedinGetPostsInput'
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/LinkedinPostGetResponse'
        '401':
          description: Error response
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                required:
                  - error
      security:
        - ApiKeyAuth: []
components:
  schemas:
    LinkedinGetPostsInput:
      type: object
      properties:
        channelId:
          type: string
          description: LinkedIn channel ID
          example: ch_li123
        postId:
          type: array
          items:
            type: string
        enrichMedia:
          type: boolean
      required:
        - channelId
        - postId
    LinkedinPostGetResponse:
      type: object
      properties:
        success:
          type: boolean
          description: Success status
        data:
          $ref: '#/components/schemas/LinkedinBatchPostsResponse'
      required:
        - success
        - data
    LinkedinBatchPostsResponse:
      type:
        - object
        - 'null'
      properties:
        results:
          type: object
          additionalProperties:
            $ref: '#/components/schemas/LinkedinPostResponse'
        statuses:
          type: object
          additionalProperties:
            type: number
        errors:
          type: object
          additionalProperties: {}
      required:
        - results
        - statuses
        - errors
      description: The LinkedinBatchPostsResponse.
    LinkedinPostResponse:
      type: object
      properties:
        id:
          type: string
        author:
          type: string
        commentary:
          type: string
        visibility:
          type: string
        lifecycleState:
          type: string
        isReshareDisabledByAuthor:
          type: boolean
        createdAt:
          type: number
        lastModifiedAt:
          type: number
        publishedAt:
          type: number
        content:
          type: object
          properties:
            article: {}
            multiImage: {}
            ugcPostImage: {}
          additionalProperties: {}
        contentLandingPage:
          type: string
        reshareContext: {}
        adContext: {}
      required:
        - id
        - author
        - commentary
        - createdAt
        - lastModifiedAt
      additionalProperties: {}
  securitySchemes:
    ApiKeyAuth:
      type: http
      scheme: bearer
      description: 'Pass your API key via the Authorization header: `Bearer <api-key>`'

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.