The Get Connected Apps method wraps the Get Connected Apps API endpoint. The organization_id will be automatically inferred from the logged-in Member's session. This method retrieves a list of Connected Apps that have been installed by the Organization's Members. A Connected App can be considered to be installed if at least one of the Organization's Members has successfully completed an authorization flow with the Connected App and no revocation has occurred since that completion. A Connected App may be uninstalled if the Organization changes its first_party_connected_apps_allowed_type or third_party_connected_apps_allowed_type policies.
Get Organization Connected Apps
Response fields
request_id string
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.
status_code int
The HTTP status code of the response. Stytch follows standard HTTP response status code patterns, e.g. 2XX values equate to success, 3XX values are redirects, 4XX are client errors, and 5XX are server errors.
organization_connected_apps array[objects]
An array of Connected Apps which have been installed by an Organization member.
connected_app_id string
The ID of the Connected App.
name string
The name of the Connected App.
description string
A description of the Connected App.
client_type string
The type of Connected App. Supported values are first_party, first_party_public, third_party, and third_party_public.
logo_url string
The logo URL of the Connected App, if any.
// Code examples coming soon!
RESPONSE 200
200
{
"status_code": 200,
"request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
"connected_apps": [
{
"client_type": "first_party",
"connected_app_id": "connected-app-test-aeadeabc-a3a3-4796-83d0-b757e3001000",
"name": "first-party-confidential-app",
"description": "A first party connected app",
"logo_url": null
}
]
}
RESPONSE 401
200
{
"status_code": 401,
"request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
"error_type": "unauthorized_credentials",
"error_message": "Unauthorized credentials.",
"error_url": "https://stytch.com/docs/api/errors/401"
}
RESPONSE 429
200
{
"status_code": 429,
"request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
"error_type": "too_many_requests",
"error_message": "Too many requests have been made.",
"error_url": "https://stytch.com/docs/api/errors/429"
}
RESPONSE 500
200
{
"status_code": 500,
"request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
"error_type": "internal_server_error",
"error_message": "Oops, something seems to have gone wrong, please reach out to support@stytch.com to let us know what went wrong.",
"error_url": "https://stytch.com/docs/api/errors/500"
}