Get 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
{
"status": "success",
"data": {
"permissions": [
{
"type": "menu",
"key": "lists",
"value": "yes"
},
{
"type": "action",
"key": "campaign_send",
"value": "no"
}
]
}
}
🧾 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