Update campaign column

Update campaign column

Path Params
int64
required

campaign column id

Body Params
int32
required

The updated sequential order of the column within the block.

string
enum
required

Specifies the updated type of content in the column:

  • html: Column contains HTML content.
  • text: Column contains plain text content.
  • img: Column contains an image.
  • button: Column contains a button.
  • multimedia: Column contains multimedia content.
Allowed:
properties
object
required

Defines the content properties based on the column's type:

  • html: Must have the property html for HTML content.

    {
      "html": "<p>Your HTML content</p>"
    }
  • text: Must have the property text for plain text content.

    {
      "text": "Your text content"
    }
  • img: Must include:

    • Base64Content: Base64-encoded image content (without the prefix data:image/png;base64,).
    • ContentType: MIME type of the image.
    • Filename: Name of the image file.
    {
      "Base64Content": "iVBORw...",
      "ContentType": "image/png",
      "Filename": "example.png"
    }
  • button: Must include:

    • txt: Button text.
    • backgroundColor: Inline style for the button's background color.
    • color: Inline style for the text color.
    • fontSize: Inline style for the font size.
    • padding: Inline style for padding.
    • Optional border: Inline style for the border.
    • Optional url: Link to be opened when the button is clicked.
    {
      "txt": "Click me",
      "backgroundColor": "#ff5733",
      "color": "#ffffff",
      "fontSize": "14px",
      "padding": "10px",
      "border": "1px solid #000",
      "url": "https://example.com"
    }
  • multimedia: Must have the property multimediaId for multimedia content.

    {
      "multimediaId": 12345
    }
Responses

Language
Credentials
Header
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json