Communities
Community chat room
GET
/communities/:id/chat-roomGet the community's chat room, creating it if it does not exist. Members only.
| Auth | Login required |
|---|
Path parameters
idstringrequiredCommunity ID or slug.
Response
| Field | Type | Description |
|---|---|---|
chatRoom | ChatRoom | null | The community's chat room, or null when chat is disabled. |
Request
curl https://api.4s.link/communities/ID/chat-room \-H "Authorization: Bearer 4s_at_..."
Example response
{"chatRoom": {"id": "r1a2b3c4-...","type": "GROUP","name": "Tech Community","communityId": "c1a2b3c4-..."}}