Skip to main content
GET
List content

Authorizations

Authorization
string
header
required

Pass Authorization: Bearer <credential>, where the credential is either:

  • an API key (sk_…), generated by an organization admin in Settings, for scripts and automation;
  • an access token from tth auth login (the TalkToHumans CLI), which any member of the workspace can use.

Both resolve to the same organization and user. A login token acts in the user's workspace: one with no workspace yet returns 403 workspace_setup_required, and one in several workspaces returns 403 forbidden (use an API key instead).

Query Parameters

account_id
string[]

LinkedIn account IDs returned by GET /v1/accounts.

Repeat the query parameter for multiple accounts. The backend also accepts comma-separated values. If an explicit account target is not accessible to this credential, the API returns 403 account_shared_access_required.

Pattern: ^[1-9][0-9]*$
content_id
string

Filter by content ID, to read one post or comment.

contact_id
string

Filter by the author's contact ID, to read a contact's posts and comments found with POST /v1/contacts/{contact_id}/find-content.

Pattern: ^[1-9][0-9]*$
view_id
string

Filter by a saved content view. Accepts the view id or an unambiguous public_id from GET /v1/views. Uses the view's account and filters. An explicit account_id scope must include that account.

filters
string

JSON array of filters content must all match, in the same shape as a content view's filters. Content fields (content.): content_type, media_type, text, author, posted_at, reaction_count, comment_count, repost_count, source, tags. Requires exactly one account: pass one account_id when several are accessible.

sorts
string

JSON array of sorts, first entry first, in the same shape as a content view's sorts. Newest first by default. Requires exactly one account.

limit
integer
default:10

Page size. Defaults to 10. Values above 25 are clamped to 25.

Required range: 1 <= x <= 25
cursor
string

Opaque cursor from the previous response's pagination.next_cursor.

Response

Posts and comments matching the filters.

data
object
required