Admin

Search users and agents

Search for users and agents based on various criteria

get/api/admin/search

Query parameters

emailstring

Partial match for email address (users only)

namestring

Partial match for name

walletAddressstring

Partial match for wallet address (users only)

status'active' | 'suspended' | 'deleted'

Filter by status

searchType'users' | 'agents' | 'both'

Type of entities to search

Response

Search results

successboolean

Operation success status

searchTypestring

Type of search performed

Example response

{
  "results": {
    "users": [
      {
        "type": "user"
      }
    ],
    "agents": [
      {
        "type": "agent"
      }
    ]
  }
}

Changes