Get Twitter configuration details

API reference contents

GET help/configuration

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

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

Resource URL

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



Example Request


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": [