Skip to content

Rule.io SDK


Rule.io SDK / client/src / SubscriberAddedToSegmentEvent

Interface: SubscriberAddedToSegmentEvent

Defined in: client/src/webhooks/types.ts:185

Properties

segment

segment: WebhookSegmentRef

Defined in: client/src/webhooks/types.ts:187


subscriber

subscriber: WebhookSubscriber & object

Defined in: client/src/webhooks/types.ts:192

The apidoc example puts account inside subscriber for this event only. The type matches that shape.

Type Declaration

account?

optional account?: WebhookAccount


type

type: "subscriber.added-to-segment"

Defined in: client/src/webhooks/types.ts:186