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

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
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
expansionsnullExpansions enable requests to expand an ID into a full object in the includes response object.
Allowed value:
owner_id
Default value: none
max_resultsnullThe maximum number of results to be returned by a request.
Allowed values: 1 through 100.
Default value: 100
pagination_tokennullThis 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

KeyDatatypeRequiredDescription
``null