{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/sendly-now/json-schema/sendly-now-list-subscribe-schema.json",
  "title": "ListSubscribe",
  "description": "Body for POST /api/lists/{id}/subscribe.",
  "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/ListSubscribe",
  "properties": {
    "allowResubscribe": {
      "default": false,
      "description": "Permission to reverse an earlier opt-out. When the email already has an UNSUBSCRIBED membership on this list, the call fails with 409 RESUBSCRIBE_CONFIRMATION_REQUIRED unless this is `true`. Send `true` only when the contact is acting for themselves — a public subscribe form they submitted is affirmative consent — never for an operator-initiated add.",
      "type": "boolean"
    },
    "data": {
      "additionalProperties": {},
      "description": "Custom fields to upsert onto the contact as part of subscribing.",
      "type": "object"
    },
    "email": {
      "format": "email",
      "type": "string"
    }
  },
  "required": [
    "email"
  ],
  "type": "object"
}