curl --request GET \
--url https://api.keymint.dev/customer \
--header 'Authorization: Bearer <token>'
{
"action": "getCustomers",
"status": true,
"data": [
{
"id": "c9cbdf88f01f516815a59f",
"name": "Test Customer",
"email": "test@example.com",
"active": true,
"createdAt": "2025-09-01T14:46:10.932Z",
"updatedAt": "2025-09-01T14:46:10.622Z",
"createdBy": "928b9f01e54dc6a2ed6769"
},
{
"id": "10ba13e31f4dcf12368343",
"name": "License Test Customer",
"email": "license@example.com",
"active": true,
"createdAt": "2025-09-01T18:39:21.857Z",
"updatedAt": "2025-09-01T18:39:21.372Z",
"createdBy": "928b9f01e54dc6a2ed6769"
},
{
"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 a list of all customers associated with the authenticated user’s account
curl --request GET \
--url https://api.keymint.dev/customer \
--header 'Authorization: Bearer <token>'
{
"action": "getCustomers",
"status": true,
"data": [
{
"id": "c9cbdf88f01f516815a59f",
"name": "Test Customer",
"email": "test@example.com",
"active": true,
"createdAt": "2025-09-01T14:46:10.932Z",
"updatedAt": "2025-09-01T14:46:10.622Z",
"createdBy": "928b9f01e54dc6a2ed6769"
},
{
"id": "10ba13e31f4dcf12368343",
"name": "License Test Customer",
"email": "license@example.com",
"active": true,
"createdAt": "2025-09-01T18:39:21.857Z",
"updatedAt": "2025-09-01T18:39:21.372Z",
"createdBy": "928b9f01e54dc6a2ed6769"
},
{
"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
}
Access token for API authentication
Successfully retrieved all customers
The response is of type object
.