The block and unblock users endpoints are only available under the Enterprise plan. You can fill out the Enterprise interest form here.
PrerequisitesBefore you begin, you’ll need:
- A developer account with an approved App
- User Access Token (OAuth 1.0a or OAuth 2.0 PKCE)
Get blocked users
Get your user ID
You need your authenticated user’s ID to retrieve your block list. You can get it from the
/2/users/me endpoint or use the ID from your tokens.Block a user (Enterprise only)
Unblock a user (Enterprise only)
Next steps
Mutes
Mute users instead of blocking
Follows
Manage follows
Integration guide
Key concepts and best practices
API Reference
Full endpoint documentation