{
  "info": {
    "name": "Lettr — mcp.ai",
    "description": "REST API for the Lettr MCP. Set {{apiKey}} to a workspace key (sk_live_…) created at https://mcp.ai/settings/api-keys.",
    "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json"
  },
  "auth": {
    "type": "bearer",
    "bearer": [
      {
        "key": "token",
        "value": "{{apiKey}}",
        "type": "string"
      }
    ]
  },
  "variable": [
    {
      "key": "baseUrl",
      "value": "https://api.mcp.ai/api/lettr",
      "type": "string"
    },
    {
      "key": "apiKey",
      "value": "sk_live_...",
      "type": "string"
    }
  ],
  "item": [
    {
      "name": "lettr_attach_contacts_to_lists",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/attach/contacts/to/lists",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "attach",
            "contacts",
            "to",
            "lists"
          ]
        },
        "description": "Attach every combination of 1-1000 contacts and 1-50 audience lists, processing up to 50,000 contact-list pairs and reporting new and existing memberships.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"list_ids\": \"\",\n  \"contact_ids\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "lettr_bulk_create_audience_contacts",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/bulk/create/audience/contacts",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "bulk",
            "create",
            "audience",
            "contacts"
          ]
        },
        "description": "Create or recognize up to 1000 normalized, deduplicated contacts. Shared properties affect only newly created contacts; list_id applies to all contacts, including those that already exist.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"emails\": \"\",\n  \"list_id\": \"\",\n  \"properties\": {}\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "lettr_cancel_scheduled_email",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/cancel/scheduled/email",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "cancel",
            "scheduled",
            "email"
          ]
        },
        "description": "Cancel a scheduled email before its delivery time; cancellation is unavailable once processing has begun.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"transmission_id\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "lettr_create_audience_contact",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/create/audience/contact",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "create",
            "audience",
            "contact"
          ]
        },
        "description": "Create one audience contact with optional properties and list membership.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"email\": \"\",\n  \"list_id\": \"\",\n  \"properties\": {}\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "lettr_create_audience_contact_with_double_opt_in",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/create/audience/contact/with/double/opt/in",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "create",
            "audience",
            "contact",
            "with",
            "double",
            "opt",
            "in"
          ]
        },
        "description": "Create an unverified audience contact and irreversibly send an external confirmation email; the contact becomes subscribed only after confirming.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"email\": \"\",\n  \"list_id\": \"\",\n  \"properties\": {},\n  \"double_opt_in\": {}\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "lettr_create_audience_list",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/create/audience/list",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "create",
            "audience",
            "list"
          ]
        },
        "description": "Create a uniquely named audience list for grouping contacts.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"name\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "lettr_create_audience_property",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/create/audience/property",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "create",
            "audience",
            "property"
          ]
        },
        "description": "Define a custom contact property with an immutable name and value type. Changing either later requires deleting and recreating the property.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"name\": \"\",\n  \"property_type\": \"\",\n  \"fallback_value\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "lettr_create_audience_segment",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/create/audience/segment",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "create",
            "audience",
            "segment"
          ]
        },
        "description": "Create a dynamic audience segment whose condition groups are ANDed while conditions inside each group are ORed.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"name\": \"\",\n  \"list_id\": \"\",\n  \"conditions\": {}\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "lettr_create_audience_topic",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/create/audience/topic",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "create",
            "audience",
            "topic"
          ]
        },
        "description": "Create a public or private subscription topic with an immutable opt-in or opt-out default.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"name\": \"\",\n  \"visibility\": \"\",\n  \"description\": \"\",\n  \"default_subscription\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "lettr_create_domain",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/create/domain",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "create",
            "domain"
          ]
        },
        "description": "Register a sending domain and return the DNS configuration needed to verify it.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"domain\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "lettr_create_template",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/create/template",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "create",
            "template"
          ]
        },
        "description": "Create and publish an email template from either custom HTML or Topol editor JSON, extracting its merge tags.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"html\": \"\",\n  \"name\": \"\",\n  \"folder_id\": 0,\n  \"project_id\": 0,\n  \"editor_json\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "lettr_create_webhook",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/create/webhook",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "create",
            "webhook"
          ]
        },
        "description": "Create an active event webhook using no authentication, HTTP Basic credentials, or OAuth 2 client credentials.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"url\": \"\",\n  \"name\": \"\",\n  \"events\": \"\",\n  \"auth_type\": \"\",\n  \"events_mode\": \"\",\n  \"auth_password\": \"\",\n  \"auth_username\": \"\",\n  \"oauth_client_id\": \"\",\n  \"oauth_token_url\": \"\",\n  \"oauth_client_secret\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "lettr_delete_audience_contact",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/delete/audience/contact",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "delete",
            "audience",
            "contact"
          ]
        },
        "description": "Permanently delete one audience contact and its associated memberships.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"contact_id\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "lettr_delete_audience_lists",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/delete/audience/lists",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "delete",
            "audience",
            "lists"
          ]
        },
        "description": "Permanently delete between 1 and 50 audience lists in one request.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"list_ids\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "lettr_delete_audience_property",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/delete/audience/property",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "delete",
            "audience",
            "property"
          ]
        },
        "description": "Permanently delete a custom contact-property definition.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"property_id\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "lettr_delete_audience_segment",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/delete/audience/segment",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "delete",
            "audience",
            "segment"
          ]
        },
        "description": "Permanently delete one dynamic audience segment.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"segment_id\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "lettr_delete_audience_topic",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/delete/audience/topic",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "delete",
            "audience",
            "topic"
          ]
        },
        "description": "Permanently delete one audience subscription topic.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"topic_id\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "lettr_delete_domain",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/delete/domain",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "delete",
            "domain"
          ]
        },
        "description": "Permanently remove a sending domain from Lettr and SparkPost so it can no longer send email.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"domain\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "lettr_delete_template",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/delete/template",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "delete",
            "template"
          ]
        },
        "description": "Permanently delete an email template and all of its versions.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"project_id\": 0,\n  \"template_slug\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "lettr_delete_webhook",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/delete/webhook",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "delete",
            "webhook"
          ]
        },
        "description": "Permanently remove a webhook so Lettr stops delivering events to it.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"webhook_id\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "lettr_detach_contacts_from_lists",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/detach/contacts/from/lists",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "detach",
            "contacts",
            "from",
            "lists"
          ]
        },
        "description": "Detach every combination of 1-1000 contacts and 1-50 audience lists, reporting removed and absent memberships.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"list_ids\": \"\",\n  \"contact_ids\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "lettr_get_audience_contact",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/get/audience/contact",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "get",
            "audience",
            "contact"
          ]
        },
        "description": "Retrieve one contact's email, status, custom properties, list memberships, and topic subscriptions by ID.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"contact_id\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "lettr_get_audience_list",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/get/audience/list",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "get",
            "audience",
            "list"
          ]
        },
        "description": "Retrieve one audience list and its current contact count by ID.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"list_id\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "lettr_get_audience_property",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/get/audience/property",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "get",
            "audience",
            "property"
          ]
        },
        "description": "Retrieve one custom contact-property definition and its fallback value.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"property_id\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "lettr_get_audience_segment",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/get/audience/segment",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "get",
            "audience",
            "segment"
          ]
        },
        "description": "Retrieve one dynamic segment's list restriction, complete AND-of-OR condition definition, and cached contact count.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"segment_id\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "lettr_get_audience_topic",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/get/audience/topic",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "get",
            "audience",
            "topic"
          ]
        },
        "description": "Retrieve one subscription topic's defaults, visibility, and current contact count.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"topic_id\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "lettr_get_campaign",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/get/campaign",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "get",
            "campaign"
          ]
        },
        "description": "Retrieve one campaign's name, subject, sender and reply-to configuration, schedule, rendered HTML, lifecycle state, recipient counts, and engagement statistics. The campaign's audience definition is n",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"campaign_id\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "lettr_get_domain",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/get/domain",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "get",
            "domain"
          ]
        },
        "description": "Retrieve one sending domain's send readiness, DNS records, provider detection, and verification status.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"domain\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "lettr_get_email",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/get/email",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "get",
            "email"
          ]
        },
        "description": "Retrieve a sent email's delivery state, recipients, schedule metadata, and events by request ID. The configurable event date range defaults to the last 10 days, not the email's complete event history.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"to_date\": \"\",\n  \"from_date\": \"\",\n  \"request_id\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "lettr_get_scheduled_email",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/get/scheduled/email",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "get",
            "scheduled",
            "email"
          ]
        },
        "description": "Retrieve a scheduled email's current state and events by transmission ID, including after it has been processed.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"transmission_id\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "lettr_get_template",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/get/template",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "get",
            "template"
          ]
        },
        "description": "Retrieve an email template's metadata, active HTML or editor JSON content, and version counts by slug.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"project_id\": 0,\n  \"template_slug\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "lettr_get_template_merge_tags",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/get/template/merge/tags",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "get",
            "template",
            "merge",
            "tags"
          ]
        },
        "description": "Return required and optional merge tags for a template's active or specified version before sending with substitution data.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"version\": 0,\n  \"project_id\": 0,\n  \"template_slug\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "lettr_get_webhook",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/get/webhook",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "get",
            "webhook"
          ]
        },
        "description": "Retrieve one webhook's target, enabled state, event selection, authentication mode, and latest delivery status.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"webhook_id\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "lettr_list_audience_contacts",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/list/audience/contacts",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "list",
            "audience",
            "contacts"
          ]
        },
        "description": "Return one cursor-controlled page of contacts, optionally filtered by search text, status, list, or segment.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"cursor\": \"\",\n  \"search\": \"\",\n  \"status\": \"\",\n  \"list_id\": \"\",\n  \"per_page\": 0,\n  \"segment_id\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "lettr_list_audience_lists",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/list/audience/lists",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "list",
            "audience",
            "lists"
          ]
        },
        "description": "Return one cursor-controlled page of audience lists with each list's contact count.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"cursor\": \"\",\n  \"per_page\": 0\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "lettr_list_audience_properties",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/list/audience/properties",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "list",
            "audience",
            "properties"
          ]
        },
        "description": "Return one cursor-controlled page of custom contact-property definitions and fallback values.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"cursor\": \"\",\n  \"per_page\": 0\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "lettr_list_audience_segments",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/list/audience/segments",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "list",
            "audience",
            "segments"
          ]
        },
        "description": "Return one cursor-controlled page of dynamic audience segments, including their complete AND-of-OR condition definitions, optionally filtered by list.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"cursor\": \"\",\n  \"list_id\": \"\",\n  \"per_page\": 0\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "lettr_list_audience_topics",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/list/audience/topics",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "list",
            "audience",
            "topics"
          ]
        },
        "description": "Return one cursor-controlled page of subscription topics with defaults, visibility, and contact counts.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"cursor\": \"\",\n  \"per_page\": 0\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "lettr_list_campaign_events",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/list/campaign/events",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "list",
            "campaign",
            "events"
          ]
        },
        "description": "Return one cursor-controlled page of a campaign's delivery and engagement events, with event, recipient, and time filters. An empty items page can still have a next_cursor; continue until next_cursor ",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"email\": \"\",\n  \"limit\": 0,\n  \"cursor\": \"\",\n  \"end_date\": \"\",\n  \"event_type\": \"\",\n  \"start_date\": \"\",\n  \"campaign_id\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "lettr_list_campaigns",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/list/campaigns",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "list",
            "campaigns"
          ]
        },
        "description": "Return one cursor-controlled page of campaigns with complete delivery and engagement statistics, optionally filtered by lifecycle status.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"cursor\": \"\",\n  \"status\": \"\",\n  \"per_page\": 0\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "lettr_list_domains",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/list/domains",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "list",
            "domains"
          ]
        },
        "description": "Return all sending domains with approval, DNS verification, and send-readiness status.",
        "body": {
          "mode": "raw",
          "raw": "{}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "lettr_list_email_events",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/list/email/events",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "list",
            "email",
            "events"
          ]
        },
        "description": "Return one cursor-controlled page of delivery and engagement events across sent emails, with event, recipient, transmission, bounce, and date filters.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"cursor\": \"\",\n  \"to_date\": \"\",\n  \"per_page\": 0,\n  \"from_date\": \"\",\n  \"recipients\": \"\",\n  \"event_types\": \"\",\n  \"bounce_classes\": \"\",\n  \"transmission_id\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "lettr_list_emails",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/list/emails",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "list",
            "emails"
          ]
        },
        "description": "Return one cursor-controlled page of sent emails, optionally filtered by recipient and date range.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"cursor\": \"\",\n  \"to_date\": \"\",\n  \"per_page\": 0,\n  \"from_date\": \"\",\n  \"recipient\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "lettr_list_projects",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/list/projects",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "list",
            "projects"
          ]
        },
        "description": "Return one cursor-controlled page of Lettr projects and their IDs for use with template operations.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"cursor\": \"\",\n  \"per_page\": 0\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "lettr_list_templates",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/list/templates",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "list",
            "templates"
          ]
        },
        "description": "Return one cursor-controlled page of email templates for a project or the team's default project.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"cursor\": \"\",\n  \"per_page\": 0,\n  \"project_id\": 0\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "lettr_list_webhooks",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/list/webhooks",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "list",
            "webhooks"
          ]
        },
        "description": "Return all event webhooks with target, enabled state, event selection, authentication mode, and latest delivery status.",
        "body": {
          "mode": "raw",
          "raw": "{}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "lettr_publish_template_version",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/publish/template/version",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "publish",
            "template",
            "version"
          ]
        },
        "description": "Create and activate a new version of an existing email template from exactly one of HTML or Topol editor JSON, optionally renaming the template atomically.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"html\": \"\",\n  \"name\": \"\",\n  \"project_id\": 0,\n  \"editor_json\": \"\",\n  \"template_slug\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "lettr_schedule_campaign",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/schedule/campaign",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "schedule",
            "campaign"
          ]
        },
        "description": "Schedule a campaign for future delivery or reschedule it. The campaign dispatches automatically at that time unless it is unscheduled first.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"campaign_id\": \"\",\n  \"scheduled_at\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "lettr_schedule_email",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/schedule/email",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "schedule",
            "email"
          ]
        },
        "description": "Create a transactional email scheduled 5 minutes to 3 days in the future; it remains cancellable until processed.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"cc\": \"\",\n  \"to\": \"\",\n  \"bcc\": \"\",\n  \"tag\": \"\",\n  \"html\": \"\",\n  \"text\": \"\",\n  \"headers\": {},\n  \"options\": {},\n  \"subject\": \"\",\n  \"amp_html\": \"\",\n  \"metadata\": {},\n  \"reply_to\": \"\",\n  \"from_name\": \"\",\n  \"from_email\": \"\",\n  \"project_id\": 0,\n  \"attachments\": \"\",\n  \"scheduled_at\": \"\",\n  \"reply_to_name\": \"\",\n  \"template_slug\": \"\",\n  \"template_version\": 0,\n  \"substitution_data\": {}\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "lettr_send_campaign",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/send/campaign",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "send",
            "campaign"
          ]
        },
        "description": "Immediately and irreversibly start sending a sendable draft campaign to its resolved audience. Only call after confirming the campaign's audience, subject, sender email, and content. A successful 202 ",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"campaign_id\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "lettr_send_email",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/send/email",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "send",
            "email"
          ]
        },
        "description": "Immediately queue a transactional email to up to 50 recipients using inline content or a Lettr template. This is an irreversible external send.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"cc\": \"\",\n  \"to\": \"\",\n  \"bcc\": \"\",\n  \"tag\": \"\",\n  \"html\": \"\",\n  \"text\": \"\",\n  \"headers\": {},\n  \"options\": {},\n  \"subject\": \"\",\n  \"amp_html\": \"\",\n  \"metadata\": {},\n  \"reply_to\": \"\",\n  \"from_name\": \"\",\n  \"from_email\": \"\",\n  \"project_id\": 0,\n  \"attachments\": \"\",\n  \"reply_to_name\": \"\",\n  \"template_slug\": \"\",\n  \"template_version\": 0,\n  \"substitution_data\": {}\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "lettr_unschedule_campaign",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/unschedule/campaign",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "unschedule",
            "campaign"
          ]
        },
        "description": "Cancel a scheduled campaign send and return the campaign to draft. The campaign must still be scheduled; this cannot stop one already preparing or sending.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"campaign_id\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "lettr_update_audience_contact",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/update/audience/contact",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "update",
            "audience",
            "contact"
          ]
        },
        "description": "Change a contact's email, subscribed or unsubscribed status, or selected custom property values. Provide at least one of email, status, or properties; a null value inside properties removes that prope",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"email\": \"\",\n  \"status\": \"\",\n  \"contact_id\": \"\",\n  \"properties\": {}\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "lettr_update_audience_list",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/update/audience/list",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "update",
            "audience",
            "list"
          ]
        },
        "description": "Rename an audience list while preserving its contacts.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"name\": \"\",\n  \"list_id\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "lettr_update_audience_property",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/update/audience/property",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "update",
            "audience",
            "property"
          ]
        },
        "description": "Set or clear a custom contact property's fallback value. Its name and data type cannot be changed.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"property_id\": \"\",\n  \"fallback_value\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "lettr_update_audience_segment",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/update/audience/segment",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "update",
            "audience",
            "segment"
          ]
        },
        "description": "Change a dynamic segment's name, optional audience-list restriction, or complete AND-of-OR condition definition. Provide at least one of these mutable fields; setting list_id to null removes the list ",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"name\": \"\",\n  \"list_id\": \"\",\n  \"conditions\": {},\n  \"segment_id\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "lettr_update_audience_topic",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/update/audience/topic",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "update",
            "audience",
            "topic"
          ]
        },
        "description": "Change a subscription topic's name, description, or public/private visibility. Provide at least one of these mutable fields; setting description to null clears it. Its default subscription behavior ca",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"name\": \"\",\n  \"topic_id\": \"\",\n  \"visibility\": \"\",\n  \"description\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "lettr_update_template",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/update/template",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "update",
            "template"
          ]
        },
        "description": "Rename an email template's metadata without publishing a new version.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"name\": \"\",\n  \"project_id\": 0,\n  \"template_slug\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "lettr_update_webhook",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/update/webhook",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "update",
            "webhook"
          ]
        },
        "description": "Partially update a webhook's name, callback URL, authentication, selected events, or active state. Provide at least one field to update.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"url\": \"\",\n  \"name\": \"\",\n  \"active\": false,\n  \"events\": \"\",\n  \"auth_type\": \"\",\n  \"webhook_id\": \"\",\n  \"auth_password\": \"\",\n  \"auth_username\": \"\",\n  \"oauth_client_id\": \"\",\n  \"oauth_token_url\": \"\",\n  \"oauth_client_secret\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "lettr_verify_domain",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/verify/domain",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "verify",
            "domain"
          ]
        },
        "description": "Run Lettr's DNS verification for a registered domain and return DKIM, CNAME, DMARC, SPF, and ownership results.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"domain\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    }
  ]
}