get
Fetches the current member's organization and its settings. Calls the GET /sdk/v1/b2b/organizations/me endpoint. Requires an active session.
Kotlin:
StytchB2B.organizations.get()Content copied to clipboard
iOS:
let response = try await StytchB2B.organizations.get()Content copied to clipboard
React Native:
StytchB2B.organizations.get()Content copied to clipboard
Return
B2BOrganizationsGetResponse containing the organization object.
Throws
StytchError
if the request fails or no active session exists.
if the coroutine is cancelled.