# Search events

`needleSearchEvents`

Search a page of events. Filter by campaign, lead, enrollment, account, type, channel, or date. Use nextCursor as cursor for the next page.

**Input**

- `types` (string[], optional)
- `channel` ("linkedin" | "instagram", optional)
- `campaignId` (string · uuid, optional)
- `leadId` (string · uuid, optional)
- `enrollmentId` (string · uuid, optional): Only events recorded for this campaign enrollment.
- `accountId` (string · uuid, optional)
- `actorUserId` (string · uuid, optional): Only events caused by this member: what they sent, approved or stopped, and what campaigns they started sent.
- `from` (string · date, optional)
- `to` (string · date, optional)
- `cursor` (string, optional)
- `limit` (integer, optional)
