Communities
Join a community
POST
/communities/:id/joinJoin 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.
| Auth | Login required |
|---|
Path parameters
idstringrequiredCommunity ID or slug.
Response
| Field | Type | Description |
|---|---|---|
member | CommunityMember | The created membership; status is PENDING for approval-based communities. |
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"}}