Skip to main content
POST
Block a User

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
username
string
required

The username of the user to block.

The user's Twitter authentication cookie or Twitter auth_token, how-to-get-twitter-cookie

Example:

"ct0=abc123... or 2c4a4e1832096aa694c739b83c83b6d96d43eba7"

Response

Blocked user information

response

code
integer
default:200

HTTP status code

msg
string
default:success

Response message

data
UserModel · object | null

User information