UnifAPI Docs
Linkedin

List posts published by a LinkedIn company page

GET
/linkedin/companies/{slug}/posts

Authorization

bearerAuth
AuthorizationBearer <token>

UnifAPI API key (forwarded verbatim as the upstream provider token).

In: header

Path Parameters

slug*string
Length1 <= length

Query Parameters

cursor?string

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/linkedin/companies/string/posts"
{
  "items": [
    {
      "id": "string",
      "share_urn": "string",
      "post_type": "string",
      "text": "string",
      "url": "string",
      "create_time": 0,
      "created_at": "string",
      "like_count": 0,
      "comment_count": 0,
      "share_count": 0,
      "reactions": [
        {
          "type": "string",
          "count": 0
        }
      ],
      "author": {
        "id": "string",
        "urn": "string",
        "username": "string",
        "display_name": "string",
        "headline": "string",
        "url": "string",
        "avatar_url": "string",
        "account_type": "string",
        "follower_count": 0
      },
      "content": {
        "property1": null,
        "property2": null
      }
    }
  ],
  "has_more": true,
  "next_cursor": "string"
}
{
  "error": {
    "type": "validation_error",
    "message": "string",
    "request_id": "string",
    "issues": [
      null
    ]
  }
}
{
  "error": {
    "type": "validation_error",
    "message": "string",
    "request_id": "string",
    "issues": [
      null
    ]
  }
}
{
  "error": {
    "type": "validation_error",
    "message": "string",
    "request_id": "string",
    "issues": [
      null
    ]
  }
}
{
  "error": {
    "type": "validation_error",
    "message": "string",
    "request_id": "string",
    "issues": [
      null
    ]
  }
}
{
  "error": {
    "type": "validation_error",
    "message": "string",
    "request_id": "string",
    "issues": [
      null
    ]
  }
}
{
  "error": {
    "type": "validation_error",
    "message": "string",
    "request_id": "string",
    "issues": [
      null
    ]
  }
}
{
  "error": {
    "type": "validation_error",
    "message": "string",
    "request_id": "string",
    "issues": [
      null
    ]
  }
}