Api ReferenceEndpointGet authenticated user

Get authenticated user

Returns the currently authenticated user's profile.

GET/user

Returns the currently authenticated user's profile.

Responses

200User profile
idstringrequired

User ID

loginstringrequired

Username

namestring

Display name

emailstring<email>
avatar_urlstring<uri>
biostring
created_atstring<date-time>
401Unauthorized
errorstring
messagestring
documentation_urlstring
curl -X GET "https://drok.us/api/v1/user" \
  -H "Authorization: Bearer $DROK_TOKEN"

Try It