Openpieces logoopenpieces
Back to marketplace

linkedin-publisher

ACTION

Publishes text posts to a LinkedIn profile via the LinkedIn Posts API (POST /rest/posts). Uses LINKEDIN_ACCESS_TOKEN and LINKEDIN_PERSON_URN secrets.

Sydney0 installs0 starsPublished 5/3/2026 · 28d ago

Endpoints

· 4
POST/publish

Input Schema

{
  "type": "object",
  "required": [
    "post_content"
  ],
  "properties": {
    "access_token": {
      "type": "string",
      "description": "Optional override token; if omitted, uses LINKEDIN_ACCESS_TOKEN secret"
    },
    "post_content": {
      "type": "string",
      "description": "Full text of the LinkedIn post"
    }
  }
}
GET/status
GET/me
POST/publish-carousel

Input Schema

{
  "type": "object",
  "required": [
    "slides"
  ],
  "properties": {
    "slides": {
      "type": "array",
      "items": {
        "type": "object",
        "required": [
          "title",
          "body"
        ],
        "properties": {
          "body": {
            "type": "string",
            "description": "Slide body text"
          },
          "title": {
            "type": "string",
            "description": "Slide title"
          },
          "bulletPoints": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "maxItems": 5,
            "description": "Optional bullet points (max 5)"
          }
        }
      },
      "maxItems": 10,
      "minItems": 1,
      "description": "Array of 1-10 slides, each with title, body, and optional bulletPoints"
    },
    "post_text": {
      "type": "string",
      "description": "Optional commentary text above the carousel"
    },
    "access_token": {
      "type": "string",
      "description": "Optional LinkedIn access token (uses LINKEDIN_ACCESS_TOKEN secret if not provided)"
    }
  }
}

Required Secrets

· 1
LINKEDIN_ACCESS_TOKEN

Similar ACTION Pieces