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

  • Accept string
  • Authorization string Required

    Bearer your-access-token

Responses

  • 200 application/json

    OK

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