Admin
Get lead/trial users with trial status, paginated
get/api/admin/lead-users
Request
- Base URLhttps://api.rewritelifestyle.ai (the document declares no server; this is the origin it was published from)
- URLhttps://api.rewritelifestyle.ai/api/admin/lead-users
- AuthHTTP bearer
Query parameters
pagestring
Page number (1-indexed). Default 1.
limitstring
Page size (1-100). Default 50.
searchstring
Match against email or first/last name.
filterstring
all | new | active | expiring_soon | expired
Response
unknown required
Example response
{
"success": true,
"leads": [
{
"id": 7,
"email": "lead@example.com",
"firstName": "Lead",
"lastName": "User",
"trialExpiresAt": "2026-03-01T00:00:00.000Z",
"trialStatus": "active",
"daysRemaining": 9
}
],
"total": 240,
"page": 1,
"limit": 50,
"stats": {
"active": 180,
"expiringSoon": 12,
"expired": 40,
"new": 8
}
}Changes
No recorded changes to this operation across all 34 revisions of this API.