cURL
curl --request POST \ --url https://app.d-sports.org/api/user/profile \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "name": "<string>", "handle": "<string>", "profileUrl": "<string>", "location": "<string>", "favoriteSport": "<string>", "favoriteTeam": "<string>", "favoritePlayer": "<string>" } '
Onboarding payload. Creates the user profile, initialises leaderboard entry, and syncs quest points.
Clerk session token. Use Authorization: Bearer .
{ success: true, data: { user, updatedProfile, leaderboardEntry, pointsHistory, questSync } }
Was this page helpful?