B2B Saas Authentication

/

API reference

/

Organizations

/

Organization object

Organization object


Fields


mfa_policystring

organization_idstring

organization_slugstring

organization_logo_urlstring

organization_namestring

trusted_metadataobject

email_invitesstring

email_jit_provisioningstring

email_allowed_domainsarray[strings]

oauth_tenant_jit_provisioningstring

allowed_oauth_tenantsobject

rbac_email_implicit_role_assignmentsarray[object]

sso_default_connection_idstring

sso_jit_provisioningstring

sso_active_connectionsarray[objects]

scim_active_connectionobject

sso_jit_provisioning_allowed_connectionsarray[strings]

auth_methodsstring

allowed_auth_methodsarray[strings]

mfa_methodsstring

allowed_mfa_methodsarray[strings]

created_atstring

updated_atstring

OBJECT

{
  "organization": {
    "organization_id": "organization-test-07971b06-ac8b-4cdb-9c15-63b17e653931",
    "organization_name": "Example Org Inc.",
    "organization_slug": "example-org",
    "organization_logo_url": "",
    "email_allowed_domains": ["stytch.com"],
    "email_invites": "ALL_ALLOWED",
    "email_jit_provisioning": "RESTRICTED",
    "mfa_policy": "OPTIONAL",
    "rbac_email_implicit_role_assignments": [
      {
        "domain": "stytch.com",
        "role_id": "stytch_admin",
      }
    ],
    "oauth_tenant_jit_provisioning": "RESTRICTED",
    "allowed_oauth_tenants": {
      "slack": ["T1234"],
      "hubspot": ["Hub12345", "Hub23456"]
    }
    "sso_default_connection_id": "saml-connection-test-51861cbc-d3b9-428b-9761-227f5fb12be9",
    "sso_jit_provisioning": "ALL_ALLOWED",
    "sso_jit_provisioning_allowed_connections": ["saml-connection-test-51861cbc-d3b9-428b-9761-227f5fb12be9"],
    "sso_active_connections": [
      {
        "connection_id": "saml-connection-test-51861cbc-d3b9-428b-9761-227f5fb12be9",
        "display_name": "SSO test connection with IdP"
      }
    ],
    "scim_active_connection": {
        "connection_id": "scim-connection-test-cdd5415a-c470-42be-8369-5c90cf7762dc",
        "display_name": "SCIM test connection with IdP"
    },
    "auth_methods": "ALL_ALLOWED",
    "allowed_auth_methods": [],
    "trusted_metadata": {
      "address": {
        "street": "1 Telegraph Hill Blvd",
        "city": "San Francisco",
        "state": "CA",
        "zip_code": "94133"
      },
      "billing_tier": "free"
    },
    "created_at": "2023-01-01T00:00:00Z",
    "updated_at": "2024-01-01T00:00:00Z"
  }
}