# Search events Search the events within a community Endpoint: GET /v1/events Version: 1.0 Security: bearerAuth ## Request fields (application/json): - `communityId` (integer, required) Community Id Example: 19564 - `forPlayerId` (integer) Events viewable for this player Example: 287 - `forRegisteredPlayer` (boolean) Events where this player is (or is NOT) registered (Signed Up) to participate. True = Events registered, False = Events not registered, null = All events Example: true - `eventIds` (array) List of Event Ids Example: "[M-4, S-2445, S-2434]" - `courseIds` (array) Course Ids Example: [4,2445,2434] - `startDateFrom` (string) Start Date is on or after this date Example: "2025-01-27" - `startDateTo` (string) Start Date is on or before this date Example: "2025-01-27" - `endDateFrom` (string) End Date is on or after this date Example: "2025-01-27" - `endDateTo` (string) End Date is on or before this date Example: "2025-01-27" - `sortAsc` (boolean) Sort by Date Ascending (Default is Descending) - `maxResults` (integer) Max number of results Example: 100 ## Response 200 fields (application/json): - `communityId` (integer) Community Id Example: 19564 - `communityName` (string) Community Name Example: "19564" - `eventId` (string) Event Id Example: "M-432" - `name` (string) Name Example: "Member / Member" - `courseId` (integer) Course Id Example: 2434 - `courseName` (string) Course Name Example: "2434" - `city` (string) City Example: "Lantana" - `state` (string) State Example: "TX" - `startDate` (string) Start Date Example: "2025-01-27" - `endDate` (string) End Date Example: "2025-01-27" - `info` (string) Info Example: "TX" - `locked` (boolean) Locked Example: true