Get All Customer Groups
Retrieve a complete list of all customer groups available in your SenderWiz account.
π Get All Customer Groups
Fetch and display the full list of customer groups created in your SenderWiz account, including group names, customer counts, and timestamps.
πΉ HTTP Request
GET ADMIN-API-URL/groupsπΈ Query Parameters
Parameter
Default
Description
page
1
Current page to retrieve.
per_page
10
Number of records per page.
π Authorization Header
X-ADMIN-API-KEY: your-admin-api-key-hereπ» PHP Example
// GET ALL CUSTOMER GROUPS
$response = $endpoint->getCustomerGroups($pageNumber = 1, $perPage = 10);
// DISPLAY RESPONSE
echo '<hr /><pre>';
print_r($response->body);
echo '</pre>';π¦ Sample JSON Response
Last updated