# Add player to community Add the player to the community with the membership status Endpoint: POST /v1/players/{playerId}/communities/{communityId} Version: 1.0 Security: bearerAuth ## Path parameters: - `playerId` (integer, required) - `communityId` (integer, required) ## Query parameters: - `member` (boolean, required) Community member status (true = member, false = non-member) ## Response 200 fields (application/json): - `playerId` (integer) Player Id Example: 15254 - `member` (boolean) Member of community Example: true - `firstName` (string) first name Example: "Bill" - `lastName` (string) last name Example: "Trabosh" - `suffix` (string) suffix Example: "III" - `gender` (string) Gender code Example: "M / F" - `handle` (string) Handle or nickname Example: "Founder" - `email` (string) Email address Example: "support@unknowngolf.com" - `dob` (string) Date of Birth Example: "1987-01-26" - `phoneCountryCd` (string) Country Code for the phone number Example: "US" - `phone` (string) Phone number Example: "5555555555" - `hcActive` (boolean) Flag if the player's world handicap is active Example: true - `hcProviderId` (integer) World Handicap Provider Id, reference the API for World Handicap Providers for the ids Example: 3 - `hcId` (string) World Handicap Id Example: "6585452" - `hcIndex` (number) World Handicap Index Example: 15.2 - `hcRevisionDt` (string) Handicap revision date Example: "2025-04-11" - `picUrl` (string) Profile Picture URL Example: "https://static.unknwongolf.com/example.gif" - `updatesAllowed` (boolean) Flag if updates to the player's personal information may be made through the Unknown Golf API If the player has already completed their profile on UnknownGolf.com, updates to the player's personal information listed below can only be performed by the player on Unknown Golf: - Name (First, Last, Suffix) - Email Address - World Handicap Id - Date of Birth - Phone Number Only updates are restricted, if the player does not currently have an attribute set then setting that attribute is allowed. Example, if the player does not have a phone number set, you can set the phone number for them. Example: true