/social/share/endorse/{shareid}/{communityid}/{isendorsed}
...
communityid (required)
Community ID for which to endorse, can also be a regex (community ID - regex) provided that matches only a single community.
isendorsed (required)
"true" or "false"
Example
...