Skip to main content
PUT
Update a webhook action
EXPERT. This operation is in the Feature Building Blocks APIs. Read that page before you use it.

Authorizations

Authorization
string
header
required

Path Parameters

campaignId
string
required
controllerId
string
required
actionId
string
required

Body

application/json

Body of a PUT /v2/campaigns/{campaignId}{version:(/version/.+)?}/controllers/{controllerId}/actions/webhooks/{actionId} request.

component_ids
string[]
component_references
object[]
data
object
dynamic_data

Choose between static or dynamic dynamic data. Buildtime expressions use ControllerBuildtimeContext. Runtime expressions use WebhookActionContext.

enabled

Choose between static or dynamic enabled. Buildtime expressions use ControllerBuildtimeContext.

quality
enum<string>
Available options:
ALWAYS,
HIGH,
LOW
webhook_id

Choose between static or dynamic webhook id. Buildtime expressions use ControllerBuildtimeContext.

Response

Successful response

action_id
string
action_type
enum<string>
Available options:
WEBHOOK
component_ids
string[]
component_references
object[]
enabled

The enabled as configured: a literal value, or an expression (type:string) when defined dynamically. Buildtime expressions use ControllerBuildtimeContext.

quality
enum<string>
Available options:
ALWAYS,
HIGH,
LOW
data
object
dynamic_data

The dynamic data as configured: a literal value, or an expression (type:string) when defined dynamically. Buildtime expressions use ControllerBuildtimeContext. Runtime expressions use WebhookActionContext.

webhook_id

The webhook id as configured: a literal value, or an expression (type:string) when defined dynamically. Buildtime expressions use ControllerBuildtimeContext.