GET help/configuration

Returns the current configuration used by Twitter including twitter.com slugs which are not usernames, maximum photo resolutions, and t.co shortened URL length.

It is recommended applications request this endpoint when they are loaded, but no more than once a day.

Resource URL

https://api.twitter.com/1.1/help/configuration.json

Resource Information

Response formats JSON
Requires authentication? Yes
Rate limited? Yes
Requests / 15-min window (user auth) 15
Requests / 15-min window (app auth) 15

Parameters

None

Example Request

GET https://api.twitter.com/1.1/help/configuration.json

Example Response

{
  "characters_reserved_per_media": 24,
  "dm_text_character_limit": 10000,
  "max_media_per_upload": 1,
  "photo_size_limit": 3145728,
  "photo_sizes": {
    "large": {
      "h": 2048,
      "resize": "fit",
      "w": 1024
    },
    "medium": {
      "h": 1200,
      "resize": "fit",
      "w": 600
    },
    "small": {
      "h": 480,
      "resize": "fit",
      "w": 340
    },
    "thumb": {
      "h": 150,
      "resize": "crop",
      "w": 150
    }
  },
  "short_url_length": 23,
  "short_url_length_https": 23,
  "non_username_paths": [
    "about",
    "account",
    "accounts",
    "activity",
    "all",
    "announcements",
    "anywhere",
    "api_rules",
    "api_terms",
    "apirules",
    "apps",
    "auth",
    "badges",
    "blog",
    "business",
    "buttons",
    "contacts",
    "devices",
    "direct_messages",
    "download",
    "downloads",
    "edit_announcements",
    "faq",
    "favorites",
    "find_sources",
    "find_users",
    "followers",
    "following",
    "friend_request",
    "friendrequest",
    "friends",
    "goodies",
    "help",
    "home",
    "i",
    "im_account",
    "inbox",
    "invitations",
    "invite",
    "jobs",
    "list",
    "login",
    "logo",
    "logout",
    "me",
    "mentions",
    "messages",
    "mockview",
    "newtwitter",
    "notifications",
    "nudge",
    "oauth",
    "phoenix_search",
    "positions",
    "privacy",
    "public_timeline",
    "related_tweets",
    "replies",
    "retweeted_of_mine",
    "retweets",
    "retweets_by_others",
    "rules",
    "saved_searches",
    "search",
    "sent",
    "sessions",
    "settings",
    "share",
    "signup",
    "signin",
    "similar_to",
    "statistics",
    "terms",
    "tos",
    "translate",
    "trends",
    "tweetbutton",
    "twttr",
    "update_discoverability",
    "users",
    "welcome",
    "who_to_follow",
    "widgets",
    "zendesk_auth",
    "media_signup"
  ]
}