List by ID

GET https://api.twitter.com/2/lists/:id

This endpoint returns details about the List specified by the requested ID

For full details, see the API reference for this endpoint.

Sign up for the Twitter API

Request Params

KeyDatatypeRequiredDescription
list.fieldsnullComma-separated fields for the List object.
Allowed values:
created_at, follower_count, member_count, private, description, owner_id
Default values:
id,name
expansionsnullExpansions enable requests to expand an ID into a full object in the includes response object.
Allowed value:
owner_id
Default value: none
user.fieldsnullComma-separated list of fields for the User object. Expansion required.
Allowed values:
created_at, description, entities, id, location, name, pinned_tweet_id, profile_image_url, protected, public_metrics, url, username, verified, withheld
Default values:
id,name,username