User Login
Sent each time a user completes login through Scalekit's hosted login, including the first login after signup. data.user_session.organization_id is the organization the user logged in to.
postWebhookuser.login
Payload
Example payload
{
"spec_version": "1",
"type": "user.login",
"object": "UserLoginEvent",
"data": {
"user": {
"user_profile": {
"external_identities": [
{
"connection_type": "OAUTH",
"connection_provider": "GOOGLE"
}
]
}
}
}
}Response
Webhook received successfully
Changes
Webhooks have no change history: a webhook is keyed by its event name rather than a path and method, so no recorded change can name it.