Skip to main content
POST
/
check-member
/check-member Checks if a given user is a member of a specified community.
curl --request POST \
  --url https://api.sorsa.io/v2/check-member \
  --header 'ApiKey: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "community_id": "1966045657589813686",
  "user_handle": "twitter",
  "user_id": "<string>"
}
'
{
  "is_member": true
}

Authorizations

ApiKey
string
header
required

Body

application/json

community_id and user_handle or user_id required

community_id
string
required
Example:

"1966045657589813686"

user_handle
string
Example:

"twitter"

user_id
string

Response

OK

is_member
boolean