Developers
Open app
Account

Edit my name or Slay ID

POST/profile/edit
Requires a session: Authorization: Bearer <token>Limit: 20 / 10 min per user

Either field may be sent alone. name is the display name (up to 24 characters, no @). A new handle also renames the Slay ID in the Slay app.

Request

curl -X POST 'https://api.slay.money/api/predict/profile/edit' \
  -H 'Authorization: Bearer $SLAY_TOKEN' \
  -H 'Content-Type: application/json' \
  -d '{"name":"Ayush","handle":"ayush"}'

Body

namestring
handlestring

Responses

200Saved.
profilePublicProfile
handlestring
namestring | null
Display name (shared with the Slay app). Null when unset or when it looks like an email; show the handle instead.
imagestring | null
Profile photo URL (shared with the Slay app), or null.
walletstring | null
Trading wallet (EVM address), or null before one is linked.
biostring | null
createdAtstring
followersinteger
followinginteger
200 response
{
  "profile": {
    "handle": "ayush",
    "name": "Ayush Pandey",
    "image": "https://api.slay.money/api/avatars/u/photo.jpg",
    "wallet": "0xebfc8c0fae1ae07ac46545835c62d9545a1ecf05",
    "bio": "string",
    "createdAt": "2026-11-15T12:00:00.000Z",
    "followers": 12,
    "following": 4
  }
}
400Bad name or Slay ID.
400 response
{
  "error": "Pick a display name (no @)."
}
401No valid session. Sign in again.
401 response
{
  "error": "Sign in first"
}
409Slay ID taken, or no profile yet.
409 response
{
  "error": "@ayush is taken"
}
429Rate limit reached. Wait for the window to pass.
429 response
{
  "error": "Too many changes. Wait a few minutes."
}