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-00000000-0000-0000-0000-000000000000",
  "id": "member-test-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-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-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-00000000-0000-0000-0000-000000000000",
  "source": "DASHBOARD",
  "timestamp": "2024-01-02T03:04:05.678901Z",
  "vertical": "B2B"
}

dashboard.member.delete

Member deleted via dashboard

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

dashboard.member.update

Member updated via dashboard

Example
JSON
{
  "action": "UPDATE",
  "event_id": "webhook-event-test-00000000-0000-0000-0000-000000000000",
  "id": "member-test-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-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-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-00000000-0000-0000-0000-000000000000",
  "source": "DASHBOARD",
  "timestamp": "2024-01-02T03:04:05.678901Z",
  "vertical": "B2B"
}

dashboard.oidc_connection.create

OIDC connection created via dashboard

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

dashboard.oidc_connection.delete

OIDC connection deleted via dashboard

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

dashboard.oidc_connection.update

OIDC connection updated via dashboard

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

dashboard.organization.create

Organization created via dashboard

Example
JSON
{
  "action": "CREATE",
  "event_id": "webhook-event-test-00000000-0000-0000-0000-000000000000",
  "id": "organization-test-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-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-00000000-0000-0000-0000-000000000000",
  "source": "DASHBOARD",
  "timestamp": "2024-01-02T03:04:05.678901Z",
  "vertical": "B2B"
}

dashboard.organization.delete

Organization deleted via dashboard

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

dashboard.organization.update

Organization updated via dashboard

Example
JSON
{
  "action": "UPDATE",
  "event_id": "webhook-event-test-00000000-0000-0000-0000-000000000000",
  "id": "organization-test-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-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-00000000-0000-0000-0000-000000000000",
  "source": "DASHBOARD",
  "timestamp": "2024-01-02T03:04:05.678901Z",
  "vertical": "B2B"
}

dashboard.saml_connection.create

SAML connection created via dashboard

Example
JSON
{
  "action": "CREATE",
  "event_id": "webhook-event-test-00000000-0000-0000-0000-000000000000",
  "id": "saml-connection-test-00000000-0000-0000-0000-000000000000",
  "object_type": "saml_connection",
  "project_id": "project-test-00000000-0000-0000-0000-000000000000",
  "saml_connection": {
    "acs_url": "https://test.stytch.com/v1/b2b/sso/callback/saml-connection-test-00000000-0000-0000-0000-000000000000",
    "alternative_audience_uri": "",
    "attribute_mapping": {},
    "audience_uri": "https://test.stytch.com/v1/b2b/sso/callback/saml-connection-test-00000000-0000-0000-0000-000000000000",
    "connection_id": "saml-connection-test-00000000-0000-0000-0000-000000000000",
    "display_name": "my-saml-connection",
    "idp_entity_id": "",
    "idp_sso_url": "",
    "organization_id": "organization-test-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-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",
  "vertical": "B2B"
}

dashboard.saml_connection.delete

SAML connection deleted via dashboard

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

dashboard.saml_connection.update

SAML connection updated via dashboard

Example
JSON
{
  "action": "UPDATE",
  "event_id": "webhook-event-test-00000000-0000-0000-0000-000000000000",
  "id": "saml-connection-test-00000000-0000-0000-0000-000000000000",
  "object_type": "saml_connection",
  "project_id": "project-test-00000000-0000-0000-0000-000000000000",
  "saml_connection": {
    "acs_url": "https://test.stytch.com/v1/b2b/sso/callback/saml-connection-test-00000000-0000-0000-0000-000000000000",
    "alternative_audience_uri": "",
    "attribute_mapping": {},
    "audience_uri": "https://test.stytch.com/v1/b2b/sso/callback/saml-connection-test-00000000-0000-0000-0000-000000000000",
    "connection_id": "saml-connection-test-00000000-0000-0000-0000-000000000000",
    "display_name": "my-saml-connection",
    "idp_entity_id": "",
    "idp_sso_url": "",
    "organization_id": "organization-test-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-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",
  "vertical": "B2B"
}

direct.member.create

Member created via API or SDK call

Example
JSON
{
  "action": "CREATE",
  "event_id": "webhook-event-test-00000000-0000-0000-0000-000000000000",
  "id": "member-test-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-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-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-00000000-0000-0000-0000-000000000000",
  "source": "DIRECT",
  "timestamp": "2024-01-02T03:04:05.678901Z",
  "vertical": "B2B"
}

direct.member.delete

Member deleted via API or SDK call

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

direct.member.update

Member updated via API or SDK call

Example
JSON
{
  "action": "UPDATE",
  "event_id": "webhook-event-test-00000000-0000-0000-0000-000000000000",
  "id": "member-test-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-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-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-00000000-0000-0000-0000-000000000000",
  "source": "DIRECT",
  "timestamp": "2024-01-02T03:04:05.678901Z",
  "vertical": "B2B"
}

direct.oidc_connection.create

OIDC connection created via API or SDK call

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

direct.oidc_connection.delete

OIDC connection deleted via API or SDK call

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

direct.oidc_connection.update

OIDC connection updated via API or SDK call

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

direct.organization.create

Organization created via API or SDK call

Example
JSON
{
  "action": "CREATE",
  "event_id": "webhook-event-test-00000000-0000-0000-0000-000000000000",
  "id": "organization-test-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-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-00000000-0000-0000-0000-000000000000",
  "source": "DIRECT",
  "timestamp": "2024-01-02T03:04:05.678901Z",
  "vertical": "B2B"
}

direct.organization.delete

Organization deleted via API or SDK call

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

direct.organization.update

Organization updated via API or SDK call

Example
JSON
{
  "action": "UPDATE",
  "event_id": "webhook-event-test-00000000-0000-0000-0000-000000000000",
  "id": "organization-test-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-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-00000000-0000-0000-0000-000000000000",
  "source": "DIRECT",
  "timestamp": "2024-01-02T03:04:05.678901Z",
  "vertical": "B2B"
}

direct.saml_connection.create

SAML connection created via API or SDK call

Example
JSON
{
  "action": "CREATE",
  "event_id": "webhook-event-test-00000000-0000-0000-0000-000000000000",
  "id": "saml-connection-test-00000000-0000-0000-0000-000000000000",
  "object_type": "saml_connection",
  "project_id": "project-test-00000000-0000-0000-0000-000000000000",
  "saml_connection": {
    "acs_url": "https://test.stytch.com/v1/b2b/sso/callback/saml-connection-test-00000000-0000-0000-0000-000000000000",
    "alternative_audience_uri": "",
    "attribute_mapping": {},
    "audience_uri": "https://test.stytch.com/v1/b2b/sso/callback/saml-connection-test-00000000-0000-0000-0000-000000000000",
    "connection_id": "saml-connection-test-00000000-0000-0000-0000-000000000000",
    "display_name": "my-saml-connection",
    "idp_entity_id": "",
    "idp_sso_url": "",
    "organization_id": "organization-test-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-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",
  "vertical": "B2B"
}

direct.saml_connection.delete

SAML connection deleted via API or SDK call

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

direct.saml_connection.update

SAML connection updated via API or SDK call

Example
JSON
{
  "action": "UPDATE",
  "event_id": "webhook-event-test-00000000-0000-0000-0000-000000000000",
  "id": "saml-connection-test-00000000-0000-0000-0000-000000000000",
  "object_type": "saml_connection",
  "project_id": "project-test-00000000-0000-0000-0000-000000000000",
  "saml_connection": {
    "acs_url": "https://test.stytch.com/v1/b2b/sso/callback/saml-connection-test-00000000-0000-0000-0000-000000000000",
    "alternative_audience_uri": "",
    "attribute_mapping": {},
    "audience_uri": "https://test.stytch.com/v1/b2b/sso/callback/saml-connection-test-00000000-0000-0000-0000-000000000000",
    "connection_id": "saml-connection-test-00000000-0000-0000-0000-000000000000",
    "display_name": "my-saml-connection",
    "idp_entity_id": "",
    "idp_sso_url": "",
    "organization_id": "organization-test-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-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",
  "vertical": "B2B"
}

scim.member.create

Member created via SCIM

Example
JSON
{
  "action": "CREATE",
  "event_id": "webhook-event-test-00000000-0000-0000-0000-000000000000",
  "id": "member-test-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-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-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-00000000-0000-0000-0000-000000000000",
  "source": "SCIM",
  "timestamp": "2024-01-02T03:04:05.678901Z",
  "vertical": "B2B"
}

scim.member.delete

Member deleted via SCIM

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

scim.member.update

Member updated via SCIM

Example
JSON
{
  "action": "UPDATE",
  "event_id": "webhook-event-test-00000000-0000-0000-0000-000000000000",
  "id": "member-test-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-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-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-00000000-0000-0000-0000-000000000000",
  "source": "SCIM",
  "timestamp": "2024-01-02T03:04:05.678901Z",
  "vertical": "B2B"
}

scim.scim_group.create

SCIM Group created via SCIM

Example
JSON
{
  "action": "CREATE",
  "event_id": "webhook-event-test-00000000-0000-0000-0000-000000000000",
  "id": "scim-group-test-00000000-0000-0000-0000-000000000000",
  "object_type": "scim_group",
  "project_id": "project-test-00000000-0000-0000-0000-000000000000",
  "scim_group": {
    "connection_id": "scim-connection-test-00000000-0000-0000-0000-000000000000",
    "group_id": "scim-group-test-00000000-0000-0000-0000-000000000000",
    "group_name": "my great group",
    "organization_id": "organization-test-00000000-0000-0000-0000-000000000000"
  },
  "source": "SCIM",
  "timestamp": "2024-12-02T20:02:35.962262780Z",
  "vertical": "B2B"
}

scim.scim_group.delete

SCIM Group deleted via SCIM

Example
JSON
{
  "action": "DELETE",
  "event_id": "webhook-event-test-00000000-0000-0000-0000-000000000000",
  "id": "scim-group-test-00000000-0000-0000-0000-000000000000",
  "object_type": "scim_group",
  "project_id": "project-test-00000000-0000-0000-0000-000000000000",
  "source": "SCIM",
  "timestamp": "2024-12-02T20:02:35.962262780Z",
  "vertical": "B2B"
}

scim.scim_group.update

SCIM Group updated via SCIM

Example
JSON
{
  "action": "UPDATE",
  "event_id": "webhook-event-test-00000000-0000-0000-0000-000000000000",
  "id": "scim-group-test-00000000-0000-0000-0000-000000000000",
  "object_type": "scim_group",
  "project_id": "project-test-00000000-0000-0000-0000-000000000000",
  "scim_group": {
    "connection_id": "scim-connection-test-00000000-0000-0000-0000-000000000000",
    "group_id": "scim-group-test-00000000-0000-0000-0000-000000000000",
    "group_name": "my great group",
    "organization_id": "organization-test-00000000-0000-0000-0000-000000000000"
  },
  "source": "SCIM",
  "timestamp": "2024-12-02T20:02:35.962262780Z",
  "vertical": "B2B"
}

scim.scim_member_group.create

SCIM Member Group created via SCIM

Example
JSON
{
  "action": "CREATE",
  "event_id": "webhook-event-test-00000000-0000-0000-0000-000000000000",
  "id": "scim-member-group-test-00000000-0000-0000-0000-000000000000",
  "object_type": "scim_member_group",
  "project_id": "project-test-00000000-0000-0000-0000-000000000000",
  "scim_group_membership": {
    "connection_id": "scim-connection-test-00000000-0000-0000-0000-000000000000",
    "group_id": "scim-group-test-00000000-0000-0000-0000-000000000000",
    "member_group_id": "scim-member-group-test-00000000-0000-0000-0000-000000000000",
    "member_id": "member-test-00000000-0000-0000-0000-000000000000",
    "organization_id": "organization-test-00000000-0000-0000-0000-000000000000"
  },
  "source": "SCIM",
  "timestamp": "2024-12-02T20:02:36.012444727Z",
  "vertical": "B2B"
}

scim.scim_member_group.delete

SCIM Member Group deleted via SCIM

Example
JSON
{
  "action": "DELETE",
  "event_id": "webhook-event-test-00000000-0000-0000-0000-000000000000",
  "id": "scim-member-group-test-00000000-0000-0000-0000-000000000000",
  "object_type": "scim_member_group",
  "project_id": "project-test-00000000-0000-0000-0000-000000000000",
  "source": "SCIM",
  "timestamp": "2024-12-02T20:02:36.012444727Z",
  "vertical": "B2B"
}