Loyalty.lt
Authentication

Get Current User

Get the authenticated user's details

GET/{locale}/shop/auth/me

Get the authenticated user's details

Authorization

bearerAuth
AuthorizationBearer <token>

Enter JWT token in the format: Bearer {token}

In: header

Path Parameters

locale*string

Locale code

Response Body

application/json

curl -X GET "https://example.com/en/shop/auth/me"
{  "success": true,  "data": {    "id": 1,    "phone": "+37060000000",    "email": "user@example.com",    "name": "John Doe",    "role": "member",    "email_verified_at": "2019-08-24T14:15:22Z",    "phone_verified_at": "2019-08-24T14:15:22Z",    "created_at": "2019-08-24T14:15:22Z",    "updated_at": "2019-08-24T14:15:22Z"  }}