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

# Get LinkedIn Posts

> Retrieve LinkedIn posts or articles by their direct URLs.



## OpenAPI

````yaml /api-reference/v1/v1.1.0_openapi.json post /action/get_linkedin_posts
openapi: 3.0.0
info:
  version: 1.1.0
  title: AI Actions - Get Data
  description: API specifications for 'Get Data' category AI actions.
  license:
    name: MIT
servers:
  - url: https://api-lr.agent.ai/v1
security:
  - bearerAuth: []
paths:
  /action/get_linkedin_posts:
    post:
      tags:
        - Social Media & Online Presence
      summary: Get LinkedIn Posts
      description: Retrieve LinkedIn posts or articles by their direct URLs.
      operationId: getLinkedinPosts
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                post_urls:
                  type: string
                  format: textarea
                  description: LinkedIn post or article URLs, comma or newline separated.
                  example: >-
                    https://www.linkedin.com/pulse/getting-value-out-sunburst-author
              required:
                - post_urls
      responses:
        '200':
          description: LinkedIn posts data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ActionResponse'
        '400':
          description: Bad request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
components:
  schemas:
    ActionResponse:
      type: object
      properties:
        status:
          type: integer
          format: int32
          description: HTTP status code of the action response
        response:
          type: object
          description: Response data from the action
    ErrorResponse:
      type: object
      properties:
        status:
          type: integer
          format: int32
          description: HTTP status code
        error:
          type: string
          description: Human-readable error message
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: >-
        Bearer token from your account
        ([https://agent.ai/user/integrations#api](https://agent.ai/user/integrations#api))

````