Current User

GET /me

This API is to get currently logged in user details. This is an authendicated API so we need to pass bearer token in request header to access the data.

Headers

Responses

GET /me
curl \
 -X GET https://api-console.logezy.co/v1/me \
 -H "Accept: application/json" \
 -H "Authorization: string"
Response examples (200)
{
  "id": 71522,
  "name": "Logezy QA",
  "organization": null,
  "email": "logezyqa@gmail.com",
  "status": "active",
  "profile_image": null,
  "bio": null,
  "socket_id": null,
  "online": "N",
  "logout": 0,
  "email_verified_at": null,
  "created_at": "23-09-2022 01:58:09 PM",
  "updated_at": "15-12-2022 01:00:12 PM",
  "tenants": [
    {
      "id": 79932,
      "user_id": 71522,
      "tenant_id": 73,
      "is_deleted": 0,
      "created_at": "2022-09-23 13:58:49",
      "updated_at": "2022-09-23 13:58:49",
      "organization_name": "Aurora - Demo Agency",
      "slug": "demo_agency",
      "db_name": "logezy_demo_agency",
      "address": "Office 119, Stockton Business Centre, 70-74 Brunswick Street"
    }
  ]
}