Skip to main content
GET
/
api
/
v1
/
users
/
me
Current user profile
curl --request GET \
  --url https://mcp.echozero.app/api/v1/users/me \
  --header 'Authorization: Bearer <token>'
{
  "success": true,
  "data": {
    "id": "<string>",
    "username": "<string>",
    "email": "<string>",
    "emailVerifiedAt": "2023-11-07T05:31:56Z",
    "registeredAt": "2023-11-07T05:31:56Z",
    "avatarUrl": "<string>",
    "interests": [],
    "guideAgentId": "<string>",
    "pinnedAgentIds": [
      "<string>"
    ],
    "signupMethod": "<string>",
    "stateCode": "<string>",
    "timeZone": "<string>",
    "preferences": {},
    "wallet": {},
    "createdAt": "2023-11-07T05:31:56Z",
    "updatedAt": "2023-11-07T05:31:56Z"
  }
}

Authorizations

Authorization
string
header
required

User JWT access token issued by POST /api/auth/verify or POST /api/auth/social/verify. Routes that accept both auth modes declare api-key and bearer-jwt security schemes.

Headers

x-signature
string

HMAC-SHA256 signature: HMAC-SHA256(secretKey, timestamp + METHOD + path + body). Optional -- when omitted, HMAC verification is skipped.

x-timestamp
string

Request timestamp in epoch milliseconds. Required when x-signature is provided. Rejected if drift exceeds 5 minutes.

Response

Current user document.

success
boolean
required
Example:

true

data
object
required

Endpoint-specific payload