Skip to main content
GET
/
api
/
user
Get user or suggestions
curl --request GET \
  --url https://app.d-sports.org/api/user \
  --header 'Authorization: Bearer <token>'
{
  "success": false,
  "error": "Authentication required",
  "code": "UNAUTHORIZED"
}

Authorizations

Authorization
string
header
required

Clerk session token. Use Authorization: Bearer .

Query Parameters

suggest
string
id
string
handle
string

Response

{ success: true, data: }