POST lists/subscribers/create

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

Subscribes the authenticated user to the specified list.

Resource URL

https://api.twitter.com/1.1/lists/subscribers/create.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.

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.

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.

Example Request

POST

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

POST Data

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