Fetch a Customer by ID
This endpoint allows you to fetch details of a customer using their unique ID.
Endpoint: GET {baseurl}/v1/api/customer/id/{id}
Path Parameter
| Parameter | Type | Required | Description |
|---|---|---|---|
id | string | Yes | The unique identifier of the customer. |
Sample Request
curl -X GET "{baseurl}/v1/api/customer/id/{id}" \
-H "x-api-key: {API-KEY}"Sample Response
{
"id": "12345",
"primaryEmail": "test@denrox.com",
"businessName": "Denrox PLC.",
"secondaryEmails": [
"test@denrox.com"
],
"primaryPhoneNumber": "+1234567890",
"type": "individual",
"secondaryPhoneNumbers": [
"+1234567890"
],
"firstName": "John",
"lastName": "Doe",
"middleName": "developer",
"country": "USA",
"state": "Delaware",
"dateOfBirth": "2025-01-01"
}