Skip to content
TALA
Esc
navigateopen⌘Jpreview

This endpoint is only to be used to get the authenticated user

GET/api/auth/user
Authorization
AuthorizationBearer token (JWT) · headerrequired
Responses
200OK
any
401Error
any
Try it
Server
Authorization
Request
curl -X GET "http://localhost:8000/api/auth/user" \
  -H "Authorization: Bearer YOUR_TOKEN"
Response
{
  "data": {
    "id": "CRa7Bk9x2Q",
    "fullName": null,
    "email": "example@mail.com",
    "role": "CONTENT_CREATOR",
    "accountStatus": "VERIFIED",
    "imageUrl": null
  }
}