Get current user profile

Returns the authenticated user's full profile from DynamoDB

OAuth scopes
  • openid
Responses
  • application/json
Request Example for get/viewer/v1/users/me
curl https://api.specs.wseng.ai/viewer/v1/users/me \
  --header 'Authorization: Bearer YOUR_SECRET_TOKEN'
{
  "user": {
    "id": "usr_01HQXYZ",
    "email": "ada@example.com",
    "fullName": "Ada Lovelace",
    "picture": "https://cdn.example.com/avatars/usr_01HQXYZ?v=1",
    "githubUsername": "ada-lovelace"
  }
}