Community member check

Overview

This endpoint enables you to verify whether a user belongs to a community. Unlike most of the endpoints, this one can be called on any communities, even if you are not an admin of it.

API Reference

Check if the user is a member of the community

POSThttps://api-v2.zealy.io/public/communities/{subdomain}/member
Path parameters
subdomain*string
Header parameters
Body

Body

userId*string (uuid)
Response

200

Request
const response = await fetch('https://api-v2.zealy.io/public/communities/{subdomain}/member', {
    method: 'POST',
    headers: {
      "Content-Type": "application/json"
    },
    body: JSON.stringify({
      "userId": "123e4567-e89b-12d3-a456-426614174000"
    }),
});
const data = await response.json();

Last updated