POST /2/users/:id/followed_lists

Enables the authenticated user to follow a List.

Endpoint URL

https://api.twitter.com/2/users/:id/followed_lists

Authentication and rate limits

Authentication methods
supported by this endpoint

OAuth 1.0a User context

Rate limit

User rate limit: 50 requests per 15-minute window

Path parameters

NameTypeDescription
id
 Required 
stringThe user ID who you are following a List on behalf of. It must match your own user ID or that of an authenticating user, meaning that you must pass the Access Tokens associated with the user ID when authenticating your request.


JSON body parameters

NameTypeDescription
list_id
 Required 
stringThe ID of the List that you would like the user id to follow.


Example requests

      curl -X POST "https://api.twitter.com/2/users/2244994945/followed_lists -H "Authorization: OAuth $OAUTH_SIGNATURE" -H "Content-type: application/json" -d '{"list_id": "1441162269824405510"}' 
    

Example responses

      {
  "data": {
    "following": true
  }
}
    

Response fields

NameTypeDescription
followingbooleanIndicates whether the user followed the specified List as a result of the request.
Was this document helpful?
Thank you

Thank you for the feedback. We’re really glad we could help!

Thank you for the feedback. How could we improve this document?
Thank you for the feedback. Your comments will help us improve our documents in the future.