Get new user count

GET /api/dashboard/users/new

Get new user count in the past 7 days.

Responses

  • 200 application/json

    New user count.

    Hide response attributes Show response attributes object
    • today object Required
      Hide today attributes Show today attributes object
    • last7Days object Required
      Hide last7Days attributes Show last7Days attributes object
  • Unauthorized

  • Forbidden

GET /api/dashboard/users/new
curl \
 -X GET https://[tenant_id].logto.app/api/dashboard/users/new \
 -H "Authorization: Bearer $ACCESS_TOKEN"
Response examples (200)
{
  "today": {
    "count": 42.0,
    "delta": 42.0
  },
  "last7Days": {
    "count": 42.0,
    "delta": 42.0
  }
}