Users

Endpoints for retrieving user profile information and statistics.

GET/api/v1/users/:handle

Get public profile information for a user.

Authentication

No authentication required (public endpoint)

Path Parameters

ParameterDescription
handle User handle in the format @user@instance.example

Example

curl https://mewk.app/api/v1/users/user@instance.example
GET/api/v1/users/me/stats

Get question statistics for the authenticated user.

Authentication

profile:read

Response

{
  "unansweredCount": 5,
  "receivedCount": 42,
  "sentCount": 10
}
GET/api/v1/users/me/stats/history

Get daily trends for received, answered, and sent questions over the past 30 days.

Authentication

profile:read

Response

{
  "labels": ["2026-01-20", "2026-01-21", "..."],
  "datasets": {
    "received": [3, 5, "..."],
    "answered": [2, 4, "..."],
    "sent": [1, 0, "..."]
  }
}
GET/api/v1/users/me/export/data

Export all data for the authenticated user.

Authentication

Bearer token

Response

{
  "user": { "id": "...", "username": "...", "domain": "...", "..." },
  "receivedQuestions": [...],
  "sentQuestions": [...],
  "exportedAt": "2026-01-01T00:00:00.000Z"
}