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.
Member created via dashboard
{
"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"
}
Member deleted via dashboard
{
"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"
}
Member updated via dashboard
{
"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"
}
OIDC connection created via dashboard
{
"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"
}
OIDC connection deleted via dashboard
{
"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"
}
OIDC connection updated via dashboard
{
"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"
}
Organization created via dashboard
{
"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"
}
Organization deleted via dashboard
{
"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"
}
Organization updated via dashboard
{
"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"
}
SAML connection created via dashboard
{
"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"
}
SAML connection deleted via dashboard
{
"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"
}
SAML connection updated via dashboard
{
"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"
}
Member created via API or SDK call
{
"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"
}
Member deleted via API or SDK call
{
"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"
}
Member updated via API or SDK call
{
"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"
}
OIDC connection created via API or SDK call
{
"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"
}
OIDC connection deleted via API or SDK call
{
"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"
}
OIDC connection updated via API or SDK call
{
"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"
}
Organization created via API or SDK call
{
"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"
}
Organization deleted via API or SDK call
{
"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"
}
Organization updated via API or SDK call
{
"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"
}
SAML connection created via API or SDK call
{
"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"
}
SAML connection deleted via API or SDK call
{
"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"
}
SAML connection updated via API or SDK call
{
"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"
}
Member created via SCIM
{
"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"
}
Member deleted via SCIM
{
"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"
}
Member updated via SCIM
{
"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 Group created via SCIM
{
"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 Group deleted via SCIM
{
"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 Group updated via SCIM
{
"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 Member Group created via SCIM
{
"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 Member Group deleted via SCIM
{
"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"
}