Skip to navigation

Replace campaign config

Create or replace the workspace’s outbound campaign configuration. Send the version you last read as expected_version, or omit it to create the first configuration. A configuration changed since you read it is not replaced. Campaigns keep the policy they started with.

Headers

xi-api-keystringOptional

Request

This endpoint expects an object.
configobjectRequired
expected_versionintegerOptional>=1

The version of the configuration being replaced. Omit it only to create the first configuration.

Response

Successful Response
versioninteger

Increases with every replacement; send it as expected_version.

configobject

Errors

422
Config Update Request Unprocessable Entity Error