Follows
Follow User
Causes the User(in the path) to follow, or “request to follow” for protected Users, the target User. The User(in the path) must match the User context authorizing the request
POST
/
2
/
users
/
{id}
/
following
Authorizations
Authorization
string
headerrequiredThe access token received from the authorization server in the OAuth 2.0 flow.
Path Parameters
id
string
requiredThe ID of the authenticated source User that is requesting to follow the target User.
Body
application/json
target_user_id
string
requiredUnique identifier of this User. This is returned as a string in order to avoid complications with languages and tools that cannot handle large integers.
Response
200 - application/json
data
object
errors
object[]