PATCH https://api.cryptohopper.com/v1/social/profile/{id}

Updates the name, alias, bio, location and links of your own social profile and returns the updated profile. Fields you leave out keep their current value; an empty value clears the field.

OAuth scope: manage About scopes

Other accepted fields: facebook, telegram and tradingview. name and alias are limited to 120 characters, description and location to 255. The alias may only contain lowercase letters, numbers and hyphens, must be longer than 2 characters, cannot be fully numeric and cannot be removed once set. Text with profanity is rejected. A taken alias returns 409.

Example request

curl -X PATCH "https://api.cryptohopper.com/v1/social/profile/PROFILE_ID" \
  -H "access-token: YOUR_ACCESS_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"name":"Trader Jane","alias":"trader-jane","description":"Swing trader, mostly BTC and ETH.","location":"Amsterdam","twitter":"trader_jane"}'

Parameters

Headers

NameTypeRequiredDescription
access-token string Required The OAuth access token of the user.

Path parameters

NameTypeRequiredDescription
id string Required Not used: this endpoint always updates the profile of the authenticated user.

Response

Example response (illustrative values)

{
    "data": {
        "profile_id": "4567",
        "profile_name": "Trader Jane",
        "profile_alias": "trader-jane",
        "location": "Amsterdam",
        "biography": "Swing trader, mostly BTC and ETH.",
        "profile_image": "https://cdn.example.com/images/social/uploads/avatar_4567.jpg",
        "feature_image": "https://cdn.example.com/images/social/uploads/feature_4567.jpg",
        "verified": "0",
        "show_badges": "0",
        "profile_link": "/social/profile/trader-jane",
        "social_links": {
            "twitter": "trader_jane",
            "telegram": "trader_jane"
        },
        "tournaments": {
            "rank": "1520",
            "score": "340",
            "tournaments_played": "6",
            "tournaments_won": "0"
        },
        "following": 0,
        "member_since": "2021-03-14 09:12:44",
        "total_following": "25",
        "total_followers": "112",
        "blocked_by_user": 0,
        "pinned_post": null,
        "badges": null
    }
}

Status codes: 200. Errors return JSON with status, error and message. See How the API works for response codes and rate limits.