POST account/update_profile

Sets some values that users are able to set under the "Account" tab of their settings page. Only the parameters specified will be updated.

Resource URL

https://api.twitter.com/1.1/account/update_profile.json

Resource Information

Response formats JSON
Requires authentication? Yes (user context only)
Rate limited? Yes

Parameters

Name Required Description Default Value Example
name optional Full name associated with the profile. Twitter Dev
url optional URL associated with the profile. Will be prepended with http:// if not present. http://developer.twitter.com
location optional The city or country describing where the user of the account is located. The contents are not normalized or geocoded in any way. San Francisco CA
description optional A description of the user owning the account. Your official source for Twitter Platform news, updates & events.
include_entities optional The entities node will not be included when set to false . false
skip_status optional When set to either true , t or 1 statuses will not be included in the returned user object.

Example Request

POST https://api.twitter.com/1.1/account/update_profile.json?name=Twitter%20Dev

Example Response

{
    "id": 2244994945,
    "id_str": "2244994945",
    "name": "Twitter Dev",
    "screen_name": "TwitterDev",
    "location": "Internet",
    "description": "Your official source for Twitter Platform news, updates & events. Need technical help? Visit https://t.co/mGHnxZU8c1 ⌨️ #TapIntoTwitter",
    "url": "https://t.co/FGl7VOULyL",
    "entities": {
      "url": {
        "urls": [
          {
            "url": "https://t.co/FGl7VOULyL",
            "expanded_url": "https://developer.twitter.com/",
            "display_url": "developer.twitter.com",
            "indices": [
              0,
              23
            ]
          }
        ]
      },
      "description": {
        "urls": [
          {
            "url": "https://t.co/mGHnxZU8c1",
            "expanded_url": "https://twittercommunity.com/",
            "display_url": "twittercommunity.com",
            "indices": [
              93,
              116
            ]
          }
        ]
      }
    },
    "protected": false,
    "followers_count": 502017,
    "friends_count": 1472,
    "listed_count": 1513,
    "created_at": "Sat Dec 14 04:35:55 +0000 2013",
    "favourites_count": 2203,
    "utc_offset": null,
    "time_zone": null,
    "geo_enabled": true,
    "verified": true,
    "statuses_count": 3393,
    "lang": "en",
    "status": {
      "created_at": "Tue May 14 17:54:29 +0000 2019",
      "id": 1128357932238823424,
      "id_str": "1128357932238823424",
      "text": "We’ll release the first Labs endpoints to all eligible developers in the coming weeks. If you want to participate,… https://t.co/8q8sj87D5a",
      "truncated": true,
      "entities": {
        "hashtags": [],
        "symbols": [],
        "user_mentions": [],
        "urls": [
          {
            "url": "https://t.co/8q8sj87D5a",
            "expanded_url": "https://twitter.com/i/web/status/1128357932238823424",
            "display_url": "twitter.com/i/web/status/1…",
            "indices": [
              116,
              139
            ]
          }
        ]
      },
      "source": "<a href="https://mobile.twitter.com" rel="nofollow">Twitter Web App</a>",
      "in_reply_to_status_id": 1128357931026501633,
      "in_reply_to_status_id_str": "1128357931026501633",
      "in_reply_to_user_id": 2244994945,
      "in_reply_to_user_id_str": "2244994945",
      "in_reply_to_screen_name": "TwitterDev",
      "geo": null,
      "coordinates": null,
      "place": null,
      "contributors": null,
      "is_quote_status": false,
      "retweet_count": 12,
      "favorite_count": 37,
      "favorited": false,
      "retweeted": false,
      "possibly_sensitive": false,
      "lang": "en"
    },
    "contributors_enabled": false,
    "is_translator": false,
    "is_translation_enabled": null,
    "profile_background_color": "null",
    "profile_background_image_url": "null",
    "profile_background_image_url_https": "null",
    "profile_background_tile": null,
    "profile_image_url": "null",
    "profile_image_url_https": "https://pbs.twimg.com/profile_images/880136122604507136/xHrnqf1T_normal.jpg",
    "profile_banner_url": "https://pbs.twimg.com/profile_banners/2244994945/1498675817",
    "profile_link_color": "null",
    "profile_sidebar_border_color": "null",
    "profile_sidebar_fill_color": "null",
    "profile_text_color": "null",
    "profile_use_background_image": null,
    "has_extended_profile": null,
    "default_profile": false,
    "default_profile_image": false,
    "following": false,
    "follow_request_sent": false,
    "notifications": false,
    "translator_type": "regular"
}