"Get Member" through fields other than Member ID (1.0 API)
under review
T
Thomas de Jong
Curretly the "Get Member" API request only supports id, like this: https://api.memberstack.com
/v1/members/123
I also use custom field which can be used to identify users and which are less privacy concering. It would be good to also get users on e.g. /name/Thomas. Where the key is name and the value Thomas.
Marcel Fenerich
Hey all. It would be amazing if we could at least get an user by email.
Naitik Mehta
Merged in a post:
Using the API to filter members
B
Blanca Alonso
I would like to use the API and filter all the member's id by either a membership plan or by website.
Right now I can only get the current logged in user's id.
T
Thomas de Jong
I would also really like this. Raised a simsimilarilair request here https://memberstack.canny.io/problems/p/get-member-on-custom-field-instead-of-memberstack-user-id
Naitik Mehta
under review
Naitik Mehta
Thomas de Jong thanks for the note here. Would having a full text search endpoint would work for your use-case? Eg: Where it could perform a search based on email, customFields, metadata, etc.
T
Thomas de Jong
Naitik Mehta: Thanks for the reply! Yes that would (I assume) work. It depends on the search functionality, could you tell me more on how it works?
You mention email, customFields, metadata, but is it possible to specify the search fields where the system looks for a given query.
Let me demonstrate how that could look:
api/members/search?location=customFields/favorite_color&query=blue
Specifying the location would help import the efficiency (speed and load on the server) and accuracy of the search (only return members where the favorite color is blue and leave out those who have "blue" in other customFields or metadata.
Naitik Mehta
Thomas de Jong: Apologies for the slight delay here, I've asked our engineering team to elaborate on this and will keep you updated! 🙏
T
Thomas de Jong
Currently working with specific ID's for QR codes. Each user gets a specific qr_id. Which they use throughout the service we offer. It would be good to get the details of a user via /v1/members/qr_id/1