Get started
Quickstart
Sign a user in with a code to their email, then read their account.
POST /auth/startwith{ "identifier": "ayush" }(a Slay ID or an email). The code goes to the email on the account; the response shows it masked.POST /auth/verifywith the identifier and the 6-digit code. You get{ "token" }.- Send
Authorization: Bearer <token>on every call.GET /mereturns the account, Slay ID, wallet and Points. - A new user has no Slay ID yet (
profile: null):POST /profilewith the handle they pick. - Open the user's Magic wallet in the browser, then
POST /wallets/magicwith a Magic DID token to map it to the Slay ID.