Skip to main content
PUT
/
me
/
profile
Update My Profile
curl --request PUT \
  --url https://staging-api.polysimulator.com/me/profile \
  --header 'Content-Type: application/json' \
  --data '
{
  "avatar_seed": "custom-seed-123",
  "bio": "Prediction market enthusiast",
  "display_name": "Trader Joe",
  "profile_visibility": "public",
  "show_on_leaderboard": true,
  "show_pnl": true,
  "show_trades": true,
  "username": "trader_joe"
}
'
{
  "detail": [
    {
      "loc": [
        "<string>"
      ],
      "msg": "<string>",
      "type": "<string>"
    }
  ]
}

Headers

authorization
string | null

Query Parameters

Body

application/json

Request to update user profile settings.

username
string | null
Required string length: 3 - 50
Pattern: ^[a-zA-Z0-9_]+$
display_name
string | null
Maximum string length: 100
avatar_seed
string | null
Maximum string length: 255
bio
string | null
Maximum string length: 500
profile_visibility
string | null
Pattern: ^(public|private)$
show_pnl
boolean | null
show_trades
boolean | null
show_on_leaderboard
boolean | null

Response

Successful Response