> For the complete documentation index, see [llms.txt](https://api.senderwiz.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://api.senderwiz.com/customer/subaccounts/get-subaccount-permissions.md).

# Get Subaccount Permissions

### 🔐 Get Subaccount Permissions

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

***

#### 🔹 HTTP Request

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

***

#### 🔸 URL Segments

| Segment           | Required | Description                         |
| ----------------- | -------- | ----------------------------------- |
| `CHILD-UNIQUE-ID` | ✅        | Unique identifier of the subaccount |

***

#### 🔐 Authorization Header

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

***

#### 💻 PHP Example

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

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

***

#### 📦 Sample JSON Response

```json
{
  "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.
