> ## Documentation Index
> Fetch the complete documentation index at: https://docs.proxylane.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# List sub-accounts



## OpenAPI

````yaml /resellers/openapi.json get /subaccounts
openapi: 3.1.0
info:
  title: ProxyLane Reseller API
  version: 1.0.0
  description: Residential traffic, sub-accounts, proxy generation and static ISP IPs.
servers:
  - url: https://proxylane.dev/api/v1
security:
  - bearer: []
paths:
  /subaccounts:
    get:
      summary: List sub-accounts
      operationId: listSubaccounts
      parameters:
        - name: status
          in: query
          schema:
            type: string
            enum:
              - active
              - suspended
              - deleted
              - all
          description: Without it, every sub-account that is not deleted
        - name: search
          in: query
          schema:
            type: string
          description: Part of the name, or an exact external_id
        - name: page
          in: query
          schema:
            type: integer
            minimum: 1
        - name: per_page
          in: query
          schema:
            type: integer
            minimum: 1
            maximum: 200
            default: 50
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    type: array
                    items:
                      $ref: '#/components/schemas/Subaccount'
                  meta:
                    type: object
                    properties:
                      page:
                        type: integer
                      per_page:
                        type: integer
                      total:
                        type: integer
                      last_page:
                        type: integer
components:
  schemas:
    Subaccount:
      type: object
      properties:
        id:
          type: string
          format: uuid
        name:
          type: string
        external_id:
          type:
            - string
            - 'null'
        status:
          type: string
          enum:
            - provisioning
            - active
            - no_traffic
            - suspended
            - attention
            - deleting
            - deleted
        updating:
          type: boolean
          description: A traffic or status change is being applied
        traffic_limit_bytes:
          type: integer
        traffic_limit_gb:
          type: number
        traffic_used_bytes:
          type: integer
        traffic_used_gb:
          type: number
        traffic_available_bytes:
          type: integer
        traffic_available_gb:
          type: number
        traffic_returning_bytes:
          type: integer
        traffic_returning_gb:
          type: number
        traffic_used_24h_bytes:
          type: integer
        traffic_used_24h_gb:
          type: number
        login:
          type:
            - object
            - 'null'
          properties:
            host:
              type: string
            port:
              type: integer
            username:
              type: string
            password:
              type: string
        login_warming_until:
          type:
            - string
            - 'null'
          format: date-time
          description: A new login may be rejected by some gateways until then
        issue_code:
          type:
            - string
            - 'null'
        created_at:
          type: string
          format: date-time
        last_synced_at:
          type:
            - string
            - 'null'
          format: date-time
  securitySchemes:
    bearer:
      type: http
      scheme: bearer
      description: A reseller key from the panel, starting with plr_

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.