How to list all users thorugh api.
How to list all users thorugh api.
Hi, currently you can’t fetch admin users through the API.
What’s the use case, what are you trying to do to automate getting an account’s users (and possibly their roles)?
In klavyo we can invite or add member in same account. In krispcall integration with klaviyo, we have the ability to integrate with different member of klaviyo. While integrating klaviyo from our platform, we want to save the user_id of logged in member of klaviyo in our database . since there is not api regarding getting current user api or to list the user api , we are not able to save it in our database. There is only account api which return account id which is same for all user.
Hi, even if the API could fetch a list of account users, there’d still be no concept of “the current/logged in user”. API calls happen outside of a browser session and aren’t tied to a specific account (rather, each key has a set of access scopes).
After inspecting in browser tab , there is api to list all users which is
https://www.klaviyo.com/ajax/account/users/get, but this api is not accessible . We want api which give us the logged in user deatail after perfroming oAuth with klaviyo.
Hi
The ajax calls can only be made in the context of a logged-in browser session, not the API.
With that said, I have submitted a feature request for “get all users” on your behalf.
~Chloe
This discussion on API integration is super helpful! APIs play such a critical role in streamlining data and enhancing workflows in Klaviyo. Thanks for sharing these insights it's always great to learn more about optimizing API usage. Looking forward to more discussions like this!
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.