Create webhook subscription
Create a webhook subscription. The response includes a signing secret exactly once; persist it securely because later reads omit it.
Authorizations
API key authentication for the External Actor Gateway
Body
URL to open when action is triggered
Event types to subscribe to
1Supported outbound webhook event types. page.version.* events correspond to Audience version lifecycle changes in Customer API terminology.
page.version.created, page.version.processed, page.version.published, form.submitted, form.enriched, form.enrichment_failed [
"page.version.created",
"page.version.processed",
"page.version.published"
]Whether the subscription should be active
true
Response
WebhookSubscription created successfully
Unique subscription identifier
URL to open when action is triggered
Subscribed event types. null means the subscription receives every supported event.
Supported outbound webhook event types. page.version.* events correspond to Audience version lifecycle changes in Customer API terminology.
page.version.created, page.version.processed, page.version.published, form.submitted, form.enriched, form.enrichment_failed Whether the subscription is active
^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d(?::[0-5]\d(?:\.\d+)?)?(?:Z))$^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d(?::[0-5]\d(?:\.\d+)?)?(?:Z))$Webhook signing secret. Store this value now because it is only returned when the subscription is created.

