POST lists/create

Updated on Wed, 2012-09-05 12:36

Creates a new list for the authenticated user. Note that you can't create more than 20 lists per account.

Resource URL

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

Parameters

name required

The name for the list.

A list's name must start with a letter and can consist only of 25 or fewer letters, numbers, "-", or "_" characters.

mode optional

Whether your list is public or private. Values can be public or private. If no mode is specified the list will be public.

description optional

The description to give the list.

Example Request

POST

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

POST Data

name=Goonies&mode=public&description=For%20life

  1. {
  2.    "created_at":"Fri Nov 04 21:22:36 +0000 2011",
  3.    "slug":"goonies",
  4.    "name":"Goonies",
  5.    "full_name":"@kurrik\/goonies",
  6.    "description":"For life",
  7.    "mode":"public",
  8.    "following":false,
  9.    "user":{
  10.       "geo_enabled":true,
  11.       "profile_background_image_url_https":"https:\/\/si0.twimg.com\/profile_background_images\/342542280\/background7.png",
  12.       "profile_background_color":"8fc1ff",
  13.       "protected":false,
  14.       "default_profile":false,
  15.       "listed_count":127,
  16.       "profile_background_tile":true,
  17.       "created_at":"Thu Jul 19 15:58:07 +0000 2007",
  18.       "friends_count":291,
  19.       "name":"Arne Roomann-Kurrik",
  20.       "profile_sidebar_fill_color":"c7e0ff",
  21.       "notifications":false,
  22.       "utc_offset":-28800,
  23.       "profile_image_url_https":"https:\/\/si0.twimg.com\/profile_images\/24229162\/arne001_normal.jpg",
  24.       "description":"Developer Advocate at Twitter, practitioner of dark sandwich arts. ",
  25.       "display_url":"roomanna.com",
  26.       "following":false,
  27.       "verified":false,
  28.       "favourites_count":190,
  29.       "profile_sidebar_border_color":"6baeff",
  30.       "followers_count":1705,
  31.       "profile_image_url":"http:\/\/a2.twimg.com\/profile_images\/24229162\/arne001_normal.jpg",
  32.       "default_profile_image":false,
  33.       "contributors_enabled":false,
  34.       "deactivated_bit":false,
  35.       "statuses_count":1935,
  36.       "profile_use_background_image":true,
  37.       "location":"Scan Francesco",
  38.       "id_str":"7588892",
  39.       "show_all_inline_media":false,
  40.       "profile_text_color":"000000",
  41.       "screen_name":"kurrik",
  42.       "follow_request_sent":false,
  43.       "profile_background_image_url":"http:\/\/a2.twimg.com\/profile_background_images\/342542280\/background7.png",
  44.       "url":"http:\/\/t.co\/SSiVavc4",
  45.       "expanded_url":"http:\/\/roomanna.com",
  46.       "is_translator":false,
  47.       "time_zone":"Pacific Time (US & Canada)",
  48.       "profile_link_color":"0084B4",
  49.       "id":7588892,
  50.       "entities":{
  51.          "urls":[
  52.  
  53.          ],
  54.          "user_mentions":[
  55.  
  56.          ],
  57.          "hashtags":[
  58.  
  59.          ]
  60.       },
  61.       "suspended":false,
  62.       "lang":"en"
  63.    },
  64.    "member_count":0,
  65.    "id_str":"58300198",
  66.    "subscriber_count":0,
  67.    "id":58300198,
  68.    "uri":"\/kurrik\/goonies"
  69. }