Skip to main content
GET
/
api
/
v0
/
users
/
me
Gets the authenticated user's details.
curl --request GET \
  --url https://north.sh/api/v0/users/me \
  --header 'Authorization: Bearer <token>'
{
  "success": true,
  "code": 200,
  "locale": "en",
  "message": "OK",
  "data": {
    "id": "01jh1234abcd5678efgh",
    "name": "John Doe",
    "email": "[email protected]",
    "theme": "dark",
    "created_at": "2023-11-07T05:31:56Z",
    "updated_at": "2023-11-07T05:31:56Z"
  }
}

Authorizations

Authorization
string
header
required

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

Response

default - application/json

User retrieved successfully

success
boolean
Example:

true

code
integer
Example:

200

locale
string
Example:

"en"

message
string
Example:

"OK"

data
object