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
1
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.2
Request your block list
cURL
3
Review the response
Block a user
1
Identify the target user
Get the user ID of the account you want to block.
2
Send a block request
cURL
3
Confirm the block
Unblock a user
1
Send an unblock request
cURL
2
Confirm the unblock