API Docs
Subaccount Management
Get Subaccounts

Get Subaccounts

Retrieves the list of subaccounts that you have access to.

Example

query getSubaccounts {
  users(first: 100) {
    nodes {
      rowId
      username
    }
  }
}

Response

{
  "data": {
    "users": {
      "nodes": [
        {
          "rowId": 1,
          "username": "subaccount_1"
        },
        {
          "rowId": 2,
          "username": "subaccount_2"
        }
      ]
    }
  }
}

Fields

  • first (Int) Only read the first n values of the set.