How to "GET" members through the API
In this article, we will be going over how to "get" members using the /get API by email or any other column using these query parameters.
Important Note
This process can be used also for leads APIs and posts to search a lead or post by a column.
How to "get" Members
It is possible to "get" the member by email or any other column using the following query:
curl --location 'https://stufebruary18997.directoryup.com/api/v2/user/get?property=email&property_value=sample%40sample.com' \
--header 'X-Api-Key: a4dec6f5434c48b4c8d128567923e040'
Pagination
If results return blank, the reason could be that there are too many results to display in a single call, this is where having pagination comes into play. Set a limit between 20 and 100 in the limit field to show the amount of results per page.
This will return the code for next and previous page to be able to navigate across pages. By adding that code in the to the page field, the results will refresh with the next page.