List content
Lists LinkedIn posts and comments
Authorizations
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
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.
^[1-9][0-9]*$Filter by content ID, to read one post or comment.
Filter by the author's contact ID, to read a contact's posts and comments found with POST /v1/contacts/{contact_id}/find-content.
^[1-9][0-9]*$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.
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.
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.
Page size. Defaults to 10. Values above 25 are clamped to 25.
1 <= x <= 25Opaque cursor from the previous response's pagination.next_cursor.
Response
Posts and comments matching the filters.