KindeK
Kinde2y ago
7 replies
mariodebono

Get Users with Kind TS-SDK

I have just started out with the Typescript Sdk with Nestjs and the Kinde Api to get Users and I have few Questions about behaviour and usage (tried both from postman and SDK)

1. the documentation at https://kinde.com/api/docs/#list-users says
"Specify additional data to retrieve. Use "organizations" and/or "identities"."
what is the correct format to pass both Oganizations and Identities, tried some combinations and got 550s back

2. the user_id does not seem to do anything, is this a bug or am I using it incorrectly?
?user_id=kp_e123abs...


3. the next_token always returns a value event when there is no more data to get, will this be changed to return null if there is no more data, or should I always call the api at least twice?

Thanks
Was this page helpful?