GET /v1/auth/me

Get current user info

Request

GET /v1/auth/me

Parameters

[]

Response

{ "200": { "description": "Current user data", "content": { "application/json": { "schema": { "type": "object", "properties": { "success": { "type": "boolean" }, "data": { "type": "object", "properties": { "id": { "type": "string" }, "email": { "type": "string" }, "full_name": { "type": "string" }, "phone": { "type": [ "string", "null" ] }, "email_verified": { "type": "boolean" }, "phone_verified": { "type": "boolean" }, "status": { "type": "string" } }, "required": [ "id", "email", "full_name", "phone", "email_verified", "phone_verified", "status" ] } }, "required": [ "success", "data" ] } } } }, "401": { "description": "Unauthorized", "content": { "application/json": { "schema": { "type": "object", "properties": { "success": { "type": "boolean" }, "error": { "type": "string" } }, "required": [ "success", "error" ] } } } } }

View in Interactive API Reference