Get One Customer
Retrieve a single customer’s full profile details using their unique UID via SenderWiz Admin API.
👤 Get One Customer
Fetch the full profile details of a single customer from your SenderWiz account using the Admin API.
🔹 HTTP Request
GET ADMIN-API-URL/customers/CUSTOMER-UID
🔸 URL Segments
Segment
Type
Required
Description
CUSTOMER-UID
string
Yes
Unique identifier of the customer
🔐 Authorization Header
Include your Admin API key:
X-ADMIN-API-KEY: your-admin-api-key-here
💻 PHP Example
// GET ONE CUSTOMER
$response = $endpoint->getCustomer('ab382plq98zr7');
// DISPLAY RESPONSE
echo '<hr /><pre>';
print_r($response->body);
echo '</pre>';
📦 Sample JSON Response
{
"status": "success",
"customer": {
"customer_uid": "ab382plq98zr7",
"first_name": "Emma",
"last_name": "Waters",
"email": "[email protected]",
"status": "active",
"group": "Pro-Group",
"timezone": "UTC",
"company": {
"name": "Waters Consulting Ltd.",
"country": "Canada",
"zone": "Ontario",
"city": "Toronto",
"zip_code": "M5V3L9",
"address_1": "123 Queen St W",
"address_2": "Suite 400"
}
}
}
Last updated