Skip to main content
GET
/
api
/
v1
/
user
Get user info
curl --request GET \
  --url http://localhost:3000/api/v1/user \
  --cookie nut-session=
{
  "success": true,
  "data": {
    "user": {
      "id": "<string>",
      "name": "<string>",
      "email": "jsmith@example.com"
    }
  }
}

Authorizations

nut-session
string
cookie
required

Session cookie authentication

Response

User information

success
boolean
required
data
object