Welcome to the Kinde community

Updated 2 weeks ago

Retrieve List of Users by ID Using Management API

Hi, how can I retrieve a list of users by ID using the management API?

I have tried to use:

/api/v1/users?user_id=1234&user_id=5678
But this gives me an error that the userId provided is not valid. When I pass a singular one it works fine. But ideally I want to retrieve the users I need within one API call.

J
D
P
8 comments

You need to use the Kinde ID, not your own internal ID

Hi @Jono Feist the ID's I provided above are an example value. I use the Kinde ID provided by Kinde itself for the API call. My issue lies specifically with retrieving multiple users using a single API call as described above.

Ah, I see. I'm not a member of the Kinde team (I'm also an implementor like yourself). So, I can't speak authoritatively on it, but as far as I know, it doesn't look like this is something the current version of the API supports

Hi @Jono Feist

Currently this endpoint only accepts a single user_id we plan to update this soon to allow multiple, you can however pass multiple emails to return many users. Will this work for you? If not I can chase the change for multiple IDs.

Thank you

Hi @Daniel Rivers - Kinde, yes it would be nice if it's allowed to pass multiple user_id . Sadly adding multiple emails is not possible in my scenario, so the multiple user_id would be a great optimization. Thanks for the explanation!

Hi @Jono Feist, I am discussing this with our API team and will let you know when we can get this updated.

I believe you mean Damian

You're right @Damian Sauren see above

Add a reply
Sign up and join the conversation on Slack