Skip to main content
GET
/
users
/
me
Get user
curl --request GET \
  --url https://kan.bn/api/v1/users/me \
  --header 'Authorization: Bearer <token>'
{
  "id": "<string>",
  "email": "<string>",
  "name": "<string>",
  "image": "<string>",
  "stripeCustomerId": "<string>",
  "apiKey": {
    "id": 123,
    "prefix": "<string>",
    "key": "<string>"
  }
}

Authorizations

Authorization
string
header
required

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

Response

Successful response

id
string
required
email
string
required
name
string | null
required
image
string | null
required
stripeCustomerId
string | null
required
apiKey
object | null
required