{
  "info": {
    "name": "LinkedIn — mcp.ai",
    "description": "REST API for the LinkedIn MCP. Set {{apiKey}} to a workspace key (sk_live_…) created at https://mcp.ai/settings/api-keys.",
    "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json"
  },
  "auth": {
    "type": "bearer",
    "bearer": [
      {
        "key": "token",
        "value": "{{apiKey}}",
        "type": "string"
      }
    ]
  },
  "variable": [
    {
      "key": "baseUrl",
      "value": "https://api.mcp.ai/api/linkedin",
      "type": "string"
    },
    {
      "key": "apiKey",
      "value": "sk_live_...",
      "type": "string"
    }
  ],
  "item": [
    {
      "name": "linkedin_create_linked_in_post",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/create/linked/in/post",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "create",
            "linked",
            "in",
            "post"
          ]
        },
        "description": "Creates a new post on linkedin for the authenticated user or an organization they manage; ensure the user has necessary permissions if posting for an organization.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"author\": \"\",\n  \"commentary\": \"\",\n  \"visibility\": \"\",\n  \"distribution\": {},\n  \"lifecycleState\": \"\",\n  \"isReshareDisabledByAuthor\": false\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "linkedin_delete_linked_in_post",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/delete/linked/in/post",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "delete",
            "linked",
            "in",
            "post"
          ]
        },
        "description": "Deletes a specific linkedin post (share) by its unique `share id`, which must correspond to an existing share.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"share_id\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "linkedin_get_company_info",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/get/company/info",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "get",
            "company",
            "info"
          ]
        },
        "description": "Retrieves organizations where the authenticated user has specific roles (acls), to determine their management or content posting capabilities for linkedin company pages.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"role\": \"\",\n  \"count\": 0,\n  \"start\": 0,\n  \"state\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "linkedin_get_my_info",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/get/my/info",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "get",
            "my",
            "info"
          ]
        },
        "description": "Fetches the authenticated linkedin user's profile, notably including the 'author id' required for attributing content such as posts or articles.",
        "body": {
          "mode": "raw",
          "raw": "{}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    }
  ]
}