SLSmartletter API

Newsletters

Newsletter issues (campaigns): write, review, test, send, schedule, pause, report.

get/newsletters— List newsletters

Keys: full_access

Query parameters

status"draft" | "scheduled" | "sending" | "sent" | "paused" | "cancelled" | "held"
limitinteger1–100, default 20.
afteruuidId of the last item of the previous page (older items).
beforeuuidId of the first item of the previous page (newer items).
curl -X GET https://api.smartletter.ai/newsletters \
  -H "Authorization: Bearer $SMARTLETTER_API_KEY"

Response 200

{
  "object": "list",
  "has_more": false,
  "data": [
    {
      "object": "newsletter",
      "id": "7c3e1a52-0000-4000-8000-000000000001",
      "segment_id": "2d9e4b11-0000-4000-8000-000000000003",
      "topic_id": null,
      "subject": "This week in AI",
      "preheader": "Three tools worth your time",
      "status": "draft",
      "kind": "newsletter",
      "from": "[email protected]",
      "audience_limit": null,
      "scheduled_for": null,
      "send_started_at": null,
      "send_finished_at": null,
      "pause_reason": null,
      "recipient_estimate": null,
      "ab_test": null,
      "ab_winner": null,
      "stats": {
        "sent": 0,
        "delivered": 0,
        "opened": 0,
        "clicked": 0,
        "bounced": 0,
        "complained": 0,
        "unsubscribed": 0
      },
      "created_at": "2026-10-17T09:00:00.000Z",
      "updated_at": "2026-10-17T09:00:00.000Z"
    }
  ]
}

post/newsletters— Create a draft

Creates a draft from a Markdown, HTML or blocks body, stored as a visual-editor document (body.format is document when you read it back, with each block's block_id). The platform adds the footer (unsubscribe link, postal address) when the issue is sent. kind: "broadcast" sends to the whole group instead of its subscribers; from sets the sender address on the custom domain of the newsletter.

Keys: full_access

Body

subjectrequiredstringSubject line.
preheaderstringPreview text shown after the subject.
segment_iduuidNewsletter (segment) to send from. Optional when the workspace has a single active newsletter.
topic_iduuidTopic of that newsletter; its subscribers receive the issue.
markdownstringBody in Markdown. Give one of `markdown`, `html` or `blocks`.
htmlstringBody in HTML (one raw HTML block). The platform footer is added around it.
blocksany[]Body as blocks: heading, text, list, quote, image, button, product, divider, columns (2–4) or html. Texts accept **bold**, *italic* and [links](https://…).
audience_filter_iduuidSaved filter (`/audience-filters`): only the matching contacts of the topic receive the issue.
ab_testobjectSubject A/B test (Pro plan or higher): 1 to 3 alternative subjects tested against the issue's own on a random sample; after the wait the rest gets the winner. `null` removes the test.
kind"newsletter" | "broadcast"`newsletter` (default) goes to the subscribers of the newsletter, or of a topic. `broadcast` goes to the contacts of the group (the rule `audience_filter_id` narrows it), subscribed or not, and takes no `topic_id`. A broadcast is never published in the archive.
fromstringSender address of this issue: `[email protected]`, on the custom domain of the newsletter (a bare local part `name` also works). Omit or `null` for the address of the newsletter.
curl -X POST https://api.smartletter.ai/newsletters \
  -H "Authorization: Bearer $SMARTLETTER_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"subject":"This week in AI","preheader":"Three tools worth your time","markdown":"# Hello\n\nThree tools this week…"}'

Response 201

{
  "object": "newsletter",
  "id": "7c3e1a52-0000-4000-8000-000000000001",
  "segment_id": "2d9e4b11-0000-4000-8000-000000000003",
  "topic_id": null,
  "subject": "This week in AI",
  "preheader": "Three tools worth your time",
  "status": "draft",
  "kind": "newsletter",
  "from": "[email protected]",
  "body": {
    "format": "document",
    "content": null,
    "blocks": [
      {
        "block_id": "k3v9q1x0ab",
        "kind": "heading",
        "text": "# Hello"
      },
      {
        "block_id": "p0z8r2m4cd",
        "kind": "text",
        "text": "Three tools this week…"
      }
    ]
  },
  "audience_limit": null,
  "scheduled_for": null,
  "send_started_at": null,
  "send_finished_at": null,
  "pause_reason": null,
  "recipient_estimate": null,
  "ab_test": null,
  "ab_winner": null,
  "stats": {
    "sent": 0,
    "delivered": 0,
    "opened": 0,
    "clicked": 0,
    "bounced": 0,
    "complained": 0,
    "unsubscribed": 0
  },
  "created_at": "2026-10-17T09:00:00.000Z",
  "updated_at": "2026-10-17T09:00:00.000Z"
}

get/newsletters/{id}— Retrieve a newsletter

Keys: full_access

curl -X GET https://api.smartletter.ai/newsletters/<id> \
  -H "Authorization: Bearer $SMARTLETTER_API_KEY"

Response 200

{
  "object": "newsletter",
  "id": "7c3e1a52-0000-4000-8000-000000000001",
  "segment_id": "2d9e4b11-0000-4000-8000-000000000003",
  "topic_id": null,
  "subject": "This week in AI",
  "preheader": "Three tools worth your time",
  "status": "draft",
  "kind": "newsletter",
  "from": "[email protected]",
  "body": {
    "format": "document",
    "content": null,
    "blocks": [
      {
        "block_id": "k3v9q1x0ab",
        "kind": "heading",
        "text": "# Hello"
      },
      {
        "block_id": "p0z8r2m4cd",
        "kind": "text",
        "text": "Three tools this week…"
      }
    ]
  },
  "audience_limit": null,
  "scheduled_for": null,
  "send_started_at": null,
  "send_finished_at": null,
  "pause_reason": null,
  "recipient_estimate": null,
  "ab_test": null,
  "ab_winner": null,
  "stats": {
    "sent": 0,
    "delivered": 0,
    "opened": 0,
    "clicked": 0,
    "bounced": 0,
    "complained": 0,
    "unsubscribed": 0
  },
  "created_at": "2026-10-17T09:00:00.000Z",
  "updated_at": "2026-10-17T09:00:00.000Z"
}

patch/newsletters/{id}— Update a draft

Drafts only. ab_test sets a subject A/B test (Pro plan or higher; guide: /docs/ab-testing), null removes it.

Keys: full_access

Body

subjectstring
preheaderstring
topic_iduuidTopic of the issue. `null` is accepted only for a broadcast, which has no topic.
markdownstring
htmlstring
blocksany[]Body as blocks: heading, text, list, quote, image, button, product, divider, columns (2–4) or html. Texts accept **bold**, *italic* and [links](https://…).
audience_filter_iduuidSaved filter of the issue; `null` sends to the whole topic again.
ab_testobjectSubject A/B test (Pro plan or higher): 1 to 3 alternative subjects tested against the issue's own on a random sample; after the wait the rest gets the winner. `null` removes the test.
kind"newsletter" | "broadcast"Drafts only. See `POST /newsletters`.
fromstringSender address of this issue; `null` goes back to the address of the newsletter.
curl -X PATCH https://api.smartletter.ai/newsletters/<id> \
  -H "Authorization: Bearer $SMARTLETTER_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"subject":"This week in AI (updated)","ab_test":{"variants":[{"subject":"3 AI tools you missed"}],"sample_pct":20}}'

Response 200

{
  "object": "newsletter",
  "id": "7c3e1a52-0000-4000-8000-000000000001",
  "segment_id": "2d9e4b11-0000-4000-8000-000000000003",
  "topic_id": null,
  "subject": "This week in AI",
  "preheader": "Three tools worth your time",
  "status": "draft",
  "kind": "newsletter",
  "from": "[email protected]",
  "body": {
    "format": "document",
    "content": null,
    "blocks": [
      {
        "block_id": "k3v9q1x0ab",
        "kind": "heading",
        "text": "# Hello"
      },
      {
        "block_id": "p0z8r2m4cd",
        "kind": "text",
        "text": "Three tools this week…"
      }
    ]
  },
  "audience_limit": null,
  "scheduled_for": null,
  "send_started_at": null,
  "send_finished_at": null,
  "pause_reason": null,
  "recipient_estimate": null,
  "ab_test": null,
  "ab_winner": null,
  "stats": {
    "sent": 0,
    "delivered": 0,
    "opened": 0,
    "clicked": 0,
    "bounced": 0,
    "complained": 0,
    "unsubscribed": 0
  },
  "created_at": "2026-10-17T09:00:00.000Z",
  "updated_at": "2026-10-17T09:00:00.000Z"
}

delete/newsletters/{id}— Delete a draft

Only drafts can be deleted. Unschedule a scheduled issue first.

Keys: full_access

curl -X DELETE https://api.smartletter.ai/newsletters/<id> \
  -H "Authorization: Bearer $SMARTLETTER_API_KEY"

Response 200

{
  "object": "newsletter",
  "id": "7c3e1a52-0000-4000-8000-000000000001",
  "deleted": true
}

post/newsletters/{id}/duplicate— Duplicate

Copies subject, preheader, body and targeting into a new draft. Never the sending state or the stats.

Keys: full_access

curl -X POST https://api.smartletter.ai/newsletters/<id>/duplicate \
  -H "Authorization: Bearer $SMARTLETTER_API_KEY"

Response 201

{
  "object": "newsletter",
  "id": "9a0d2f3e-0000-4000-8000-000000000004",
  "segment_id": "2d9e4b11-0000-4000-8000-000000000003",
  "topic_id": null,
  "subject": "This week in AI",
  "preheader": "Three tools worth your time",
  "status": "draft",
  "kind": "newsletter",
  "from": "[email protected]",
  "body": {
    "format": "document",
    "content": null,
    "blocks": [
      {
        "block_id": "k3v9q1x0ab",
        "kind": "heading",
        "text": "# Hello"
      },
      {
        "block_id": "p0z8r2m4cd",
        "kind": "text",
        "text": "Three tools this week…"
      }
    ]
  },
  "audience_limit": null,
  "scheduled_for": null,
  "send_started_at": null,
  "send_finished_at": null,
  "pause_reason": null,
  "recipient_estimate": null,
  "ab_test": null,
  "ab_winner": null,
  "stats": {
    "sent": 0,
    "delivered": 0,
    "opened": 0,
    "clicked": 0,
    "bounced": 0,
    "complained": 0,
    "unsubscribed": 0
  },
  "created_at": "2026-10-17T09:00:00.000Z",
  "updated_at": "2026-10-17T09:00:00.000Z"
}

get/newsletters/{id}/review— Pre-send review

Runs the checks a send runs (subject, unsubscribe link, Gmail clipping at ~102 KB, postal address, sending domain) without sending. Blocking items make send and schedule fail with 422.

Keys: full_access

curl -X GET https://api.smartletter.ai/newsletters/<id>/review \
  -H "Authorization: Bearer $SMARTLETTER_API_KEY"

Response 200

{
  "object": "review",
  "id": "7c3e1a52-0000-4000-8000-000000000001",
  "blocking": false,
  "items": [
    {
      "id": "preheader",
      "level": "warning"
    },
    {
      "id": "subject",
      "level": "ok",
      "values": {
        "max": 80,
        "length": 15
      }
    },
    {
      "id": "size",
      "level": "ok",
      "values": {
        "kb": 18,
        "max": 102
      }
    }
  ]
}

post/newsletters/{id}/test— Send a test email

Sends the issue to the workspace owner only, subject prefixed with [Test]. With an A/B test, one email per variant ([Test] [B] …); variants is the number of emails sent (1 without a test). 10 per hour; counts in the monthly quota.

Keys: full_access

curl -X POST https://api.smartletter.ai/newsletters/<id>/test \
  -H "Authorization: Bearer $SMARTLETTER_API_KEY"

Response 200

{
  "object": "test_email",
  "id": "7c3e1a52-0000-4000-8000-000000000001",
  "to": "[email protected]",
  "variants": 1
}

post/newsletters/{id}/send— Send now

Locks the rendered issue and starts sending. Warm-up, test batch and automatic pauses apply. audience_limit sends to the N most engaged contacts first. A blocking pre-send item answers 422 presend_blocked with the items in details. With an A/B test, the sample must hold at least 100 recipients per variant (422 validation_error otherwise).

Keys: full_access · accepts Idempotency-Key

Body

audience_limitintegerSend only to the N most engaged contacts now; the rest can follow with send-more.
curl -X POST https://api.smartletter.ai/newsletters/<id>/send \
  -H "Authorization: Bearer $SMARTLETTER_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"audience_limit":500}'

Response 200

{
  "object": "newsletter",
  "id": "7c3e1a52-0000-4000-8000-000000000001",
  "segment_id": "2d9e4b11-0000-4000-8000-000000000003",
  "topic_id": null,
  "subject": "This week in AI",
  "preheader": "Three tools worth your time",
  "status": "sending",
  "kind": "newsletter",
  "from": "[email protected]",
  "body": {
    "format": "document",
    "content": null,
    "blocks": [
      {
        "block_id": "k3v9q1x0ab",
        "kind": "heading",
        "text": "# Hello"
      },
      {
        "block_id": "p0z8r2m4cd",
        "kind": "text",
        "text": "Three tools this week…"
      }
    ]
  },
  "audience_limit": null,
  "scheduled_for": null,
  "send_started_at": "2026-10-17T10:00:00.000Z",
  "send_finished_at": null,
  "pause_reason": null,
  "recipient_estimate": 1200,
  "ab_test": null,
  "ab_winner": null,
  "stats": {
    "sent": 420,
    "delivered": 415,
    "opened": 96,
    "clicked": 12,
    "bounced": 2,
    "complained": 0,
    "unsubscribed": 1
  },
  "created_at": "2026-10-17T09:00:00.000Z",
  "updated_at": "2026-10-17T10:00:00.000Z"
}

post/newsletters/{id}/schedule— Schedule

Schedules a draft up to one year ahead. Same checks as a send.

Keys: full_access · accepts Idempotency-Key

Body

scheduled_atrequireddatetimeISO 8601 date, in the future, at most one year ahead.
audience_limitintegerSend only to the N most engaged contacts now; the rest can follow with send-more.
curl -X POST https://api.smartletter.ai/newsletters/<id>/schedule \
  -H "Authorization: Bearer $SMARTLETTER_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"scheduled_at":"2026-10-20T08:00:00Z"}'

Response 200

{
  "object": "newsletter",
  "id": "7c3e1a52-0000-4000-8000-000000000001",
  "segment_id": "2d9e4b11-0000-4000-8000-000000000003",
  "topic_id": null,
  "subject": "This week in AI",
  "preheader": "Three tools worth your time",
  "status": "scheduled",
  "kind": "newsletter",
  "from": "[email protected]",
  "body": {
    "format": "document",
    "content": null,
    "blocks": [
      {
        "block_id": "k3v9q1x0ab",
        "kind": "heading",
        "text": "# Hello"
      },
      {
        "block_id": "p0z8r2m4cd",
        "kind": "text",
        "text": "Three tools this week…"
      }
    ]
  },
  "audience_limit": null,
  "scheduled_for": "2026-10-20T08:00:00.000Z",
  "send_started_at": null,
  "send_finished_at": null,
  "pause_reason": null,
  "recipient_estimate": null,
  "ab_test": null,
  "ab_winner": null,
  "stats": {
    "sent": 0,
    "delivered": 0,
    "opened": 0,
    "clicked": 0,
    "bounced": 0,
    "complained": 0,
    "unsubscribed": 0
  },
  "created_at": "2026-10-17T09:00:00.000Z",
  "updated_at": "2026-10-17T09:00:00.000Z"
}

post/newsletters/{id}/unschedule— Unschedule

Keys: full_access

curl -X POST https://api.smartletter.ai/newsletters/<id>/unschedule \
  -H "Authorization: Bearer $SMARTLETTER_API_KEY"

Response 200

{
  "object": "newsletter",
  "id": "7c3e1a52-0000-4000-8000-000000000001",
  "segment_id": "2d9e4b11-0000-4000-8000-000000000003",
  "topic_id": null,
  "subject": "This week in AI",
  "preheader": "Three tools worth your time",
  "status": "draft",
  "kind": "newsletter",
  "from": "[email protected]",
  "body": {
    "format": "document",
    "content": null,
    "blocks": [
      {
        "block_id": "k3v9q1x0ab",
        "kind": "heading",
        "text": "# Hello"
      },
      {
        "block_id": "p0z8r2m4cd",
        "kind": "text",
        "text": "Three tools this week…"
      }
    ]
  },
  "audience_limit": null,
  "scheduled_for": null,
  "send_started_at": null,
  "send_finished_at": null,
  "pause_reason": null,
  "recipient_estimate": null,
  "ab_test": null,
  "ab_winner": null,
  "stats": {
    "sent": 0,
    "delivered": 0,
    "opened": 0,
    "clicked": 0,
    "bounced": 0,
    "complained": 0,
    "unsubscribed": 0
  },
  "created_at": "2026-10-17T09:00:00.000Z",
  "updated_at": "2026-10-17T09:00:00.000Z"
}

post/newsletters/{id}/pause— Pause sending

Keys: full_access

curl -X POST https://api.smartletter.ai/newsletters/<id>/pause \
  -H "Authorization: Bearer $SMARTLETTER_API_KEY"

Response 200

{
  "object": "newsletter",
  "id": "7c3e1a52-0000-4000-8000-000000000001",
  "segment_id": "2d9e4b11-0000-4000-8000-000000000003",
  "topic_id": null,
  "subject": "This week in AI",
  "preheader": "Three tools worth your time",
  "status": "paused",
  "kind": "newsletter",
  "from": "[email protected]",
  "body": {
    "format": "document",
    "content": null,
    "blocks": [
      {
        "block_id": "k3v9q1x0ab",
        "kind": "heading",
        "text": "# Hello"
      },
      {
        "block_id": "p0z8r2m4cd",
        "kind": "text",
        "text": "Three tools this week…"
      }
    ]
  },
  "audience_limit": null,
  "scheduled_for": null,
  "send_started_at": "2026-10-17T10:00:00.000Z",
  "send_finished_at": null,
  "pause_reason": "manual",
  "recipient_estimate": 1200,
  "ab_test": null,
  "ab_winner": null,
  "stats": {
    "sent": 420,
    "delivered": 415,
    "opened": 96,
    "clicked": 12,
    "bounced": 2,
    "complained": 0,
    "unsubscribed": 1
  },
  "created_at": "2026-10-17T09:00:00.000Z",
  "updated_at": "2026-10-17T10:00:00.000Z"
}

post/newsletters/{id}/resume— Resume sending

Resumes a manual pause (or a quota / suspension pause once lifted). A pause for bounces, complaints or a failed test batch needs our team: 409.

Keys: full_access

curl -X POST https://api.smartletter.ai/newsletters/<id>/resume \
  -H "Authorization: Bearer $SMARTLETTER_API_KEY"

Response 200

{
  "object": "newsletter",
  "id": "7c3e1a52-0000-4000-8000-000000000001",
  "segment_id": "2d9e4b11-0000-4000-8000-000000000003",
  "topic_id": null,
  "subject": "This week in AI",
  "preheader": "Three tools worth your time",
  "status": "sending",
  "kind": "newsletter",
  "from": "[email protected]",
  "body": {
    "format": "document",
    "content": null,
    "blocks": [
      {
        "block_id": "k3v9q1x0ab",
        "kind": "heading",
        "text": "# Hello"
      },
      {
        "block_id": "p0z8r2m4cd",
        "kind": "text",
        "text": "Three tools this week…"
      }
    ]
  },
  "audience_limit": null,
  "scheduled_for": null,
  "send_started_at": "2026-10-17T10:00:00.000Z",
  "send_finished_at": null,
  "pause_reason": null,
  "recipient_estimate": 1200,
  "ab_test": null,
  "ab_winner": null,
  "stats": {
    "sent": 420,
    "delivered": 415,
    "opened": 96,
    "clicked": 12,
    "bounced": 2,
    "complained": 0,
    "unsubscribed": 1
  },
  "created_at": "2026-10-17T09:00:00.000Z",
  "updated_at": "2026-10-17T10:00:00.000Z"
}

post/newsletters/{id}/send-more— Send to the next N

For an issue sent with an audience_limit: sends to the next count most engaged contacts. Nobody gets it twice.

Keys: full_access · accepts Idempotency-Key

Body

countrequiredintegerHow many of the next most engaged contacts to add.
curl -X POST https://api.smartletter.ai/newsletters/<id>/send-more \
  -H "Authorization: Bearer $SMARTLETTER_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"count":1000}'

Response 200

{
  "object": "newsletter",
  "id": "7c3e1a52-0000-4000-8000-000000000001",
  "segment_id": "2d9e4b11-0000-4000-8000-000000000003",
  "topic_id": null,
  "subject": "This week in AI",
  "preheader": "Three tools worth your time",
  "status": "sending",
  "kind": "newsletter",
  "from": "[email protected]",
  "body": {
    "format": "document",
    "content": null,
    "blocks": [
      {
        "block_id": "k3v9q1x0ab",
        "kind": "heading",
        "text": "# Hello"
      },
      {
        "block_id": "p0z8r2m4cd",
        "kind": "text",
        "text": "Three tools this week…"
      }
    ]
  },
  "audience_limit": null,
  "scheduled_for": null,
  "send_started_at": "2026-10-17T10:00:00.000Z",
  "send_finished_at": null,
  "pause_reason": null,
  "recipient_estimate": 1200,
  "ab_test": null,
  "ab_winner": null,
  "stats": {
    "sent": 420,
    "delivered": 415,
    "opened": 96,
    "clicked": 12,
    "bounced": 2,
    "complained": 0,
    "unsubscribed": 1
  },
  "created_at": "2026-10-17T09:00:00.000Z",
  "updated_at": "2026-10-17T10:00:00.000Z"
}

get/newsletters/{id}/report— Report

Opens, clicks, bounces, complaints and unsubscribes, sending progress, and results per mailbox provider. links lists the 200 most clicked links (clicks, unique clickers, share of all clicks; robots and mail scanners are not counted), links_total how many links were clicked. With a subject A/B test, ab_test gives each variant's subject and totals, and the sample comparison (rates, 95 % interval, leader, significance); null without a test.

Keys: full_access

curl -X GET https://api.smartletter.ai/newsletters/<id>/report \
  -H "Authorization: Bearer $SMARTLETTER_API_KEY"

Response 200

{
  "object": "report",
  "id": "7c3e1a52-0000-4000-8000-000000000001",
  "status": "sent",
  "totals": {
    "sent": 1200,
    "delivered": 1188,
    "opened": 540,
    "clicked": 96,
    "bounced": 12,
    "complained": 0,
    "unsubscribed": 4
  },
  "rates": {
    "delivery": 0.99,
    "open": 0.4545,
    "click": 0.0808,
    "bounce": 0.01,
    "complaint": 0,
    "unsubscribe": 0.0034
  },
  "progress": {
    "attempted": 1200,
    "recipient_estimate": 1200,
    "audience_limit": null
  },
  "providers": [
    {
      "provider": "gmail",
      "sent": 700,
      "delivered": 698,
      "opened": 330,
      "clicked": 60,
      "bounced": 2,
      "complained": 0
    }
  ],
  "ab_test": {
    "phase": "waiting",
    "sample_pct": 20,
    "metric": "opens",
    "wait_hours": 4,
    "winner_mode": "auto",
    "winner": null,
    "decided_at": null,
    "decided_by": null,
    "decide_at": "2026-10-17T15:00:00.000Z",
    "variants": [
      {
        "key": "A",
        "subject": "This week in AI",
        "preheader": "Three tools worth your time",
        "total": {
          "attempted": 120,
          "sent": 120,
          "delivered": 119,
          "opened": 41,
          "clicked": 7,
          "hard_bounced": 0,
          "complained": 0,
          "unsubscribed": 0
        }
      },
      {
        "key": "B",
        "subject": "3 AI tools you missed",
        "preheader": "Three tools worth your time",
        "total": {
          "attempted": 120,
          "sent": 120,
          "delivered": 120,
          "opened": 55,
          "clicked": 9,
          "hard_bounced": 0,
          "complained": 0,
          "unsubscribed": 1
        }
      }
    ],
    "report": {
      "metric": "opens",
      "leader": "B",
      "winner": null,
      "p_value": 0.068,
      "significant": false,
      "variants": [
        {
          "variant": "A",
          "sent": 120,
          "opened": 41,
          "clicked": 7,
          "open_rate": 0.3417,
          "click_rate": 0.0583,
          "ci_low": 0.2616,
          "ci_high": 0.4316,
          "leader": false
        },
        {
          "variant": "B",
          "sent": 120,
          "opened": 55,
          "clicked": 9,
          "open_rate": 0.4583,
          "click_rate": 0.075,
          "ci_low": 0.3714,
          "ci_high": 0.548,
          "leader": true
        }
      ]
    }
  },
  "links": [
    {
      "url": "https://example.com/guide",
      "label": "Read the guide",
      "clicks": 80,
      "unique_clickers": 71,
      "share": 0.6667
    }
  ],
  "links_total": 3
}

post/newsletters/{id}/ab-winner— Choose the A/B winner

Ends the subject A/B test with this variant: the rest of the audience receives it. Possible while the sample goes out or during the wait (manual mode, or to stop an automatic test early). 409 when the issue has no test, a winner already, or has not started sending.

Keys: full_access

Body

variantrequired"A" | "B" | "C" | "D"The winning variant: `A` (the issue's own subject), `B`, `C` or `D`.
curl -X POST https://api.smartletter.ai/newsletters/<id>/ab-winner \
  -H "Authorization: Bearer $SMARTLETTER_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"variant":"B"}'

Response 200

{
  "object": "newsletter",
  "id": "7c3e1a52-0000-4000-8000-000000000001",
  "segment_id": "2d9e4b11-0000-4000-8000-000000000003",
  "topic_id": null,
  "subject": "This week in AI",
  "preheader": "Three tools worth your time",
  "status": "sending",
  "kind": "newsletter",
  "from": "[email protected]",
  "body": {
    "format": "document",
    "content": null,
    "blocks": [
      {
        "block_id": "k3v9q1x0ab",
        "kind": "heading",
        "text": "# Hello"
      },
      {
        "block_id": "p0z8r2m4cd",
        "kind": "text",
        "text": "Three tools this week…"
      }
    ]
  },
  "audience_limit": null,
  "scheduled_for": null,
  "send_started_at": "2026-10-17T10:00:00.000Z",
  "send_finished_at": null,
  "pause_reason": null,
  "recipient_estimate": 1200,
  "ab_test": {
    "variants": [
      {
        "key": "A",
        "subject": "This week in AI",
        "preheader": "Three tools worth your time"
      },
      {
        "key": "B",
        "subject": "3 AI tools you missed",
        "preheader": "Three tools worth your time"
      }
    ],
    "sample_pct": 20,
    "metric": "opens",
    "wait_hours": 4,
    "winner_mode": "auto"
  },
  "ab_winner": "B",
  "stats": {
    "sent": 420,
    "delivered": 415,
    "opened": 96,
    "clicked": 12,
    "bounced": 2,
    "complained": 0,
    "unsubscribed": 1
  },
  "created_at": "2026-10-17T09:00:00.000Z",
  "updated_at": "2026-10-17T10:00:00.000Z"
}