{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/sendly-now/json-schema/sendly-now-list-v1-create-schema.json",
  "title": "ListV1Create",
  "description": "Body for POST /api/v1/lists.",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/sendly-now-lists-api-openapi.yml#/components/schemas/ListV1Create",
  "properties": {
    "confirmation_template_id": {
      "format": "uuid",
      "type": [
        "string",
        "null"
      ]
    },
    "description": {
      "maxLength": 500,
      "type": [
        "string",
        "null"
      ]
    },
    "double_opt_in": {
      "default": false,
      "description": "Require the contact to confirm before the membership becomes CONFIRMED. Sendly does NOT send the confirmation email — subscribing returns a `confirm_token` and you deliver `/api/lists/confirm-subscription?token=<token>` to the contact yourself.",
      "type": "boolean"
    },
    "name": {
      "maxLength": 200,
      "minLength": 1,
      "type": "string"
    },
    "redirect_url": {
      "description": "Where a confirmed contact is sent after following the confirmation link.",
      "format": "uri",
      "type": [
        "string",
        "null"
      ]
    }
  },
  "required": [
    "name"
  ],
  "type": "object"
}