Developers
Open app
Account

Create my Slay ID on Predict

POST/profile
Requires a session: Authorization: Bearer <token>

An existing Slay user gets their Slay ID (the handle in the body is ignored). A new user picks one; it also becomes their Slay ID in the Slay app. ref is the Slay ID that invited them (each Slay ID can count 10 invites).

Request

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

Body

handlestring
refstring

Responses

201Created.
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
201 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
  }
}
400Not a valid Slay ID.
400 response
{
  "error": "A Slay ID is 2–32 characters: letters, numbers, . _ or -"
}
401No valid session. Sign in again.
401 response
{
  "error": "Sign in first"
}
403The account is suspended.
403 response
{
  "error": "This account has been suspended for violating Slay's terms.",
  "code": "ACCOUNT_BANNED"
}
409Taken, reserved, or already have one.
409 response
{
  "error": "That Slay ID is taken"
}