Svix

Stytch Webhook Event Types

This is the list of event types that we currently send.
For guidance on how to listen to these events, take a look at Svix's guide to consuming webhooks.

dashboard.member.create

Member created via dashboard

Example
JSON
{
  "action": "CREATE",
  "event_id": "webhook-event-test-0000000-00000000-0000-0000-0000-000000000000",
  "id": "member-test-0000000-00000000-0000-0000-0000-000000000000",
  "member": {
    "default_mfa_method": "",
    "email_address": "adalovelace@stytch.example.com",
    "email_address_verified": false,
    "is_admin": false,
    "is_breakglass": false,
    "member_id": "member-test-0000000-00000000-0000-0000-0000-000000000000",
    "member_password_id": "",
    "mfa_enrolled": false,
    "mfa_phone_number": "",
    "mfa_phone_number_verified": false,
    "name": "Ada Lovelace",
    "oauth_registrations": [],
    "organization_id": "organization-test-0000000-00000000-0000-0000-0000-000000000000",
    "roles": [
      {
        "role_id": "stytch_member",
        "sources": [
          {
            "details": {},
            "type": "direct_assignment"
          }
        ]
      }
    ],
    "sso_registrations": [],
    "status": "active",
    "totp_registration_id": "",
    "trusted_metadata": {},
    "untrusted_metadata": {}
  },
  "object_type": "member",
  "project_id": "project-test-0000000-00000000-0000-0000-0000-000000000000",
  "source": "DASHBOARD",
  "timestamp": "2024-01-02T03:04:05.678901Z"
}

dashboard.member.delete

Member deleted via dashboard

Example
JSON
{
  "action": "DELETE",
  "event_id": "webhook-event-test-0000000-00000000-0000-0000-0000-000000000000",
  "id": "member-test-0000000-00000000-0000-0000-0000-000000000000",
  "object_type": "member",
  "project_id": "project-test-0000000-00000000-0000-0000-0000-000000000000",
  "source": "DASHBOARD",
  "timestamp": "2024-01-02T03:04:05.678901Z"
}

dashboard.member.update

Member updated via dashboard

Example
JSON
{
  "action": "UPDATE",
  "event_id": "webhook-event-test-0000000-00000000-0000-0000-0000-000000000000",
  "id": "member-test-0000000-00000000-0000-0000-0000-000000000000",
  "member": {
    "default_mfa_method": "",
    "email_address": "adalovelace@stytch.example.com",
    "email_address_verified": false,
    "is_admin": false,
    "is_breakglass": false,
    "member_id": "member-test-0000000-00000000-0000-0000-0000-000000000000",
    "member_password_id": "",
    "mfa_enrolled": false,
    "mfa_phone_number": "",
    "mfa_phone_number_verified": false,
    "name": "Ada Lovelace",
    "oauth_registrations": [],
    "organization_id": "organization-test-0000000-00000000-0000-0000-0000-000000000000",
    "roles": [
      {
        "role_id": "stytch_member",
        "sources": [
          {
            "details": {},
            "type": "direct_assignment"
          }
        ]
      }
    ],
    "sso_registrations": [],
    "status": "active",
    "totp_registration_id": "",
    "trusted_metadata": {},
    "untrusted_metadata": {}
  },
  "object_type": "member",
  "project_id": "project-test-0000000-00000000-0000-0000-0000-000000000000",
  "source": "DASHBOARD",
  "timestamp": "2024-01-02T03:04:05.678901Z"
}

dashboard.oidc_connection.create

OIDC connection created via dashboard

Example
JSON
{
  "action": "CREATE",
  "event_id": "webhook-event-test-0000000-00000000-0000-0000-0000-000000000000",
  "id": "oidc-connection-test-0000000-00000000-0000-0000-0000-000000000000",
  "object_type": "oidc_connection",
  "oidc_connection": {
    "authorization_url": "",
    "client_id": "",
    "client_secret": "",
    "connection_id": "oidc-connection-test-0000000-00000000-0000-0000-0000-000000000000",
    "display_name": "my-oidc-connection",
    "issuer": "",
    "jwks_url": "",
    "organization_id": "organization-test-0000000-00000000-0000-0000-0000-000000000000",
    "redirect_url": "",
    "status": "pending",
    "token_url": "",
    "userinfo_url": ""
  },
  "project_id": "project-test-0000000-00000000-0000-0000-0000-000000000000",
  "source": "DASHBOARD",
  "timestamp": "2024-01-02T03:04:05.678901Z"
}

dashboard.oidc_connection.delete

OIDC connection deleted via dashboard

Example
JSON
{
  "action": "DELETE",
  "event_id": "webhook-event-test-0000000-00000000-0000-0000-0000-000000000000",
  "id": "oidc-connection-test-0000000-00000000-0000-0000-0000-000000000000",
  "object_type": "oidc_connection",
  "project_id": "project-test-0000000-00000000-0000-0000-0000-000000000000",
  "source": "DASHBOARD",
  "timestamp": "2024-01-02T03:04:05.678901Z"
}

dashboard.oidc_connection.update

OIDC connection updated via dashboard

Example
JSON
{
  "action": "UPDATE",
  "event_id": "webhook-event-test-0000000-00000000-0000-0000-0000-000000000000",
  "id": "oidc-connection-test-0000000-00000000-0000-0000-0000-000000000000",
  "object_type": "oidc_connection",
  "oidc_connection": {
    "authorization_url": "",
    "client_id": "",
    "client_secret": "",
    "connection_id": "oidc-connection-test-0000000-00000000-0000-0000-0000-000000000000",
    "display_name": "my-oidc-connection",
    "issuer": "",
    "jwks_url": "",
    "organization_id": "organization-test-0000000-00000000-0000-0000-0000-000000000000",
    "redirect_url": "",
    "status": "pending",
    "token_url": "",
    "userinfo_url": ""
  },
  "project_id": "project-test-0000000-00000000-0000-0000-0000-000000000000",
  "source": "DASHBOARD",
  "timestamp": "2024-01-02T03:04:05.678901Z"
}

dashboard.organization.create

Organization created via dashboard

Example
JSON
{
  "action": "CREATE",
  "event_id": "webhook-event-test-0000000-00000000-0000-0000-0000-000000000000",
  "id": "organization-test-0000000-00000000-0000-0000-0000-000000000000",
  "object_type": "organization",
  "organization": {
    "allowed_auth_methods": [],
    "allowed_mfa_methods": [],
    "auth_methods": "ALL_ALLOWED",
    "email_allowed_domains": [],
    "email_invites": "ALL_ALLOWED",
    "email_jit_provisioning": "NOT_ALLOWED",
    "mfa_methods": "ALL_ALLOWED",
    "mfa_policy": "OPTIONAL",
    "organization_id": "organization-test-0000000-00000000-0000-0000-0000-000000000000",
    "organization_logo_url": "",
    "organization_name": "test4",
    "organization_slug": "test4",
    "rbac_email_implicit_role_assignments": [],
    "sso_active_connections": [],
    "sso_default_connection_id": null,
    "sso_jit_provisioning": "NOT_ALLOWED",
    "sso_jit_provisioning_allowed_connections": [],
    "trusted_metadata": {}
  },
  "project_id": "project-test-0000000-00000000-0000-0000-0000-000000000000",
  "source": "DASHBOARD",
  "timestamp": "2024-01-02T03:04:05.678901Z"
}

dashboard.organization.delete

Organization deleted via dashboard

Example
JSON
{
  "action": "DELETE",
  "event_id": "webhook-event-test-0000000-00000000-0000-0000-0000-000000000000",
  "id": "organization-test-0000000-00000000-0000-0000-0000-000000000000",
  "object_type": "organization",
  "project_id": "project-test-0000000-00000000-0000-0000-0000-000000000000",
  "source": "DASHBOARD",
  "timestamp": "2024-01-02T03:04:05.678901Z"
}

dashboard.organization.update

Organization updated via dashboard

Example
JSON
{
  "action": "UPDATE",
  "event_id": "webhook-event-test-0000000-00000000-0000-0000-0000-000000000000",
  "id": "organization-test-0000000-00000000-0000-0000-0000-000000000000",
  "object_type": "organization",
  "organization": {
    "allowed_auth_methods": [],
    "allowed_mfa_methods": [],
    "auth_methods": "ALL_ALLOWED",
    "email_allowed_domains": [],
    "email_invites": "ALL_ALLOWED",
    "email_jit_provisioning": "NOT_ALLOWED",
    "mfa_methods": "ALL_ALLOWED",
    "mfa_policy": "OPTIONAL",
    "organization_id": "organization-test-0000000-00000000-0000-0000-0000-000000000000",
    "organization_logo_url": "",
    "organization_name": "test4",
    "organization_slug": "test4",
    "rbac_email_implicit_role_assignments": [],
    "sso_active_connections": [],
    "sso_default_connection_id": null,
    "sso_jit_provisioning": "NOT_ALLOWED",
    "sso_jit_provisioning_allowed_connections": [],
    "trusted_metadata": {}
  },
  "project_id": "project-test-0000000-00000000-0000-0000-0000-000000000000",
  "source": "DASHBOARD",
  "timestamp": "2024-01-02T03:04:05.678901Z"
}

dashboard.saml_connection.create

SAML connection created via dashboard

Example
JSON
{
  "action": "CREATE",
  "event_id": "webhook-event-test-0000000-00000000-0000-0000-0000-000000000000",
  "id": "saml-connection-test-0000000-00000000-0000-0000-0000-000000000000",
  "object_type": "saml_connection",
  "project_id": "project-test-0000000-00000000-0000-0000-0000-000000000000",
  "saml_connection": {
    "acs_url": "https://test.stytch.com/v1/b2b/sso/callback/saml-connection-test-0000000-00000000-0000-0000-0000-000000000000",
    "alternative_audience_uri": "",
    "attribute_mapping": {},
    "audience_uri": "https://test.stytch.com/v1/b2b/sso/callback/saml-connection-test-0000000-00000000-0000-0000-0000-000000000000",
    "connection_id": "saml-connection-test-0000000-00000000-0000-0000-0000-000000000000",
    "display_name": "my-saml-connection",
    "idp_entity_id": "",
    "idp_sso_url": "",
    "organization_id": "organization-test-0000000-00000000-0000-0000-0000-000000000000",
    "saml_connection_implicit_role_assignments": [],
    "saml_group_implicit_role_assignments": [],
    "signing_certificates": [
      {
        "certificate": "-----BEGIN CERTIFICATE-----\nabcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ01234567890abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ01234567890abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ01234567890abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ01234567890abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ01234567890abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ01234567890abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ01234567890abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ01234567890abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ01234567890abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ01234567890abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ01234567890abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ01234567890abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ01234567890abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ01234567890abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVW-----END CERTIFICATE-----\n",
        "certificate_id": "saml-signing-key-test-0000000-00000000-0000-0000-0000-000000000000",
        "created_at": "2024-02-23T23:45:01Z",
        "expires_at": "2034-02-23T23:45:01Z",
        "issuer": "Stytch"
      }
    ],
    "status": "pending",
    "verification_certificates": []
  },
  "source": "DASHBOARD",
  "timestamp": "2024-01-02T03:04:05.678901Z"
}

dashboard.saml_connection.delete

SAML connection deleted via dashboard

Example
JSON
{
  "action": "DELETE",
  "event_id": "webhook-event-test-0000000-00000000-0000-0000-0000-000000000000",
  "id": "saml-connection-test-0000000-00000000-0000-0000-0000-000000000000",
  "object_type": "saml_connection",
  "project_id": "project-test-0000000-00000000-0000-0000-0000-000000000000",
  "source": "DASHBOARD",
  "timestamp": "2024-01-02T03:04:05.678901Z"
}

dashboard.saml_connection.update

SAML connection updated via dashboard

Example
JSON
{
  "action": "UPDATE",
  "event_id": "webhook-event-test-0000000-00000000-0000-0000-0000-000000000000",
  "id": "saml-connection-test-0000000-00000000-0000-0000-0000-000000000000",
  "object_type": "saml_connection",
  "project_id": "project-test-0000000-00000000-0000-0000-0000-000000000000",
  "saml_connection": {
    "acs_url": "https://test.stytch.com/v1/b2b/sso/callback/saml-connection-test-0000000-00000000-0000-0000-0000-000000000000",
    "alternative_audience_uri": "",
    "attribute_mapping": {},
    "audience_uri": "https://test.stytch.com/v1/b2b/sso/callback/saml-connection-test-0000000-00000000-0000-0000-0000-000000000000",
    "connection_id": "saml-connection-test-0000000-00000000-0000-0000-0000-000000000000",
    "display_name": "my-saml-connection",
    "idp_entity_id": "",
    "idp_sso_url": "",
    "organization_id": "organization-test-0000000-00000000-0000-0000-0000-000000000000",
    "saml_connection_implicit_role_assignments": [],
    "saml_group_implicit_role_assignments": [],
    "signing_certificates": [
      {
        "certificate": "-----BEGIN CERTIFICATE-----\nabcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ01234567890abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ01234567890abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ01234567890abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ01234567890abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ01234567890abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ01234567890abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ01234567890abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ01234567890abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ01234567890abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ01234567890abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ01234567890abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ01234567890abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ01234567890abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ01234567890abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVW-----END CERTIFICATE-----\n",
        "certificate_id": "saml-signing-key-test-0000000-00000000-0000-0000-0000-000000000000",
        "created_at": "2024-02-23T23:45:01Z",
        "expires_at": "2034-02-23T23:45:01Z",
        "issuer": "Stytch"
      }
    ],
    "status": "pending",
    "verification_certificates": []
  },
  "source": "DASHBOARD",
  "timestamp": "2024-01-02T03:04:05.678901Z"
}

direct.member.create

Member created via API or SDK call

Example
JSON
{
  "action": "CREATE",
  "event_id": "webhook-event-test-0000000-00000000-0000-0000-0000-000000000000",
  "id": "member-test-0000000-00000000-0000-0000-0000-000000000000",
  "member": {
    "default_mfa_method": "",
    "email_address": "adalovelace@stytch.example.com",
    "email_address_verified": false,
    "is_admin": false,
    "is_breakglass": false,
    "member_id": "member-test-0000000-00000000-0000-0000-0000-000000000000",
    "member_password_id": "",
    "mfa_enrolled": false,
    "mfa_phone_number": "",
    "mfa_phone_number_verified": false,
    "name": "Ada Lovelace",
    "oauth_registrations": [],
    "organization_id": "organization-test-0000000-00000000-0000-0000-0000-000000000000",
    "roles": [
      {
        "role_id": "stytch_member",
        "sources": [
          {
            "details": {},
            "type": "direct_assignment"
          }
        ]
      }
    ],
    "sso_registrations": [],
    "status": "active",
    "totp_registration_id": "",
    "trusted_metadata": {},
    "untrusted_metadata": {}
  },
  "object_type": "member",
  "project_id": "project-test-0000000-00000000-0000-0000-0000-000000000000",
  "source": "DIRECT",
  "timestamp": "2024-01-02T03:04:05.678901Z"
}

direct.member.delete

Member deleted via API or SDK call

Example
JSON
{
  "action": "DELETE",
  "event_id": "webhook-event-test-0000000-00000000-0000-0000-0000-000000000000",
  "id": "member-test-0000000-00000000-0000-0000-0000-000000000000",
  "object_type": "member",
  "project_id": "project-test-0000000-00000000-0000-0000-0000-000000000000",
  "source": "DIRECT",
  "timestamp": "2024-01-02T03:04:05.678901Z"
}

direct.member.update

Member updated via API or SDK call

Example
JSON
{
  "action": "UPDATE",
  "event_id": "webhook-event-test-0000000-00000000-0000-0000-0000-000000000000",
  "id": "member-test-0000000-00000000-0000-0000-0000-000000000000",
  "member": {
    "default_mfa_method": "",
    "email_address": "adalovelace@stytch.example.com",
    "email_address_verified": false,
    "is_admin": false,
    "is_breakglass": false,
    "member_id": "member-test-0000000-00000000-0000-0000-0000-000000000000",
    "member_password_id": "",
    "mfa_enrolled": false,
    "mfa_phone_number": "",
    "mfa_phone_number_verified": false,
    "name": "Ada Lovelace",
    "oauth_registrations": [],
    "organization_id": "organization-test-0000000-00000000-0000-0000-0000-000000000000",
    "roles": [
      {
        "role_id": "stytch_member",
        "sources": [
          {
            "details": {},
            "type": "direct_assignment"
          }
        ]
      }
    ],
    "sso_registrations": [],
    "status": "active",
    "totp_registration_id": "",
    "trusted_metadata": {},
    "untrusted_metadata": {}
  },
  "object_type": "member",
  "project_id": "project-test-0000000-00000000-0000-0000-0000-000000000000",
  "source": "DIRECT",
  "timestamp": "2024-01-02T03:04:05.678901Z"
}

direct.oidc_connection.create

OIDC connection created via API or SDK call

Example
JSON
{
  "action": "CREATE",
  "event_id": "webhook-event-test-0000000-00000000-0000-0000-0000-000000000000",
  "id": "oidc-connection-test-0000000-00000000-0000-0000-0000-000000000000",
  "object_type": "oidc_connection",
  "oidc_connection": {
    "authorization_url": "",
    "client_id": "",
    "client_secret": "",
    "connection_id": "oidc-connection-test-0000000-00000000-0000-0000-0000-000000000000",
    "display_name": "my-oidc-connection",
    "issuer": "",
    "jwks_url": "",
    "organization_id": "organization-test-0000000-00000000-0000-0000-0000-000000000000",
    "redirect_url": "",
    "status": "pending",
    "token_url": "",
    "userinfo_url": ""
  },
  "project_id": "project-test-0000000-00000000-0000-0000-0000-000000000000",
  "source": "DIRECT",
  "timestamp": "2024-01-02T03:04:05.678901Z"
}

direct.oidc_connection.delete

OIDC connection deleted via API or SDK call

Example
JSON
{
  "action": "DELETE",
  "event_id": "webhook-event-test-0000000-00000000-0000-0000-0000-000000000000",
  "id": "oidc-connection-test-0000000-00000000-0000-0000-0000-000000000000",
  "object_type": "oidc_connection",
  "project_id": "project-test-0000000-00000000-0000-0000-0000-000000000000",
  "source": "DIRECT",
  "timestamp": "2024-01-02T03:04:05.678901Z"
}

direct.oidc_connection.update

OIDC connection updated via API or SDK call

Example
JSON
{
  "action": "UPDATE",
  "event_id": "webhook-event-test-0000000-00000000-0000-0000-0000-000000000000",
  "id": "oidc-connection-test-0000000-00000000-0000-0000-0000-000000000000",
  "object_type": "oidc_connection",
  "oidc_connection": {
    "authorization_url": "",
    "client_id": "",
    "client_secret": "",
    "connection_id": "oidc-connection-test-0000000-00000000-0000-0000-0000-000000000000",
    "display_name": "my-oidc-connection",
    "issuer": "",
    "jwks_url": "",
    "organization_id": "organization-test-0000000-00000000-0000-0000-0000-000000000000",
    "redirect_url": "",
    "status": "pending",
    "token_url": "",
    "userinfo_url": ""
  },
  "project_id": "project-test-0000000-00000000-0000-0000-0000-000000000000",
  "source": "DIRECT",
  "timestamp": "2024-01-02T03:04:05.678901Z"
}

direct.organization.create

Organization created via API or SDK call

Example
JSON
{
  "action": "CREATE",
  "event_id": "webhook-event-test-0000000-00000000-0000-0000-0000-000000000000",
  "id": "organization-test-0000000-00000000-0000-0000-0000-000000000000",
  "object_type": "organization",
  "organization": {
    "allowed_auth_methods": [],
    "allowed_mfa_methods": [],
    "auth_methods": "ALL_ALLOWED",
    "email_allowed_domains": [],
    "email_invites": "ALL_ALLOWED",
    "email_jit_provisioning": "NOT_ALLOWED",
    "mfa_methods": "ALL_ALLOWED",
    "mfa_policy": "OPTIONAL",
    "organization_id": "organization-test-0000000-00000000-0000-0000-0000-000000000000",
    "organization_logo_url": "",
    "organization_name": "test4",
    "organization_slug": "test4",
    "rbac_email_implicit_role_assignments": [],
    "sso_active_connections": [],
    "sso_default_connection_id": null,
    "sso_jit_provisioning": "NOT_ALLOWED",
    "sso_jit_provisioning_allowed_connections": [],
    "trusted_metadata": {}
  },
  "project_id": "project-test-0000000-00000000-0000-0000-0000-000000000000",
  "source": "DIRECT",
  "timestamp": "2024-01-02T03:04:05.678901Z"
}

direct.organization.delete

Organization deleted via API or SDK call

Example
JSON
{
  "action": "DELETE",
  "event_id": "webhook-event-test-0000000-00000000-0000-0000-0000-000000000000",
  "id": "organization-test-0000000-00000000-0000-0000-0000-000000000000",
  "object_type": "organization",
  "project_id": "project-test-0000000-00000000-0000-0000-0000-000000000000",
  "source": "DIRECT",
  "timestamp": "2024-01-02T03:04:05.678901Z"
}

direct.organization.update

Organization updated via API or SDK call

Example
JSON
{
  "action": "UPDATE",
  "event_id": "webhook-event-test-0000000-00000000-0000-0000-0000-000000000000",
  "id": "organization-test-0000000-00000000-0000-0000-0000-000000000000",
  "object_type": "organization",
  "organization": {
    "allowed_auth_methods": [],
    "allowed_mfa_methods": [],
    "auth_methods": "ALL_ALLOWED",
    "email_allowed_domains": [],
    "email_invites": "ALL_ALLOWED",
    "email_jit_provisioning": "NOT_ALLOWED",
    "mfa_methods": "ALL_ALLOWED",
    "mfa_policy": "OPTIONAL",
    "organization_id": "organization-test-0000000-00000000-0000-0000-0000-000000000000",
    "organization_logo_url": "",
    "organization_name": "test4",
    "organization_slug": "test4",
    "rbac_email_implicit_role_assignments": [],
    "sso_active_connections": [],
    "sso_default_connection_id": null,
    "sso_jit_provisioning": "NOT_ALLOWED",
    "sso_jit_provisioning_allowed_connections": [],
    "trusted_metadata": {}
  },
  "project_id": "project-test-0000000-00000000-0000-0000-0000-000000000000",
  "source": "DIRECT",
  "timestamp": "2024-01-02T03:04:05.678901Z"
}

direct.saml_connection.create

SAML connection created via API or SDK call

Example
JSON
{
  "action": "CREATE",
  "event_id": "webhook-event-test-0000000-00000000-0000-0000-0000-000000000000",
  "id": "saml-connection-test-0000000-00000000-0000-0000-0000-000000000000",
  "object_type": "saml_connection",
  "project_id": "project-test-0000000-00000000-0000-0000-0000-000000000000",
  "saml_connection": {
    "acs_url": "https://test.stytch.com/v1/b2b/sso/callback/saml-connection-test-0000000-00000000-0000-0000-0000-000000000000",
    "alternative_audience_uri": "",
    "attribute_mapping": {},
    "audience_uri": "https://test.stytch.com/v1/b2b/sso/callback/saml-connection-test-0000000-00000000-0000-0000-0000-000000000000",
    "connection_id": "saml-connection-test-0000000-00000000-0000-0000-0000-000000000000",
    "display_name": "my-saml-connection",
    "idp_entity_id": "",
    "idp_sso_url": "",
    "organization_id": "organization-test-0000000-00000000-0000-0000-0000-000000000000",
    "saml_connection_implicit_role_assignments": [],
    "saml_group_implicit_role_assignments": [],
    "signing_certificates": [
      {
        "certificate": "-----BEGIN CERTIFICATE-----\nabcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ01234567890abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ01234567890abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ01234567890abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ01234567890abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ01234567890abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ01234567890abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ01234567890abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ01234567890abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ01234567890abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ01234567890abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ01234567890abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ01234567890abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ01234567890abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ01234567890abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVW-----END CERTIFICATE-----\n",
        "certificate_id": "saml-signing-key-test-0000000-00000000-0000-0000-0000-000000000000",
        "created_at": "2024-02-23T23:45:01Z",
        "expires_at": "2034-02-23T23:45:01Z",
        "issuer": "Stytch"
      }
    ],
    "status": "pending",
    "verification_certificates": []
  },
  "source": "DIRECT",
  "timestamp": "2024-01-02T03:04:05.678901Z"
}

direct.saml_connection.delete

SAML connection deleted via API or SDK call

Example
JSON
{
  "action": "DELETE",
  "event_id": "webhook-event-test-0000000-00000000-0000-0000-0000-000000000000",
  "id": "saml-connection-test-0000000-00000000-0000-0000-0000-000000000000",
  "object_type": "saml_connection",
  "project_id": "project-test-0000000-00000000-0000-0000-0000-000000000000",
  "source": "DIRECT",
  "timestamp": "2024-01-02T03:04:05.678901Z"
}

direct.saml_connection.update

SAML connection updated via API or SDK call

Example
JSON
{
  "action": "UPDATE",
  "event_id": "webhook-event-test-0000000-00000000-0000-0000-0000-000000000000",
  "id": "saml-connection-test-0000000-00000000-0000-0000-0000-000000000000",
  "object_type": "saml_connection",
  "project_id": "project-test-0000000-00000000-0000-0000-0000-000000000000",
  "saml_connection": {
    "acs_url": "https://test.stytch.com/v1/b2b/sso/callback/saml-connection-test-0000000-00000000-0000-0000-0000-000000000000",
    "alternative_audience_uri": "",
    "attribute_mapping": {},
    "audience_uri": "https://test.stytch.com/v1/b2b/sso/callback/saml-connection-test-0000000-00000000-0000-0000-0000-000000000000",
    "connection_id": "saml-connection-test-0000000-00000000-0000-0000-0000-000000000000",
    "display_name": "my-saml-connection",
    "idp_entity_id": "",
    "idp_sso_url": "",
    "organization_id": "organization-test-0000000-00000000-0000-0000-0000-000000000000",
    "saml_connection_implicit_role_assignments": [],
    "saml_group_implicit_role_assignments": [],
    "signing_certificates": [
      {
        "certificate": "-----BEGIN CERTIFICATE-----\nabcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ01234567890abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ01234567890abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ01234567890abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ01234567890abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ01234567890abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ01234567890abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ01234567890abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ01234567890abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ01234567890abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ01234567890abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ01234567890abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ01234567890abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ01234567890abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ01234567890abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVW-----END CERTIFICATE-----\n",
        "certificate_id": "saml-signing-key-test-0000000-00000000-0000-0000-0000-000000000000",
        "created_at": "2024-02-23T23:45:01Z",
        "expires_at": "2034-02-23T23:45:01Z",
        "issuer": "Stytch"
      }
    ],
    "status": "pending",
    "verification_certificates": []
  },
  "source": "DIRECT",
  "timestamp": "2024-01-02T03:04:05.678901Z"
}

scim.member.create

Member created via SCIM

Example
JSON
{
  "action": "CREATE",
  "event_id": "webhook-event-test-0000000-00000000-0000-0000-0000-000000000000",
  "id": "member-test-0000000-00000000-0000-0000-0000-000000000000",
  "member": {
    "default_mfa_method": "",
    "email_address": "adalovelace@stytch.example.com",
    "email_address_verified": false,
    "is_admin": false,
    "is_breakglass": false,
    "member_id": "member-test-0000000-00000000-0000-0000-0000-000000000000",
    "member_password_id": "",
    "mfa_enrolled": false,
    "mfa_phone_number": "",
    "mfa_phone_number_verified": false,
    "name": "Ada Lovelace",
    "oauth_registrations": [],
    "organization_id": "organization-test-0000000-00000000-0000-0000-0000-000000000000",
    "roles": [
      {
        "role_id": "stytch_member",
        "sources": [
          {
            "details": {},
            "type": "direct_assignment"
          }
        ]
      }
    ],
    "sso_registrations": [],
    "status": "active",
    "totp_registration_id": "",
    "trusted_metadata": {},
    "untrusted_metadata": {}
  },
  "object_type": "member",
  "project_id": "project-test-0000000-00000000-0000-0000-0000-000000000000",
  "source": "SCIM",
  "timestamp": "2024-01-02T03:04:05.678901Z"
}

scim.member.delete

Member deleted via SCIM

Example
JSON
{
  "action": "DELETE",
  "event_id": "webhook-event-test-0000000-00000000-0000-0000-0000-000000000000",
  "id": "member-test-0000000-00000000-0000-0000-0000-000000000000",
  "object_type": "member",
  "project_id": "project-test-0000000-00000000-0000-0000-0000-000000000000",
  "source": "SCIM",
  "timestamp": "2024-01-02T03:04:05.678901Z"
}

scim.member.update

Member updated via SCIM

Example
JSON
{
  "action": "UPDATE",
  "event_id": "webhook-event-test-0000000-00000000-0000-0000-0000-000000000000",
  "id": "member-test-0000000-00000000-0000-0000-0000-000000000000",
  "member": {
    "default_mfa_method": "",
    "email_address": "adalovelace@stytch.example.com",
    "email_address_verified": false,
    "is_admin": false,
    "is_breakglass": false,
    "member_id": "member-test-0000000-00000000-0000-0000-0000-000000000000",
    "member_password_id": "",
    "mfa_enrolled": false,
    "mfa_phone_number": "",
    "mfa_phone_number_verified": false,
    "name": "Ada Lovelace",
    "oauth_registrations": [],
    "organization_id": "organization-test-0000000-00000000-0000-0000-0000-000000000000",
    "roles": [
      {
        "role_id": "stytch_member",
        "sources": [
          {
            "details": {},
            "type": "direct_assignment"
          }
        ]
      }
    ],
    "sso_registrations": [],
    "status": "active",
    "totp_registration_id": "",
    "trusted_metadata": {},
    "untrusted_metadata": {}
  },
  "object_type": "member",
  "project_id": "project-test-0000000-00000000-0000-0000-0000-000000000000",
  "source": "SCIM",
  "timestamp": "2024-01-02T03:04:05.678901Z"
}