user_account

Follow user

This endpoint is currently in beta and not available to all apps. Learn more.

Use this request, as a signed-in user, to follow another user.

post/user_account/following/{username}

Path parameters

usernamestring required

A valid username

Request body

auto_followboolean

Whether this request comes as result of auto-follow after clicking on a link. Follow links can be used by partners on their site or in emails. Only selected partners can be followed this way. We verify that partner can be auto-followed.

Response

The request has succeeded.

typestring

Always 'user'

usernamestring

Username

Changes

Changed in 2 of the 29 revisions of this API.9

    • the auto_follow request property default value false was removed

      request-property-default-value-removed

    • added the non-success response with the status 400

      response-non-success-status-added

    • added the non-success response with the status 401

      response-non-success-status-added

    • added the non-success response with the status 403

      response-non-success-status-added

    • added the non-success response with the status 429

      response-non-success-status-added

    • the response optional property type became read-only for the status 200

      response-optional-property-became-read-only

    • the response optional property username became read-only for the status 200

      response-optional-property-became-read-only

    • added the success response with the status 201

      response-success-status-added

    This revision also has 182 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog

    • endpoint added

      endpoint-added

    This revision also has 5 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog