User Organization Invitation

Sent when you create a user in an organization and Scalekit sends them an invitation email (send_invitation_email is true, the default). When the user accepts, user.organization_membership_created follows.

postWebhookuser.organization_invitation

Payload

spec_versionstring required

The webhook specification version

idstring required

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

type'user.organization_invitation' 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

object'OrgMembershipEvent' required

The type of object that triggered the webhook

Example payload

{
  "spec_version": "1",
  "type": "user.organization_invitation",
  "object": "OrgMembershipEvent",
  "data": {
    "organization": {
      "id": "org_1234567890",
      "display_name": "AcmeCorp",
      "external_id": "org_external_123",
      "slug": "acmecorp",
      "region_code": "US",
      "create_time": "2025-12-09T09:25:02.02Z",
      "update_time": "2025-12-09T09:25:02.025330364Z"
    },
    "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.