Skip to main content
POST
Add component to setting

Authorizations

Authorization
string
header
required

Path Parameters

component_id
string
required
setting_name
string
required

Name of the target setting. The setting must have type SOCKET or MULTI_SOCKET.

Body

application/json
source_component_id
string
required

Identifier of the source component to duplicate. The endpoint installs a distinct duplicate and does not reference or modify the source component.

component_display_name

Display name to assign to the duplicated component. Buildtime expressions use CampaignBuildtimeContext.

settings
object[]

Overrides to apply to settings on the duplicated component. Each entry identifies an existing source setting by name and supplies values to apply to the duplicate.

Response

Successful response

Stored campaign component definition. Field display_name is unevaluated and appears in buildtime-evaluatable form.

assets
object[]
required
component_ids
string[]
required
component_references
object[]
required
created_date
string
required

RFC 3339 or RFC 9557 date-time with a numeric UTC offset and an optional IANA time-zone suffix in square brackets. Precision up to milliseconds.

Pattern: ^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}(\.\d{1,3})?(Z|[+-](?:[01][0-9]|2[0-3]):[0-5][0-9])(\[[^\]]+\])?$
Example:

"2025-10-24T02:00:00-07:00"

description
string
required
display_name
required

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

facets
object[]
required
id
string
required
read-only
install
required

The install as configured: a literal value, or an expression (type:string) when defined dynamically. Installtime expressions use ComponentInstalltimeContext.

installed_into_socket
string
required
name
string
required
origin
object
required
tags
string[]
required
type
string
required
types
string[]
required
updated_date
string
required

RFC 3339 or RFC 9557 date-time with a numeric UTC offset and an optional IANA time-zone suffix in square brackets. Precision up to milliseconds.

Pattern: ^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}(\.\d{1,3})?(Z|[+-](?:[01][0-9]|2[0-3]):[0-5][0-9])(\[[^\]]+\])?$
Example:

"2025-10-24T02:00:00-07:00"

upload_version
string
required
variables
object[]
required
version
integer<int32>
required