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
Key | Datatype | Required | Description |
---|---|---|---|
list.fields | null | Comma-separated fields for the List object. | |
Allowed values: | |||
created_at, follower_count, member_count, private, description, owner_id | |||
Default values: | |||
id,name | |||
expansions | null | Expansions enable requests to expand an ID into a full object in the includes response object. | |
Allowed value: | |||
owner_id | |||
Default value: none | |||
user.fields | null | Comma-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 |