GET lists/show

Updated on Thu, 2013-03-07 10:23

Returns the specified list. Private lists will only be shown if the authenticated user owns the specified list.

Resource URL

https://api.twitter.com/1.1/lists/show.json

Parameters

Either a list_id or a slug is required. If providing a list_slug, an owner_screen_name or owner_id is also required.

list_id required

The numerical id of the list.

slug required

You can identify a list by its slug instead of its numerical id. If you decide to do so, note that you'll also have to specify the list owner using the owner_id or owner_screen_name parameters.

owner_screen_name optional

The screen name of the user who owns the list being requested by a slug.

owner_id optional

The user ID of the user who owns the list being requested by a slug.

Example Request

GET

https://api.twitter.com/1.1/lists/show.json?slug=team&owner_screen_name=twitter

  1. {
  2.   "created_at": "Wed Sep 23 01:18:01 +0000 2009",
  3.   "slug": "team",
  4.   "name": "Team",
  5.   "full_name": "@twitter/team",
  6.   "description": "",
  7.   "mode": "public",
  8.   "following": false,
  9.   "user": {
  10.     "geo_enabled": true,
  11.     "profile_background_image_url_https": "https://si0.twimg.com/images/themes/theme18/bg.gif",
  12.     "profile_background_color": "ACDED6",
  13.     "protected": false,
  14.     "listed_count": 66019,
  15.     "profile_background_tile": false,
  16.     "created_at": "Tue Feb 20 14:35:54 +0000 2007",
  17.     "friends_count": 695,
  18.     "name": "Twitter",
  19.     "profile_sidebar_fill_color": "F6F6F6",
  20.     "notifications": false,
  21.     "utc_offset": -28800,
  22.     "profile_image_url_https": "https://si0.twimg.com/profile_images/1124040897/at-twitter_normal.png",
  23.     "description": "Always wondering what's happening. ",
  24.     "display_url": null,
  25.     "following": false,
  26.     "verified": true,
  27.     "favourites_count": 16,
  28.     "profile_sidebar_border_color": "EEEEEE",
  29.     "followers_count": 6619092,
  30.     "profile_image_url": "http://a0.twimg.com/profile_images/1124040897/at-twitter_normal.png",
  31.     "default_profile_image": false,
  32.     "contributors_enabled": true,
  33.     "deactivated_bit": false,
  34.     "statuses_count": 1218,
  35.     "profile_use_background_image": true,
  36.     "location": "San Francisco, CA",
  37.     "id_str": "783214",
  38.     "default_profile": false,
  39.     "show_all_inline_media": true,
  40.     "profile_text_color": "333333",
  41.     "screen_name": "twitter",
  42.     "follow_request_sent": false,
  43.     "profile_background_image_url": "http://a1.twimg.com/images/themes/theme18/bg.gif",
  44.     "url": "http://blog.twitter.com/",
  45.     "expanded_url": null,
  46.     "is_translator": false,
  47.     "time_zone": "Pacific Time (US & Canada)",
  48.     "profile_link_color": "038543",
  49.     "id": 783214,
  50.     "entities": {
  51.       "urls": [],
  52.       "user_mentions": [],
  53.       "hashtags": []
  54.     },
  55.     "suspended": false,
  56.     "lang": "en"
  57.   },
  58.   "member_count": 643,
  59.   "id_str": "574",
  60.   "subscriber_count": 76779,
  61.   "id": 574,
  62.   "uri": "/twitter/team"
  63. }