Skip to main content
POST
Follow User

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Scopes

follows.write

Follow and unfollow accounts on your behalf.

users.read

View any account you can see, including protected accounts.

tweet.read

View all posts you can see, including those from protected accounts.

Path Parameters

id
string
required

Unique identifier of a User

Pattern: ^[0-9]{1,19}$
Example:

"2244994945"

Body

application/json
target_user_id
string
required
Pattern: ^[0-9]{1,19}$

Response

The request has succeeded.

data
object
errors
object[]