Skip to content

Commit c51a97e

Browse files
Note about secure data and accounts api
To clarify case where founder wanted org info to be passed this way.
1 parent 053c2c9 commit c51a97e

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

src/content/docs/developer-tools/account-api/about-account-api.mdx

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,13 @@ relatedArticles:
1010

1111
Kinde's [Account API](https://docs.kinde.com/kinde-apis/frontend/) uses a users access token to grab data like roles, permissions, profile, billing entitlements, etc. These details can be called from a browser as the call is scoped to the user who the token is for.
1212

13-
## Examples for using the Account API
13+
<Aside>
14+
15+
Some data is intentially not available via the Accounts API. For example, plan entitlements information for organizations. This is because Accounts API data is surfaced via a browser token and passing data this way is less secure. Access the Kinde Management API to access secure data. Or contact support for guidance.
16+
17+
</Aside>
18+
19+
## When to use the Kinde Account API
1420

1521
- `properties` - show a specific promotion for users in certain regions or industries
1622
- `feature flags` - roll out beta features for a subset of users

0 commit comments

Comments
 (0)