cURL
curl --request POST \ --url https://campaigns.pingmee.co.il/customers \ --header 'Content-Type: application/json' \ --header 'Cookie: <api-key>' \ --header 'x-api-key: <api-key>' \ --data ' { "lastEvaluatedKey": {}, "limit": 25 } '
{ "customers": [ { "profileImage": "<string>", "customerName": "<string>", "customerNickname": "<string>", "createdAt": 123, "lastActiveAt": 123, "email": "[email protected]", "platform": "whatsapp", "phoneNumberId": "<string>", "countryCode": "<string>", "associatedTo": "<string>", "parsedPhoneNumber": "<string>" } ], "hasMoreItemsToFetch": true, "lastEvaluatedKey": {} }
Returns all customers using pagination
Optionally provide pagination parameters to retrieve the next page of customers.
Key returned from the previous request. Pass this value to fetch the next page of results.
Maximum number of customers to return.
1 <= x <= 100
Customers
List of customers returned for this page of results.
Show child attributes
If present, call the same endpoint again and pass this value as lastEvaluatedKey to retrieve the next page of results. Pagination is cursor-based, not page-number based.
lastEvaluatedKey