cURL
curl --request GET \ --url https://api.keymint.dev/customer/by-id \ --header 'Authorization: Bearer <token>'
{ "action": "getCustomerById", "status": true, "data": [ { "id": "078116d0069c32407b4f63", "name": "Test Customer", "email": "test-1756752334256@example.com", "active": true, "createdAt": "2025-09-01T18:45:38.060Z", "updatedAt": "2025-09-01T18:45:38.060Z", "createdBy": "928b9f01e54dc6a2ed6769" } ], "code": 0 }
Retrieves detailed information about a specific customer by their unique ID
Access token for API authentication
The unique identifier of the customer
Successfully retrieved customer information
The response is of type object.
object