Join a community

POST/communities/:id/join

Join a community. With joinType FREE_JOIN the membership becomes APPROVED immediately; with APPROVAL_REQUIRED it becomes PENDING. INVITATION_ONLY communities cannot be joined this way.

AuthLogin required

Path parameters

idstringrequired

Community ID or slug.

Request
curl https://api.4s.link/communities/ID/join \
-X POST \
-H "Authorization: Bearer 4s_at_..."
Example response
{
"member": {
"id": "cm1a2b3c-...",
"role": "MEMBER",
"status": "APPROVED"
}
}