v4

latestOpenAPI 3.1.1Apache 2.02026-07-31107278570.4 KB

User Login

Triggered when a user logs in and a session is created

postWebhookuser.login

Payload

spec_versionstring required

The webhook specification version

idstring required

Unique identifier for the webhook event (must be prefixed with "evt_")

type'user.login' required

The event type

occurred_atstring date-time required

When the event occurred (ISO 8601 format)

environment_idstring required

The environment ID where the event occurred

organization_idstring

The organization ID (if applicable)

object'User' required

The type of object that triggered the webhook

display_namestring

Human-readable display name for the event

Example payload

{
  "spec_version": "1",
  "type": "user.login",
  "object": "User",
  "data": {
    "user_session": {
      "status": "ACTIVE"
    }
  }
}

Response

Webhook received successfully