X (Twitter) · Capability
X Engagement and Community Management
Unified workflow for managing user relationships, direct messages, spaces, and community interactions on X. Used by community managers, customer support teams, and engagement specialists.
What You Can Do
POST
Followuser
— Follow a user
/v1/engagement/users/{id}/following
DELETE
Unfollowuser
— Unfollow a user
/v1/engagement/users/{source_user_id}/following/{target_user_id}
POST
Blockusers
— Block a user
/v1/engagement/users/{id}/blocking
DELETE
Unblockusers
— Unblock a user
/v1/engagement/users/{source_user_id}/blocking/{target_user_id}
POST
Muteuser
— Mute a user
/v1/engagement/users/{id}/muting
DELETE
Unmuteuser
— Unmute a user
/v1/engagement/users/{source_user_id}/muting/{target_user_id}
POST
Createdirectmessagesconversation
— Create a new group DM conversation
/v1/engagement/dm/conversations
POST
Createdirectmessagesbyconversationid
— Send a DM to an existing conversation
/v1/engagement/dm/conversations/{dm_conversation_id}/messages
GET
Getdirectmessagesevents
— Get recent DM events
/v1/engagement/dm/events
GET
Searchspaces
— Search for Spaces by keyword
/v1/engagement/spaces/search
GET
Getspacesbyids
— Get multiple Spaces by IDs
/v1/engagement/spaces
MCP Tools
followUser
Follow a user
unfollowUser
Unfollow a user
blockUsers
Block a user
unblockUsers
Unblock a user
getBlockedUsers
Get users blocked by the authenticated user
read-only
idempotent
muteUser
Mute a user
unmuteUser
Unmute a user
getMutedUsers
Get users muted by the authenticated user
read-only
idempotent
createDirectMessagesConversation
Create a new group DM conversation
createDirectMessagesByParticipantId
Send a direct message to a user by participant ID
createDirectMessagesByConversationId
Send a direct message to an existing conversation
getDirectMessagesEvents
Get recent DM events for the authenticated user
read-only
idempotent
getDirectMessagesEventsByConversationId
Get DM events for a specific conversation
read-only
idempotent
searchSpaces
Search for Spaces by keyword
read-only
idempotent
getSpacesByIds
Retrieve multiple Spaces by their IDs
read-only
idempotent
getSpacesPosts
Get posts shared in a Space
read-only
idempotent
Who This Is For
Community Manager
Builds and maintains communities through engagement and moderation.
Customer Support
Handles customer inquiries and issues via direct messages and replies.
Engagement Specialist
Manages user relationships, follows, and interaction strategies.
APIs Used
x-users
x-direct-messages
x-spaces