UnifAPI Docs
Linkedin

Get a LinkedIn post by ID

GET
/linkedin/posts/{id}

Authorization

bearerAuth
AuthorizationBearer <token>

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

In: header

Path Parameters

id*string
Length1 <= length

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/posts/string"
{
  "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
  }
}
{
  "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
    ]
  }
}