Skip to main content
GET
/
v1
/
users
/
me
Get Current User Profile
curl --request GET \
  --url https://api.happenstance.ai/v1/users/me \
  --header 'Authorization: Bearer <token>'
{
  "email": "<string>",
  "name": "<string>",
  "friends": [
    {
      "name": "<string>"
    }
  ]
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Response

Successful Response

Response from GET /v1/users/me - retrieving the current user's profile.

email
string
required

User's email address

name
string
required

User's name

friends
FriendV1 · object[]
required

List of the user's friends