For the complete documentation index, see llms.txt. This page is also available as Markdown.

User

Retrieve the currently signed-in user.

get

Retrieve the currently signed-in user.

Responses
200

The currently signed-in user.

application/json
idstringRequired

The ID of the user.

Example: 981ba079-62a6-442c-8dfb-a72af6e96b8c
namestringRequired

The name of the user.

Example: Jane Doe
emailstringRequired

The email of the user.

Example: janedoe@example.com
profile_picturestringRequired

The profile picture of the user.

Example: https://example.com/profile.jpg
metadataobjectRequired

The metadata of the user.

Example: {"signupStatus":"COMPLETED"}
referral_creditnumberRequired

The amount of referral credit the user has accrued.

Example: 10000
created_atstringRequired

The date and time the user was created.

Example: 2021-01-01T00:00:00.000Z
updated_atstringRequired

The date and time the user was updated.

Example: 2021-01-01T00:00:00.000Z
get/auth/user
GET /api/v1/auth/user HTTP/1.1
Accept: */*
{
  "id": "981ba079-62a6-442c-8dfb-a72af6e96b8c",
  "name": "Jane Doe",
  "email": "janedoe@example.com",
  "profile_picture": "https://example.com/profile.jpg",
  "metadata": {
    "signupStatus": "COMPLETED"
  },
  "referral_credit": 10000,
  "created_at": "2021-01-01T00:00:00.000Z",
  "updated_at": "2021-01-01T00:00:00.000Z"
}

Last updated