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.