Skip to main content
Endpoint: POST /check-community-member Description This endpoint checks if a specific user is a registered member of a given Twitter/X Community. This is vital for verifying access to gated content or community-only benefits. Who is it for?
  • Community Moderators: To verify if a user claiming to be a member actually belongs to the group.
  • Web3 Developers: For “Community-Gated” applications where only members of a specific Twitter Community can access certain features or mint NFTs.
  • Event Organizers: To limit event registrations to members of a verified professional community.
Use Cases
  • Granting Discord roles based on membership in a specific Twitter Community.
  • Gating a website’s content so only “Verified Community Members” can read it.
  • Verifying that a contest participant belongs to the “Official Brand Community.”
Request Example (Python)
import requests

url = "https://api.sorsa.io/v3/check-community-member"
headers = {"ApiKey": "YOUR_API_KEY"}
payload = {
    "community_id": "1966045657589813686",
    "user_link": "https://x.com/user_handle"
}

response = requests.post(url, json=payload, headers=headers)
# Returns {"is_member": true/false}
print(response.json())