Get sub-user by ID

Retrieve a specific sub user, along with the plans.

Get a sub user by id

get
Authorizations
Path parameters
idstringRequired
Responses
200
Successful response
application/json
get
GET /api/sub-users/{id} HTTP/1.1
Host: reseller.flashproxy.io
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
  "success": true,
  "sub_user": {
    "id": "text",
    "name": "text",
    "email": "text",
    "proxy_username": "text",
    "proxy_password": "text",
    "reseller_plans": [
      {
        "id": 1,
        "proxy_type": "text",
        "start_date": "2025-08-01T22:53:31.159Z",
        "end_date": "2025-08-01T22:53:31.159Z",
        "max_bytes": "text",
        "bytes_used": "text",
        "status": "ACTIVE",
        "createdAt": "2025-08-01T22:53:31.159Z",
        "proxyList": [
          "text"
        ]
      }
    ]
  }
}

Last updated