Docs
V2 APIAuth

Get the authenticated user and accounts

GET/api/v2/me

Authorization

bearerAuth
AuthorizationBearer <token>

In: header

Response Body

application/json

application/json

curl -X GET "https://example.com/api/v2/me"
{  "data": {    "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",    "name": "string",    "email": "user@example.com",    "is_staff": true,    "email_verified_at": "2019-08-24T14:15:22Z",    "accounts": [      {        "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",        "name": "string",        "role": "string",        "role_id": "ac4e70c8-d5be-48af-93eb-760f58fc91a9",        "role_name": "string"      }    ]  }}