Admin

List users with pagination and filtering

Changed on
get/api/admin/users

Request

  • Base URL
    https://api.rewritelifestyle.ai (the document declares no server; this is the origin it was published from)
  • URL
    https://api.rewritelifestyle.ai/api/admin/users
  • Auth
    HTTP bearer

Query parameters

pagestring
limitstring
rolestring
activestring
searchstring
program_statusstring
is_adminstring
include_deletedstring

Include soft-deleted users in the list. Pass "true" to include. Soft-deleted users are always included when search is set.

dateFromstring

ISO date YYYY-MM-DD; filters on created_at

dateTostring

ISO date YYYY-MM-DD; filters on created_at (inclusive)

is_internalstring

Staff/tester accounts. "true" = only internal, "false" = exclude internal, omit = all.

sold_bystring

Sales rep (V2-07), case-insensitive, from the user's latest GHL provisioning row. Each user in the response carries sold_by (null when not provisioned from GHL).

Changes