Skip to main content
GET
User Posts
Returns a PostList for the given user with cursor pagination. See Pricing for current prices. Where supported, get a quote for your request.

Example

Path parameters and required query parameters are documented in the operation reference.

Request contract

  • Method and path: GET /apis/v1/unipile/linkedin/users/{user_id}/posts
  • Availability: enabled
  • Request URL template: https://api.aisa.one/apis/v1/unipile/linkedin/users/{user_id}/posts
  • user_id: path; required
  • account_id: query; required
  • cursor: query; optional
  • is_company: query; optional
  • limit: query; optional
Complete OpenAPI definition Effective request declaration (including authentication and referenced schemas):

Cost and request rules

Published reference price: $0.01 USD per successful request. Your account price may differ; use a request quote where supported.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

user_id
string
required

The entity's provider internal id.
Linkedin: starts with ACo/ADo for users, while for companies it's a series of numbers.
Instagram: use the provider_id or the username of the user.

Query Parameters

account_id
string
required

The id of the account to perform the request from.

cursor
string

A cursor for pagination purposes. To get the next page of entries, you need to make a new request and fulfill this field with the cursor received in the preceding request. This process should be repeated until all entries have been retrieved.

Minimum string length: 1
is_company
boolean

Linkedin only Set it to "true" if the posts are from a company.

limit
integer

A limit for the number of items returned in the response. The value can be set between 1 and 100.

Required range: 1 <= x <= 100
Example:

100

Response

OK. Request succeeded.

cursor
string
required
items
object[]
required
object
enum<string>
required
Available options:
PostList
paging
object
required