user-lockGet Subaccount Permissions

Retrieve the current permission settings of a subaccount (child user) under your SenderWiz account.

πŸ” Get Subaccount Permissions

Fetch the permission configuration for a specific subaccount using their unique ID (CHILD-UNIQUE-ID).


πŸ”Ή HTTP Request

GET API-URL/children/CHILD-UNIQUE-ID/permissions

πŸ”Έ URL Segments

Segment
Required
Description

CHILD-UNIQUE-ID

βœ…

Unique identifier of the subaccount


πŸ” Authorization Header

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

πŸ’» PHP Example

// GET SUBACCOUNT PERMISSIONS
$response = $endpoint->getChildPermissions('8e12c91b4a2d1');

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

πŸ“¦ Sample JSON Response


🧾 Notes

  • You can manage subaccount access levels through permissions.

  • Combine this with the update permissions endpoint to enable/disable features for team members.

Last updated