# Search LinkedIn posts

### Search LinkedIn posts

`POST /api/v1/linkedin/posts/search`

Operation ID: `searchLinkedinPosts`

Post search by keywords or a post search URL, one or the other. Each hit carries the postId used by the post, comment and reaction endpoints.

**Request body** (required)

- `connectedAccountId` (string · uuid, required): Connected account to act as
- `keywords` (string, optional)
- `searchUrl` (string · uri, optional): A search URL copied from LinkedIn, searching for the same kind of entity this endpoint returns. Filters carried in the URL take precedence.
- `cursor` (string, optional)
- `limit` (integer, optional): Page size, capped at 49 for a post keyword search. Use cursor for the next page.

**200**: Posts and an optional cursor.

- `posts` (object[], required)
- `cursor` (string | null, required)

**Errors**

- `400`: Bad request
- `401`: Unauthorized: missing or invalid API key
- `403`: Forbidden
- `404`: Not found
- `422`: Invalid request payload
