List customers
This endpoint returns customers that match the requirements given in the API request. For example, it allows you to filter customers based on externalId or email.<br><br> Note: One of the parameters: either externalId or email is required. <br><br>The recommended limit for checking if a user is registered using an email address is: 1.
Request
- Base URLhttps://api.sandbox.cleeng.com/3.1
- URLhttps://api.sandbox.cleeng.com/3.1/customers
- AuthAPI key in header X-Publisher-Token
Query parameters
From which element you want to get results. Helpful in pagination.
Number of results you want to retrieve. E.g. if you want to display 10 customers per page, and you are on the third, just set the limit to 10 and offset to 20.
Set an external ID of a customer to return only customers with this external ID. Required if email is not provided.
Set an email address of the user, to get detailed information about the user's account. Required if externalId is not provided.
Headers
Response
200
Example response
{
"success": true,
"data": [
{
"id": 420980622,
"email": "email@domain.com",
"country": "AT",
"regDate": "2020-01-13 10:21:35",
"lastLoginDate": "2020-01-13 10:21:35",
"lastUserIp": "213.156.120.102",
"currency": "AUD",
"locale": "en_US",
"externalId": "jdh545dh345",
"externalData": {
"data": "data"
}
}
],
"message": "Customers list fetched successfully"
}Changes
No recorded changes to this operation across all 1 revision of this API.