/settings/double_optin

Enable/disabled double opt-in for API and integrations

post/settings/double_optin

Request

  • Base URL
    https://api.mailerlite.com/api/v2
  • URL
    https://api.mailerlite.com/api/v2/settings/double_optin
  • Auth
    API key in header X-MailerLite-ApiKey

Request body

enableboolean

Response

200

enabledboolean

Example response

{
  "enabled": true,
  "previewPaths": {
    "pagePath": "/data/a/0/1/confirmation_thank_you.html",
    "emailPath": "/data/a/0/1/mails/0/1/mail.html"
  }
}

Changes

No recorded changes to this operation across all 2 revisions of this API.