# Stytch Docs: API & SDK reference B2B API B2B API ## B2B API - [B2B SaaS Authentication API Reference](https://stytch.com/docs/api-reference/b2b/api/overview.md): Use the Stytch B2B API to build multi-tenant authentication for your application. - [Backend SDKs](https://stytch.com/docs/api-reference/b2b/api/sdks.md): Explore Stytch's official backend SDKs for Python, Go, Node, Ruby, and Java/Kotlin. ### Endpoints #### Organizations - [Organizations overview](https://stytch.com/docs/api-reference/b2b/api/organizations/overview.md): Manage multi-tenant organizations using the Stytch API. - [Organization Object](https://stytch.com/docs/api-reference/b2b/api/organizations/organization-object.md) - [Create Organization](https://stytch.com/docs/api-reference/b2b/api/organizations/create-organization.md): Create a new Organization using the Stytch B2B API. - [Get Organization](https://stytch.com/docs/api-reference/b2b/api/organizations/get-organization.md): Get an Organization using the Stytch B2B API. - [Update Organization](https://stytch.com/docs/api-reference/b2b/api/organizations/update-organization.md): Update an Organization using the Stytch B2B API. - [Search Organizations](https://stytch.com/docs/api-reference/b2b/api/organizations/search-organizations.md): Search Organizations using the Stytch B2B API. - [Delete Organization](https://stytch.com/docs/api-reference/b2b/api/organizations/delete-organization.md): Delete an Organization using the Stytch B2B API. - [Delete Organization External ID](https://stytch.com/docs/api-reference/b2b/api/organizations/delete-organization-external-id.md): Delete an Organization's external ID using the Stytch B2B API. #### Members - [Members overview](https://stytch.com/docs/api-reference/b2b/api/members/overview.md): Manage organization members using the Stytch API - [Member Object](https://stytch.com/docs/api-reference/b2b/api/members/member-object.md): The Member Object represents an individual end user's account belonging to a specific Organization, uniquely identified within that Organization by their email address. - [Create Member](https://stytch.com/docs/api-reference/b2b/api/members/create-member.md): Create a new Member using the Stytch B2B API. - [Get Member](https://stytch.com/docs/api-reference/b2b/api/members/get-member.md): Get a Member using the Stytch B2B API. - [Get Member (Dangerous)](https://stytch.com/docs/api-reference/b2b/api/members/get-member-dangerous.md): Dangerously get a Member using the Stytch B2B API. - [Update Member](https://stytch.com/docs/api-reference/b2b/api/members/update-member.md): Update a Member using the Stytch B2B API. - [Reactivate Member](https://stytch.com/docs/api-reference/b2b/api/members/reactivate-member.md): Reactivate a deleted Member using the Stytch B2B API. - [Search Members](https://stytch.com/docs/api-reference/b2b/api/members/search-members.md): Search Members using the Stytch B2B API. - [Unlink Retired Email](https://stytch.com/docs/api-reference/b2b/api/members/unlink-retired-email.md): Unlink and remove retired emails from a Member using the Stytch B2B API. - [Start Member Email Update](https://stytch.com/docs/api-reference/b2b/api/members/start-member-email-update.md): Start a self-serve email update for a Member using the Stytch B2B API. - [Delete Member](https://stytch.com/docs/api-reference/b2b/api/members/delete-member.md): Delete a Member using the Stytch B2B API. - [Delete Member Password](https://stytch.com/docs/api-reference/b2b/api/members/delete-member-password.md): Delete a Member's password using the Stytch B2B API. - [Delete Member MFA Phone Number](https://stytch.com/docs/api-reference/b2b/api/members/delete-member-mfa-phone-number.md): Delete a Member's MFA phone number using the Stytch B2B API. - [Delete Member MFA TOTP](https://stytch.com/docs/api-reference/b2b/api/members/delete-member-mfa-totp.md): Delete a Member's MFA TOTP registration using the Stytch B2B API. - [Delete Member External ID](https://stytch.com/docs/api-reference/b2b/api/members/delete-member-external-id.md): Delete a Member's external ID using the Stytch B2B API. #### Sessions - [Sessions overview](https://stytch.com/docs/api-reference/b2b/api/sessions/overview.md): Manage Member sessions with the Stytch Sessions API - [Session Object](https://stytch.com/docs/api-reference/b2b/api/sessions/session-object.md): The Session object represents an authenticated session for a specific Member - [Get JSON Web Key Set](https://stytch.com/docs/api-reference/b2b/api/sessions/get-jwks.md): Retrieve the JSON Web Key Set (JWKS) for verifying session JWTs in a Stytch B2B application - [Get Sessions](https://stytch.com/docs/api-reference/b2b/api/sessions/get-session.md): Retrieves all active Sessions for a Member - [Authenticate Session](https://stytch.com/docs/api-reference/b2b/api/sessions/authenticate-session.md): Authenticates a Session with a `session_jwt` or `session_token` - [Authenticate JWT](https://stytch.com/docs/api-reference/b2b/api/sessions/authenticate-jwt.md): Authenticate a session using a JSON Web Token (JWT) - [Exchange Session](https://stytch.com/docs/api-reference/b2b/api/sessions/exchange-session.md): Exchange an intermediate session token for a full Member Session - [Revoke Session](https://stytch.com/docs/api-reference/b2b/api/sessions/revoke-session.md): Revoke a Member Session, immediately invalidating the session token and JWT - [Migrate Session](https://stytch.com/docs/api-reference/b2b/api/sessions/migrate-session.md): Migrate a session from an external identity provider - [Attest Session](https://stytch.com/docs/api-reference/b2b/api/sessions/attest-session.md): Exchange an auth token issued by a trusted identity provider for a Stytch session. - [Exchange Connected Apps Access Token](https://stytch.com/docs/api-reference/b2b/api/sessions/exchange-access-token.md): Exchange an access token issued by a trusted identity provider for a Stytch session #### Discovery - [Discovery overview](https://stytch.com/docs/api-reference/b2b/api/discovery/overview.md): Help members find and join organizations they have access to using the Stytch API - [Discovered Organization Object](https://stytch.com/docs/api-reference/b2b/api/discovery/discovered-organization-object.md) - [Create Organization via Discovery](https://stytch.com/docs/api-reference/b2b/api/discovery/create-organization-via-discovery.md): Create a new Organization and Member via the B2B Discovery flow - [List Organizations](https://stytch.com/docs/api-reference/b2b/api/discovery/list-organizations.md): List all possible organization relationships connected to a Member Session or Intermediate Session. - [Exchange Intermediate Session](https://stytch.com/docs/api-reference/b2b/api/discovery/exchange-intermediate-session.md): Exchange an Intermediate Session for a fully realized Member Session for the Organization that the user wishes to log into #### RBAC - [RBAC overview](https://stytch.com/docs/api-reference/b2b/api/rbac/overview.md): Control access to resources using role-based permissions. - [Resource Object](https://stytch.com/docs/api-reference/b2b/api/rbac/resource-object.md) - [Role Object](https://stytch.com/docs/api-reference/b2b/api/rbac/role-object.md) - [Scope Object](https://stytch.com/docs/api-reference/b2b/api/rbac/scope-object.md) - [Get Policy](https://stytch.com/docs/api-reference/b2b/api/rbac/get-policy.md): Get the active RBAC Policy for the current Stytch Project. #### Email Magic Links - [Email Magic Links overview](https://stytch.com/docs/api-reference/b2b/api/email-magic-links/overview.md) ##### Organization - [Send Login or Signup Email](https://stytch.com/docs/api-reference/b2b/api/email-magic-links/organization/send-login-or-signup-email.md): Send a login or signup Email Magic Link to a member using the Stytch B2B API - [Send Invite Email](https://stytch.com/docs/api-reference/b2b/api/email-magic-links/organization/send-invite-email.md): Send an invite email to a new member using the Stytch B2B API - [Authenticate Magic Link](https://stytch.com/docs/api-reference/b2b/api/email-magic-links/organization/authenticate-magic-link.md): Authenticate an Email Magic Link with the Stytch B2B API ##### Discovery - [Send Discovery Email](https://stytch.com/docs/api-reference/b2b/api/email-magic-links/discovery/send-discovery-email.md): Send a discovery Email Magic Link using the Stytch B2B API - [Authenticate Discovery Magic Link](https://stytch.com/docs/api-reference/b2b/api/email-magic-links/discovery/authenticate-discovery-magic-link.md): Authenticate a discovery Email Magic Link with the Stytch B2B API #### Email One-Time Passcodes (OTPs) - [Email OTP overview](https://stytch.com/docs/api-reference/b2b/api/email-otp/overview.md): Authenticate users with Email One-Time Passcodes using the Stytch API ##### Organization - [Send Login or Signup OTP](https://stytch.com/docs/api-reference/b2b/api/email-otp/organization/send-login-or-signup-otp.md): Send a login or signup email OTP to a Member using the Stytch B2B API - [Authenticate OTP](https://stytch.com/docs/api-reference/b2b/api/email-otp/organization/authenticate-otp.md): Authenticate a Member with a one-time passcode (OTP) using the Stytch B2B API ##### Discovery - [Send Discovery OTP](https://stytch.com/docs/api-reference/b2b/api/email-otp/discovery/send-discovery-otp.md): Send a discovery OTP to an email address using the Stytch B2B API - [Authenticate Discovery OTP](https://stytch.com/docs/api-reference/b2b/api/email-otp/discovery/authenticate-discovery-otp.md): Authenticate a discovery one-time passcode (OTP) sent to an email address using the Stytch B2B API #### OAuth - [OAuth overview](https://stytch.com/docs/api-reference/b2b/api/oauth/overview.md): Authenticate users with OAuth providers using the Stytch API ##### Discovery - [Start Google Discovery](https://stytch.com/docs/api-reference/b2b/api/oauth/discovery/start-google.md): Start the Google OAuth discovery flow - [Start Microsoft Discovery](https://stytch.com/docs/api-reference/b2b/api/oauth/discovery/start-microsoft.md): Start the Microsoft OAuth discovery flow - [Start HubSpot Discovery](https://stytch.com/docs/api-reference/b2b/api/oauth/discovery/start-hubspot.md): Start the HubSpot OAuth discovery flow - [Start Slack Discovery](https://stytch.com/docs/api-reference/b2b/api/oauth/discovery/start-slack.md): Start the Slack OAuth discovery flow - [Start Github OAuth Discovery Flow](https://stytch.com/docs/api-reference/b2b/api/oauth/discovery/start-github.md): Start the Github OAuth discovery flow - [Authenticate OAuth Discovery Token](https://stytch.com/docs/api-reference/b2b/api/oauth/discovery/authenticate.md): Exchange a Discovery OAuth token for an Intermediate Session Token ##### Organization - [Start Google OAuth Organization Flow](https://stytch.com/docs/api-reference/b2b/api/oauth/organization/start-google.md): Start the Google OAuth flow for a specific Organization - [Start Microsoft OAuth Organization Flow](https://stytch.com/docs/api-reference/b2b/api/oauth/organization/start-microsoft.md): Start the Microsoft OAuth flow for a specific Organization - [Start HubSpot OAuth Organization Flow](https://stytch.com/docs/api-reference/b2b/api/oauth/organization/start-hubspot.md): Start the HubSpot OAuth flow for a specific Organization - [Start Slack OAuth Organization Flow](https://stytch.com/docs/api-reference/b2b/api/oauth/organization/start-slack.md): Start the Slack OAuth flow for a specific Organization - [Start Github OAuth Organization Flow](https://stytch.com/docs/api-reference/b2b/api/oauth/organization/start-github.md): Start the Github OAuth flow for a specific Organization - [Authenticate OAuth Organization Token](https://stytch.com/docs/api-reference/b2b/api/oauth/organization/authenticate.md): Authenticate a Member using an OAuth token for a specific Organization ##### Token - [Get Google OAuth Access Token](https://stytch.com/docs/api-reference/b2b/api/oauth/token/google.md): Retrieve the saved Google access token and ID token for a member - [Get Microsoft OAuth Access Token](https://stytch.com/docs/api-reference/b2b/api/oauth/token/microsoft.md): Retrieve the saved Microsoft access token and ID token for a member - [Get HubSpot OAuth Access Token](https://stytch.com/docs/api-reference/b2b/api/oauth/token/hubspot.md): Retrieve the saved HubSpot access token and ID token for a member - [Get Slack OAuth Access Token](https://stytch.com/docs/api-reference/b2b/api/oauth/token/slack.md): Retrieve the saved Slack access token and ID token for a member - [Get GitHub OAuth Access Token](https://stytch.com/docs/api-reference/b2b/api/oauth/token/github.md): Retrieve the saved GitHub access token and ID token for a member #### Single sign-on (SSO) - [SSO overview](https://stytch.com/docs/api-reference/b2b/api/sso/overview.md): Authenticate users with SAML and OIDC Single Sign-On using the Stytch API - [SAML Connection Object](https://stytch.com/docs/api-reference/b2b/api/sso/saml-connection-object.md) - [OIDC Connection Object](https://stytch.com/docs/api-reference/b2b/api/sso/oidc-connection-object.md) - [External Connection Object](https://stytch.com/docs/api-reference/b2b/api/sso/external-connection-object.md) ##### SAML - [Create SAML Connection](https://stytch.com/docs/api-reference/b2b/api/sso/saml/create-saml-connection.md): Create a new SAML Connection - [Update SAML Connection](https://stytch.com/docs/api-reference/b2b/api/sso/saml/update-saml-connection.md): Update an existing SAML Connection - [Update SAML Connection by Metadata URL](https://stytch.com/docs/api-reference/b2b/api/sso/saml/update-saml-connection-by-metadata-url.md): Update an existing SAML Connection using an IdP metadata URL - [Delete Encryption Private Key](https://stytch.com/docs/api-reference/b2b/api/sso/saml/delete-encryption-private-key.md): Delete a SAML Connection's encryption private key - [Delete SAML Verification Certificate](https://stytch.com/docs/api-reference/b2b/api/sso/saml/delete-saml-verification-certificate.md): Delete a SAML Connection's verification certificate ##### OIDC - [Create OIDC Connection](https://stytch.com/docs/api-reference/b2b/api/sso/oidc/create-oidc-connection.md): Create a new OIDC Connection - [Get OIDC Access Token](https://stytch.com/docs/api-reference/b2b/api/sso/oidc/get-oidc-access-token.md): Retrieve a saved OIDC access token for a member - [Update OIDC Connection](https://stytch.com/docs/api-reference/b2b/api/sso/oidc/update-oidc-connection.md): Update an existing OIDC Connection ##### External - [Create External Connection](https://stytch.com/docs/api-reference/b2b/api/sso/external/create-external-connection.md): Create a new External SSO Connection - [Update External Connection](https://stytch.com/docs/api-reference/b2b/api/sso/external/update-external-connection.md): Update an existing External SSO Connection ##### Shared - [Get SSO Connections](https://stytch.com/docs/api-reference/b2b/api/sso/shared/get-sso-connections.md): Retrieve all SSO Connections for an organization - [Delete SSO Connection](https://stytch.com/docs/api-reference/b2b/api/sso/shared/delete-sso-connection.md): Delete an existing SSO Connection - [Start SSO Authenticate](https://stytch.com/docs/api-reference/b2b/api/sso/shared/start-sso-authenticate.md): Start the SSO Authentication flow - [Complete SSO Authenticate](https://stytch.com/docs/api-reference/b2b/api/sso/shared/complete-sso-authenticate.md): Authenticate a user given an SSO token #### SCIM - [SCIM overview](https://stytch.com/docs/api-reference/b2b/api/scim/overview.md): Automate user provisioning and deprovisioning with SCIM using the Stytch API - [SCIM Connection Object](https://stytch.com/docs/api-reference/b2b/api/scim/scim-connection-object.md) - [SAML Signing Certificates](https://stytch.com/docs/api-reference/b2b/api/scim/saml-certificates.md) ##### Connection management - [Create SCIM Connection](https://stytch.com/docs/api-reference/b2b/api/scim/connection-management/create-scim-connection.md): Create a new SCIM connection for an organization - [Get SCIM Connection](https://stytch.com/docs/api-reference/b2b/api/scim/connection-management/get-scim-connection.md): Retrieve the SCIM connection for an organization - [Update SCIM Connection](https://stytch.com/docs/api-reference/b2b/api/scim/connection-management/update-scim-connection.md): Update an existing SCIM connection for an organization - [Delete SCIM Connection](https://stytch.com/docs/api-reference/b2b/api/scim/connection-management/delete-scim-connection.md): Delete the existing SCIM connection for an organization ##### Token management - [Start SCIM Token Rotation](https://stytch.com/docs/api-reference/b2b/api/scim/token-management/start-scim-token-rotation.md): Start the token rotation process for a SCIM connection - [Complete SCIM Token Rotation](https://stytch.com/docs/api-reference/b2b/api/scim/token-management/complete-scim-token-rotation.md): Complete the token rotation process for a SCIM connection - [Cancel SCIM Token Rotation](https://stytch.com/docs/api-reference/b2b/api/scim/token-management/cancel-scim-token-rotation.md): Cancel the token rotation process for a SCIM connection ##### SCIM groups - [Get SCIM Connection Groups](https://stytch.com/docs/api-reference/b2b/api/scim/scim-groups/get-scim-connection-groups.md): Retrieve a paginated list of all SCIM Groups associated with a given SCIM Connection #### Passwords - [Passwords overview](https://stytch.com/docs/api-reference/b2b/api/passwords/overview.md): Authenticate members with passwords using the Stytch API - [Authenticate](https://stytch.com/docs/api-reference/b2b/api/passwords/authenticate.md): Authenticates a Member with their email address and password. - [Discovery Authenticate](https://stytch.com/docs/api-reference/b2b/api/passwords/discovery-authenticate.md): Authenticates an email/password combination in the Discovery flow. - [Strength Check](https://stytch.com/docs/api-reference/b2b/api/passwords/strength-check.md): Checks the strength of a password according to your Project's password strength configuration. - [Migrate](https://stytch.com/docs/api-reference/b2b/api/passwords/migrate.md): Migrates a password from your existing system to Stytch for a specific Member. ##### Create or Reset Options - [Password Reset by Email Start](https://stytch.com/docs/api-reference/b2b/api/passwords/create-or-reset-options/password-reset-by-email-start.md): Initiates a password reset for a Member via email. - [Password Reset by Email](https://stytch.com/docs/api-reference/b2b/api/passwords/create-or-reset-options/password-reset-by-email.md): Completes the password reset by email flow and authenticates the Member. - [Password Reset by Existing Password](https://stytch.com/docs/api-reference/b2b/api/passwords/create-or-reset-options/password-reset-by-existing-password.md): Resets a Member's password using their existing password and authenticates the Member. - [Password Reset by Session](https://stytch.com/docs/api-reference/b2b/api/passwords/create-or-reset-options/password-reset-by-session.md): Resets a Member's password using their existing session. - [Discovery Password Reset by Email Start](https://stytch.com/docs/api-reference/b2b/api/passwords/create-or-reset-options/discovery-password-reset-by-email-start.md): Initiates a password reset for an email address in the Discovery flow. - [Discovery Password Reset by Email](https://stytch.com/docs/api-reference/b2b/api/passwords/create-or-reset-options/discovery-password-reset-by-email.md): Resets a password associated with an email in the Discovery flow and starts an intermediate session. - [Require Password Reset by Email](https://stytch.com/docs/api-reference/b2b/api/passwords/create-or-reset-options/require-password-reset-by-email.md): Requires a password to be reset via email. #### Multi-Factor Authentication (MFA) - [MFA overview](https://stytch.com/docs/api-reference/b2b/api/mfa/overview.md): Add multi-factor authentication with SMS OTP or TOTP using the Stytch API ##### One-Time Passcodes (OTPs) - [Send SMS OTP](https://stytch.com/docs/api-reference/b2b/api/mfa/otp/send-sms-otp.md): Send a One-Time Passcode (OTP) to a Member's phone number - [Authenticate SMS OTP](https://stytch.com/docs/api-reference/b2b/api/mfa/otp/authenticate-sms-otp.md): Authenticate a One-Time Passcode (OTP) sent via SMS to a Member's phone number ##### Time-Based One-Time Passcodes (TOTPs) - [Create TOTP](https://stytch.com/docs/api-reference/b2b/api/mfa/totp/create-totp.md): Create a new TOTP instance for a Member. - [Authenticate TOTP](https://stytch.com/docs/api-reference/b2b/api/mfa/totp/authenticate-totp.md): Authenticate a Time-based One-Time Passcode (TOTP) from a Member's authenticator app - [Migrate TOTP](https://stytch.com/docs/api-reference/b2b/api/mfa/totp/migrate-totp.md): Migrate an existing TOTP instance for a Member. ##### Recovery Codes - [Get Recovery Codes](https://stytch.com/docs/api-reference/b2b/api/mfa/recovery-codes/get-recovery-codes.md): Returns a Member's full set of active recovery codes. - [Recover](https://stytch.com/docs/api-reference/b2b/api/mfa/recovery-codes/recover.md): Allows a Member to complete an MFA flow by consuming a recovery code. - [Rotate recovery codes](https://stytch.com/docs/api-reference/b2b/api/mfa/recovery-codes/rotate-recovery-codes.md): Rotate a Member's recovery codes. #### M2M Authentication - [M2M overview](https://stytch.com/docs/api-reference/b2b/api/m2m/overview.md): Authenticate machine-to-machine clients using the Stytch API - [M2M Client Object](https://stytch.com/docs/api-reference/b2b/api/m2m/m2m-client-object.md) ##### Token - [Get M2M Access Token](https://stytch.com/docs/api-reference/b2b/api/m2m/token/get-access-token.md): Retrieve an access token for a given M2M Client using the Stytch API - [Authenticate M2M Access Token](https://stytch.com/docs/api-reference/b2b/api/m2m/token/authenticate-access-token.md): Authenticate a Machine-to-Machine (M2M) access token issued by Stytch ##### M2M Client - [Create M2M Client](https://stytch.com/docs/api-reference/b2b/api/m2m/m2m-client/create-m2m-client.md): Create a new M2M Client using the Stytch API - [Get M2M Client](https://stytch.com/docs/api-reference/b2b/api/m2m/m2m-client/get-m2m-client.md): Retrieve an existing M2M Client using the Stytch API - [Search M2M Clients](https://stytch.com/docs/api-reference/b2b/api/m2m/m2m-client/search-m2m-clients.md): Search for M2M Clients using the Stytch API - [Update M2M Client](https://stytch.com/docs/api-reference/b2b/api/m2m/m2m-client/update-m2m-client.md): Update an existing M2M Client using the Stytch API - [Delete M2M client](https://stytch.com/docs/api-reference/b2b/api/m2m/m2m-client/delete-m2m-client.md): Delete an existing M2M Client using the Stytch API ##### Rotate Secret - [Start Secret Rotation](https://stytch.com/docs/api-reference/b2b/api/m2m/rotate-secret/start-secret-rotation.md): Initiate the rotation of an M2M client secret using the Stytch API - [Rotate Secret](https://stytch.com/docs/api-reference/b2b/api/m2m/rotate-secret/rotate-secret.md): Complete the rotation of an M2M client secret - [Cancel Secret Rotation](https://stytch.com/docs/api-reference/b2b/api/m2m/rotate-secret/cancel-secret-rotation.md): Cancel the rotation of an M2M client secret #### Connected Apps - [Exchange Authorization Code](https://stytch.com/docs/api-reference/b2b/api/connected-apps/exchange-authorization-code.md): Exchange an authorization code for an access token for a Connected App client. - [Exchange Refresh Token](https://stytch.com/docs/api-reference/b2b/api/connected-apps/exchange-refresh-token.md): Exchange a refresh token for an access token for a Connected App client. - [Exchange ID-JAG (Cross App Access)](https://stytch.com/docs/api-reference/b2b/api/connected-apps/exchange-id-jag.md): Exchange an ID-JAG token from a workforce identity provider for a Connected Apps access token using the Cross App Access (XAA) Flow. ##### Tokens - [Connected App ID Token Object](https://stytch.com/docs/api-reference/b2b/api/connected-apps/tokens/connected-app-id-token-object.md) - [Connected App Access Token Object](https://stytch.com/docs/api-reference/b2b/api/connected-apps/tokens/connected-app-access-token-object.md) ##### Configuration - [Get JWKS](https://stytch.com/docs/api-reference/b2b/api/connected-apps/configuration/get-jwks.md): Get the JSON Web Key Set (JWKS) for your Stytch project. - [Get OpenID Configuration](https://stytch.com/docs/api-reference/b2b/api/connected-apps/configuration/get-openid-configuration.md): Get the OpenID configuration for a project. ##### Methods - [Introspect Token](https://stytch.com/docs/api-reference/b2b/api/connected-apps/methods/introspect-token.md): Examine and introspect a token for a Connected Apps client. - [Authenticate Access Token (Local)](https://stytch.com/docs/api-reference/b2b/api/connected-apps/methods/authenticate-access-token-local.md): Authenticate a Connected App access token. - [Revoke Token](https://stytch.com/docs/api-reference/b2b/api/connected-apps/methods/revoke-token.md): Revoke a token for a Connected Apps client. - [Get UserInfo](https://stytch.com/docs/api-reference/b2b/api/connected-apps/methods/get-userinfo.md): Get claims about the authenticated end-user, using an Access Token. ##### Consent Management - [Start OAuth Authorization](https://stytch.com/docs/api-reference/b2b/api/connected-apps/consent-management/start-oauth-authorization.md): Initiates a request for authorization of a Connected App - [Submit OAuth Authorization](https://stytch.com/docs/api-reference/b2b/api/connected-apps/consent-management/submit-oauth-authorization.md): Completes a request for authorization of a Connected App. - [Get Connected App Details](https://stytch.com/docs/api-reference/b2b/api/connected-apps/consent-management/get-connected-app-details.md): Get details about the specified Connected App - [Get Authorized Connected Apps for an Organization](https://stytch.com/docs/api-reference/b2b/api/connected-apps/consent-management/get-connected-apps-organization.md): Get a list of Connected Apps for the Organization. - [Get Authorized Connected Apps for a Member](https://stytch.com/docs/api-reference/b2b/api/connected-apps/consent-management/get-connected-apps-member.md): Get a list of Connected Apps for a Member. - [Revoke Connected App Access for a Member](https://stytch.com/docs/api-reference/b2b/api/connected-apps/consent-management/revoke-connected-app-access-to-member.md): Revoke a Connected App's access to a Member ##### Application Management - [Dynamic Client Registration](https://stytch.com/docs/api-reference/b2b/api/connected-apps/application-management/dynamic-client-registration.md): Register a new OAuth 2.0 client dynamically. - [Create Connected App](https://stytch.com/docs/api-reference/b2b/api/connected-apps/application-management/create-connected-app.md): Creates a new Connected App. If the Connected App `client_type` is `first_party` or `third_party` a `client_secret` is returned. - [Get Connected App](https://stytch.com/docs/api-reference/b2b/api/connected-apps/application-management/get-connected-app.md): Retrieve details of a specific Connected App by `client_id`. - [Search Connected Apps](https://stytch.com/docs/api-reference/b2b/api/connected-apps/application-management/search-connected-apps.md): Search for Connected Apps. - [Update Connected App](https://stytch.com/docs/api-reference/b2b/api/connected-apps/application-management/update-connected-app.md): Updates mutable fields of a Connected App. - [Delete Connected App](https://stytch.com/docs/api-reference/b2b/api/connected-apps/application-management/delete-connected-app.md): Delete a Connected App. ##### Rotate Secret - [Start Secret Rotation](https://stytch.com/docs/api-reference/b2b/api/connected-apps/rotate-secret/start-secret-rotation.md): Initiate the rotation of a Connected App client secret. - [Rotate Secret](https://stytch.com/docs/api-reference/b2b/api/connected-apps/rotate-secret/rotate-secret.md): Complete the rotation of a Connected App client secret. - [Cancel Secret Rotation](https://stytch.com/docs/api-reference/b2b/api/connected-apps/rotate-secret/cancel-secret-rotation.md): Cancel the rotation of a Connected App client secret. #### Impersonation - [Authenticate Impersonation Token](https://stytch.com/docs/api-reference/b2b/api/impersonation/authenticate-token.md): Authenticate an impersonation token to impersonate a Member using the Stytch B2B API ### Resources - [Stytch Postman collection](https://stytch.com/docs/api-reference/b2b/api/resources/postman.md) - [E2E Testing](https://stytch.com/docs/api-reference/b2b/api/resources/e2e-testing.md): End-to-end testing applications built with Stytch - [Sandbox Values](https://stytch.com/docs/api-reference/b2b/api/resources/sandbox-values.md): Sandbox values for testing in a Test environment - [Metadata Update Behavior](https://stytch.com/docs/api-reference/b2b/api/resources/object-update-behavior.md): Handle updates to trusted and untrusted metadata objects. #### Errors - [Errors overview](https://stytch.com/docs/api-reference/b2b/api/errors/overview.md) - [Error Object](https://stytch.com/docs/api-reference/b2b/api/errors/error-object.md) - [400](https://stytch.com/docs/api-reference/b2b/api/errors/400.md): Reference for Stytch API Bad Request errors - [401](https://stytch.com/docs/api-reference/b2b/api/errors/401.md): Reference for Stytch API Unauthorized errors - [403](https://stytch.com/docs/api-reference/b2b/api/errors/403.md): Reference for Stytch API Forbidden errors - [404](https://stytch.com/docs/api-reference/b2b/api/errors/404.md): Reference for Stytch API Not Found errors - [405](https://stytch.com/docs/api-reference/b2b/api/errors/405.md): Reference for Stytch API Method Not Allowed errors - [429](https://stytch.com/docs/api-reference/b2b/api/errors/429.md): Reference for Stytch API Too Many Requests errors - [499](https://stytch.com/docs/api-reference/b2b/api/errors/499.md): Reference for Stytch API Client Closed Request errors - [500](https://stytch.com/docs/api-reference/b2b/api/errors/500.md): Reference for Stytch API Internal Server Error errors - [503](https://stytch.com/docs/api-reference/b2b/api/errors/503.md): Reference for Stytch API Service Unavailable errors