Reseller API: overview

    What an RH7 reseller can do through the API: create customers, distribute GB, buy balance, receive alerts and track everything without leaving your system.

    View as Markdown

    The reseller API is for anyone who sells RH7 proxies under their own brand. With it, your system creates customers, delivers GB, buys balance and receives alerts, without anyone needing to open the panel. The reseller panel keeps working alongside it: everything the API does shows up there, and the other way around.

    To get access, you must be an active reseller. The terms are at Become a reseller.

    How the balance works

    1. You buy GB for your balance, at the reseller price (in the panel or with POST /pool/orders).
    2. You create a customer (subuser). They get their own proxy, with a username and password.
    3. You move GB from your balance to the customer. Their proxy starts working right away.
    4. The customer uses it. When their GB runs out, you give them more.

    Right now, reseller customers use the Residential Proxy.

    Address

    text
    https://api.rh7proxys.com

    Reseller routes sit right at the root, for example https://api.rh7proxys.com/auth/me. The same address also serves the client API on the /v1/ routes with rh7k_ keys.

    Reseller key

    Create it in the panel, under Reseller > API Keys. The key starts with rh7_ (older rh7r_ keys still work) and is shown only once.

    http
    x-api-key: rh7_your_key

    or

    http
    Authorization: Bearer rh7_your_key

    The key can have an IP list and an expiration date. From outside the list, the response is 403 ip_not_allowed.

    Permissions

    PermissionWhat it allows
    readAll queries (GET)
    subusers:writeCreate, edit and delete customers
    traffic:writeMove GB to customers
    billing:writeBuy GB for your balance
    webhooks:writeRegister, change and test webhooks
    *Everything

    Without the permission, the response is 403 insufficient_scope with the required field.

    Limits

    • 120 calls per minute per key. Above that: 429 rate_limited with the Retry-After header.
    • Creating customers has its own limit against abuse. When you go over it, the response is also 429.

    Error format

    The reseller API returns errors like this:

    json
    { "error": "insufficient_pool", "required_gb": 10 }

    The error field is a fixed lowercase code. Each page lists the codes for its routes.

    Route map

    MethodRouteWhat for
    GET/auth/meReseller and key details
    GET/quota/meYour GB balance
    GET/pool/packagesGB packages with your price
    POST/pool/ordersBuy GB by Pix, card or crypto
    GET/pool/ordersGB purchase history
    GET/pool/orders/{id}Purchase status
    GET/subusersList customers
    POST/subusersCreate a customer
    GET/subusers/{id}Customer details
    PATCH/subusers/{id}Change name, location, connection limit, blocked websites and status
    DELETE/subusers/{id}Delete a customer
    GET/subusers/{id}/credentialsUsername and password of the customer's proxy
    POST/subusers/{id}/allocate-gbMove GB to the customer
    GET/usage/user/{username}Usage by proxy username
    GET/POST/webhooksList and register alerts
    GET/PATCH/DELETE/webhooks/{id}View, change and delete an alert
    POST/webhooks/{id}/testSend a test alert
    GET/PATCH/webhooks/settingsBalance alert thresholds
    GET/webhooks/deliveriesAlert deliveries
    GET/api-logsCall history

    Details are in Customers and GB, Balance and buying GB, Webhooks and Call history.

    Quick test

    bash
    curl https://api.rh7proxys.com/auth/me \
      -H "x-api-key: rh7_your_key"
    json
    {
      "reseller": { "id": "uuid", "status": "active", "slug": "minha-marca", "current_period_end": "2026-12-26T00:00:00Z" },
      "api_key": { "id": "uuid", "prefix": "rh7_ab12cd34", "scopes": ["*"] }
    }

    Removed routes

    Old routeUse now
    POST /auth/login (email and password)Key created in the panel
    /wallet/* and POST /gb/purchasePOST /pool/orders
    POST /subusers/{id}/register-consumptionUsage is read automatically

    The old routes respond with 410 and the new path.