Current User
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.
GET
/me
curl \
-X GET https://api-console.logezy.co/v1/me \
-H "Accept: application/json" \
-H "Authorization: string"
Response examples (200)
{
"id": 71522,
"bio": null,
"name": "Logezy QA",
"email": "logezyqa@gmail.com",
"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
}