Skip to content

Rule.io SDK


Rule.io SDK / client/src / WebhookCampaignRef

Interface: WebhookCampaignRef

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

Campaign reference shared by every campaign event.

Properties

id

id: number

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


messageType

messageType: string

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

'email' or 'text_message' per the apidoc.


name

name: string

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


numberOfRecipients?

optional numberOfRecipients?: number

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

Present on campaign.sent only.


totalSent?

optional totalSent?: number

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

Present on campaign.sent only.