Skip to main content
GET
/
v1
/
b2b
/
organizations
/
{organization_id}
/
connected_apps
C#
// GET /v1/b2b/organizations/{organization_id}/connected_apps
const stytch = require('stytch');

const client = new stytch.B2BClient({
  project_id: '${projectId}',
  secret: '${secret}',
});

const params = {
  organization_id: "${organizationId}",
};

const options = {
  authorization: {
    session_token: '${sessionToken}',
  },
};

client.Organizations.ConnectedApps(params, options)
  .then(resp => { console.log(resp) })
  .catch(err => { console.log(err) });
{
  "request_id": "<string>",
  "connected_apps": [
    {
      "connected_app_id": "<string>",
      "name": "<string>",
      "description": "<string>",
      "client_type": "<string>",
      "logo_url": "<string>"
    }
  ],
  "status_code": 123
}
Retrieves a list of Connected Apps for the Organization that have been installed by Members. Installation comprises successful completion of an authorization flow with a Connected App that has not been revoked. Connected Apps may be uninstalled if an Organization changes its first_party_connected_apps_allowed_type or third_party_connected_apps_allowed_type policies.

Authorizations

Authorization
string
header
required

Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.

Headers

X-Stytch-Member-Session
string

A Stytch session that can be used to run the request with the given member's permissions.

X-Stytch-Member-SessionJWT
string

A Stytch Session JSON Web Token (JWT) that can be used to run the request with the given member's permissions.

Path Parameters

organization_id
string
required

Globally unique UUID that identifies a specific Organization. The organization_id is critical to perform operations on an Organization, so be sure to preserve this value. You may also use the organization_slug or organization_external_id here as a convenience.

Response

Successful response

request_id
string
required

Globally unique UUID that is returned with every API call. This value is important to log for debugging purposes; we may ask for this value to help identify a specific API call when helping you debug an issue.

connected_apps
object[]
required
status_code
integer<int32>
required