Check Membership
This endpoint allows you to check the relationship between a user profile (profilId) and a professional entity (proProfilId).
It is designed for permission checks. Before allowing a user to perform sensitive actions (like editing the profile or posting an opportunity) or rendering specific UI elements, you can call this endpoint to confirm their membership status and retrieve their assigned role (e.g., admin, member).
X-API-Key<token>
In: header
Path Parameters
proProfilId*string
memberid*string
Response Body
application/json
curl -X GET "https://example.com/proprofils/string/members/string/check"{ "type": "string", "code": "string", "message": "string", "data": { "isMember": true, "role": "string" }, "status": 0}