Publish posts directly to Twitter/X Communities using the Publer API. This feature enables you to reach targeted audiences and participate in focused discussions within X Communities—right from your own app or workflow.
Twitter/X Communities are spaces for people to connect, share, and discuss specific topics. Posts made in a Community are visible to anyone on X, but only Community members can engage (like, reply, etc.) with them.
You can only post to Communities you have joined.
Community posts help foster deeper engagement on niche topics or interests.
To publish a post inside a Twitter/X Community via the API, you need:
The Community ID (found in the X Community URL: https://x.com/i/communities/{COMMUNITY_ID}
)
The Community Name (for reference and clarity)
Publer detects your Community membership and allows post publishing to those Communities.
Set the community
object inside the details
for the twitter
network configuration:
{
"bulk": {
"state": "scheduled",
"posts": [
{
"networks": {
"twitter": {
"type": "status",
"details": {
"community": {
"id": "1508851391443484686",
"name": "ALBANIANS"
}
},
"text": "Post to X communitites"
}
},
"accounts": [
{
"id": "66e011b94e299eb49376c715",
"scheduled_at": "2025-07-03T10:28+02:00"
}
]
}
]
}
}
networks.twitter.details.community.id
string
Community ID (from the Community URL)
networks.twitter.details.community.name
string
Name of the Community (optional, for clarity in requests/logs)
Go to the Community on X.
Look at the URL:
https://x.com/i/communities/1492410432069451776
The number at the end is your COMMUNITY_ID
.
Membership Required: You must be a member of the Community to post.
Engagement: Only members can engage with Community posts, but all users can view them.
Visibility: Community posts are public but participation is limited to members.
Scheduling: You can schedule Community posts just like any other X post using Publer.
Join Relevant Communities: Ensure your X account has joined the Communities you wish to post in.
Use for Focused Engagement: Target posts to specific Communities for more relevant discussions.
Check Community Guidelines: Each Community may have its own moderation and content rules.