---
title: "POST /api/channel-actions/search-posts"
method: POST
path: "/api/channel-actions/search-posts"
tags: ["channel-actions"]
---

# POST /api/channel-actions/search-posts

`POST /api/channel-actions/search-posts`

## Request

- Base URL: `https://app.heykairon.com` (the document declares no server; this is the origin it was published from)
- URL: `https://app.heykairon.com/api/channel-actions/search-posts`
- Auth: API key in header `x-api-key`

## Request body

- SearchPostsDto
  - `datePosted` 'past-24h' | 'past-week' | 'past-month': One of LinkedIn's own recency windows.
  - `sortBy` 'relevance' | 'date': Result order. Defaults to relevance.
  - `contentType` 'videos' | 'images' | 'live_videos' | 'collaborative_articles' | 'documents': Only posts carrying this kind of attachment.
  - `firstDegreeOnly` boolean: Only posts by the seat's 1st-degree connections.
  - `postedByMe` boolean: Only the seat's own posts.
  - `postedByFollowed` boolean: Only posts by people the seat follows.
  - `fromMember` string[]: Author NAMES — only posts written by these people.
  - `fromCompany` string[]: Company NAMES — only posts published by these pages.
  - `mentioningMember` string[]: Only posts that @-mention these people, by NAME.
  - `mentioningCompany` string[]: Only posts that @-mention these companies, by NAME.
  - `authorIndustry` string[]: Industry NAMES — only posts whose AUTHOR works in one of them.
  - `authorCompany` string[]: Company NAMES — only posts whose AUTHOR works at one of them.
  - `authorKeywords` string: Free text matched against the AUTHOR's profile, e.g. a job title.
  - `keywords` string, required: Text matched against the post body. Boolean OR/AND/NOT allowed.
  - `cursor` string

## Response `200`

---

[API](https://skmtc.dev/heykairon/apis/kairon-api.md) · [All operations](https://skmtc.dev/heykairon/apis/kairon-api/llms.txt) · [OpenAPI document](https://skmtc.dev/heykairon/apis/kairon-api/revisions/35de550d5938?raw)
