Light Services

Get the authorized user

The customer who authorized the application. email and email_verified are included only when the token was granted the email scope.

GET
/me

Authorization

oauth2 profile
AuthorizationBearer <token>

Access token issued to a third-party application by the store's OAuth2 server.

In: header

Scope: profile

Response Body

application/json

application/json

application/json

curl -X GET "http://localhost:8000/api/me"
{
  "data": {
    "id": 0,
    "name": "string",
    "avatar_url": "string",
    "created_at": "2019-08-24T14:15:22Z",
    "email": "string",
    "email_verified": true
  }
}
{
  "message": "string"
}
{
  "message": "string"
}