Skip to content

Commit 3c83ccc

Browse files
Merge pull request #478 from kinde-oss/Fix/API-billing-entitlements-for-orgs
Fix/api billing entitlements for orgs
2 parents 3ce119e + c51a97e commit 3c83ccc

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

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

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,19 @@ 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
1723
- `permissions` - only give access to certtain parts of your app based on permissions
1824
- `roles` - restrict access to functions by role, e.g. admins.
25+
- `entitlements` - to enable individual users to see plan entitlements
1926

2027
## Access the Account API
2128

0 commit comments

Comments
 (0)