Verification

Check Community Membership

Changed on

Checks whether a specific user is a member of a given Twitter/X Community. Returns is_member: true if the user belongs to that community. Requires community_id or community_link and one user identifier (username, user_link, or user_id). community_id takes precedence; both community fields accept an ID or community URL.

post/check-community-member

Request

Request body

community_idstring

Community ID or URL. Takes precedence over community_link.

community_linkstring

Community URL or ID. Required when community_id is absent.

user_idstring
user_linkstring
usernamestring

Example request

{
  "community_id": "1966045657589813686",
  "community_link": "https://x.com/i/communities/1966045657589813686",
  "user_link": "https://twitter.com/elonmusk",
  "username": "elonmusk"
}

Response

OK

is_memberboolean

true if the user is a member of the specified community.

Changes

    • info

      added the new optional request property

    • info

      the request property became optional