Overview
Communities are public or private groups on X where members can share Posts, discuss topics, and connect around shared interests.By ID
Get details for a specific Community
Search
Find Communities by keyword
Endpoint
| Method | Endpoint | Description |
|---|---|---|
| GET | /2/communities/:id | Get Community by ID |
Response fields
| Field | Description |
|---|---|
id | Community ID |
name | Community name |
description | Community description |
created_at | Creation date |
member_count | Number of members |
is_private | Whether Community is private |
Example request
Getting started
Prerequisites
- An approved developer account
- A Project and App in the Developer Console
- Your App’s keys and tokens