Skip to content

Rule.io SDK


Rule.io SDK / client/src / SubscriberTagChangedEvent

Interface: SubscriberTagChangedEvent

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

The default shape returned by parseWebhookEvent for tag-add and tag-remove webhooks — the wire bodies are identical, so the parser cannot tell them apart from the body alone. Caller commits the direction with markTagDirection(event, 'added' | 'removed') once they know which webhook URL received the request.

Properties

subscriber

subscriber: WebhookSubscriber

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


tag

tag: WebhookTagRef

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


type

type: "subscriber.tag-changed"

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