From 88176132c3afae407cb5ea3619372fcdf27933c7 Mon Sep 17 00:00:00 2001 From: Tamal Chowdhury Date: Thu, 2 Jul 2026 16:00:34 +0600 Subject: [PATCH 1/2] update the kinde account api --- .../account-api/about-account-api.mdx | 74 +++++++++++++------ 1 file changed, 51 insertions(+), 23 deletions(-) diff --git a/src/content/docs/developer-tools/account-api/about-account-api.mdx b/src/content/docs/developer-tools/account-api/about-account-api.mdx index aefc0417a..97cdbf73f 100644 --- a/src/content/docs/developer-tools/account-api/about-account-api.mdx +++ b/src/content/docs/developer-tools/account-api/about-account-api.mdx @@ -1,54 +1,82 @@ --- page_id: b338c2df-0bba-4d47-bcac-0fe540aef3c2 -title: About Kinde's Account API -description: "Overview of Kinde's Account API for accessing user data like roles, permissions, profile, and billing entitlements using browser-scoped access tokens" +title: Use Kinde Account API to access user data from your app +description: "Access user roles, permissions, billing entitlements, and profile data from your app with Kinde's browser-scoped Account API." sidebar: order: 1 + label: Use Kinde Account API relatedArticles: - 50284476-2442-414c-af20-01ed3ef4ca4e - 51899f7f-3436-46e0-9a1b-6ecc3603a0df topics: - developer-tools - account-api -sdk: [] -languages: [] + - access-tokens +sdk: + - nextjs +languages: + - typescript + - javascript audience: - developers complexity: intermediate keywords: - account api - user access token - - roles - - permissions - - profile - billing entitlements - feature flags - - properties -updated: 2024-01-15 + - user profile + - roles and permissions + - browser-scoped token + - self-serve portal +updated: 2026-07-02 featured: false deprecated: false -ai_summary: Overview of Kinde's Account API for accessing user data like roles, permissions, profile, and billing entitlements using browser-scoped access tokens +ai_summary: "Overview of Kinde's Account API for retrieving user data from browser-scoped access tokens. Explains how the API uses a logged-in user's access token to fetch roles, permissions, profile information, billing entitlements, feature flags, and properties. Covers setup steps including obtaining an access token via a Kinde SDK or manual OAuth flow, and calling Account API endpoints with Bearer authentication. Describes common use cases such as gating features by billing entitlements, offloading large JWT claims, redirecting users to the self-serve portal, and accessing or revoking user sessions via the user_profile endpoint. Notes that most Account API data is read-only due to browser token security constraints, and points to the Kinde Management API for write operations. Intended for developers integrating user data access into frontend or full-stack applications." --- -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. +Kinde's [Account API](https://docs.kinde.com/kinde-apis/frontend/) uses a user's access token to retrieve data like roles, permissions, profile, billing entitlements, and more. You can call these endpoints from a browser because each request is scoped to the user the token represents. -