https://supertokens.com/ logo
Title
k

kamyab

11/11/2022, 5:48 AM
can we have api for get users list by name? for backend. simply i want to create functionality with input. so whenever user will press @ we have to show the user list. then user will press the some keyword(name),based on that keyword we will get the user list.
r

rp

11/11/2022, 5:53 AM
hey @kamyab we don't have an API like that at the moment. Until we make one, the best way for you to achieve that is to store the names to userId mapping on your database and search that.
k

kamyab

11/11/2022, 6:05 AM
you mean to say create one new table with user mapping. with user id and name?
r

rp

11/11/2022, 6:13 AM
yea. In your own db. And use that for search
k

kamyab

11/11/2022, 6:22 AM
ok let me check