usersGet All Subaccounts

Retrieve all subaccounts (team members) associated with the current customer account.

📥 Get All Subaccounts

This endpoint fetches a list of all active subaccounts (children) under the current logged-in customer.


🔹 HTTP Request

GET API-URL/children

🔐 Authorization Header

X-API-KEY: your-api-key-here

💻 PHP Example

// GET ALL SUBACCOUNTS
$response = $endpoint->getChildren();

// DISPLAY RESPONSE
echo '<hr /><pre>';
print_r($response->body);
echo '</pre>';

📦 Sample JSON Response


🧾 Notes

  • Only subaccounts under the authenticated customer account will be listed.

  • Pagination parameters (if supported) can be added for extended results.

Last updated