lists

Customize signup form

Customize a list's default signup form.

post/3.0/lists/{list_id}/signup-forms

Request

Path parameters

list_idstring required

The unique ID for the list.

Request body

Example request

{
  "contents": [
    {
      "section": "signup_message",
      "value": "Signup message goes here"
    }
  ],
  "header": {
    "image_align": "center",
    "image_alt": "This is an image",
    "image_border_color": "#896d6d",
    "image_border_style": "solid",
    "image_border_width": "2",
    "image_height": "200",
    "image_link": "gotothisimage.com",
    "image_target": "_blank",
    "image_url": "http://gallery.mailchimp.com/332310cb9a420a9e7fea2858a/images/2491208c-9458-4834-a708-fef4ee736472.png",
    "image_width": "800",
    "text": "Header Text goes here"
  },
  "styles": [
    {
      "options": [
        {
          "property": "background-color",
          "value": "#111111"
        }
      ],
      "selector": "page_background"
    }
  ]
}

Response

list_idstring

The signup form's list id.

signup_form_urlstring

Signup form URL.

Example response

{
  "contents": [
    {
      "section": "signup_message",
      "value": "Signup message goes here"
    }
  ],
  "header": {
    "image_align": "center",
    "image_alt": "This is an image",
    "image_border_color": "#896d6d",
    "image_border_style": "solid",
    "image_border_width": "2",
    "image_height": "200",
    "image_link": "gotothisimage.com",
    "image_target": "_blank",
    "image_url": "http://gallery.mailchimp.com/332310cb9a420a9e7fea2858a/images/2491208c-9458-4834-a708-fef4ee736472.png",
    "image_width": "800",
    "text": "Header Text goes here"
  },
  "list_id": "4ca5becb8d",
  "styles": [
    {
      "options": [
        {
          "property": "background-color",
          "value": "#111111"
        }
      ],
      "selector": "page_background"
    }
  ]
}

Changes

No recorded changes to this operation across all 1 revision of this API.