RocketCOMS

Campaign Subscription Object

The Campaign Subscription object represents a webhook subscription for a campaign.

Attributes

id

string (UUID)

Unique ID assigned to the webhook subscription in RocketCOMS.

campaignId

string (UUID)

Unique ID assigned to the campaign in RocketCOMS.

url  

string

Webhook subscription URL endpoint.

eventTypes  

array

List of events for which the subscription receives notifications. Possible values are:

  • message.status  Status of messages sent as part of a campaign.
  • message.replies  Reply messages for a campaign.
  • batch.status  Status of campaign batches.

Campaign Subscription Object

				
					{
  "id": "991d95fb-1723-4b00-b5ab-ab05eccc0fcd",
  "campaignId": "d341ae75-d236-4240-b653-ce10f54b1e55",
  "url": "https://mycompany.com/webhook/listener",
  "eventTypes": [
    "message.status",
    "message.replies",
    "batch.status"
  ]
}