User memberships
GET https://api.twitter.com/2/users/:id/list_memberships
This endpoint returns details on Lists a user is a member of 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 | |||
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 | |||
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 | |||
max_results | null | The maximum number of results to be returned by a request. | |
Allowed values: 1 through 100. | |||
Default value: 100 | |||
pagination_token | null | This parameter is used to get the next 'page' of results. The value used with the parameter is pulled directly from the response provided by the API, and should not be modified. |
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
`` | null |