cURL
curl --request GET \ --url https://app.d-sports.org/api/user \ --header 'Authorization: Bearer <token>'
{ "success": false, "error": "Authentication required", "code": "UNAUTHORIZED" }
suggest=1: suggested users (auth). No id: current user (auth). id and/or handle: public profile.
Clerk session token. Use Authorization: Bearer .
{ success: true, data: }
Was this page helpful?