Clips
What the Smartletter Chrome clipper sends: a page, a selection or a post, kept as a pinned source of a newsletter.
- POST /clips — Clip a page
- GET /clips/targets — List clip targets
post/clips— Clip a page
Adds a page, a selection or a social post to the sources, pinned. The text sent is kept; with less than 200 characters of selection, the page is read again on our side; videos and posts are fetched. The same page with the same selection is kept once: the answer is then the existing clip with duplicate: true. Each local image gets a signed upload URL in uploads (15 minutes, the announced type and size only): PUT the bytes there. 200 links, files and clips per workspace per 24 hours (429). Made for the Chrome clipper's key (clips); a full_access key works too.
Keys: clipsfull_access
Body
| urlrequired | string | The page clipped. |
| title | string | |
| selection_text | string | The text the user selected; with 200 characters or more, the page is not fetched again. |
| page_text | string | |
| platform | "web" | "youtube" | "instagram" | "linkedin" | "facebook" | "tiktok" | "x" | |
| post | object | A social post, as the clipper read it. |
| images | object | object[] | Up to 8 images: an https `url`, or `local: true` with `content_type` and `size` (4 at most), uploaded with the URL in `uploads`. |
| newsletter_id | uuid | The newsletter (segment) the clip is for. |
| note | string |
curl -X POST https://api.smartletter.ai/clips \
-H "Authorization: Bearer $SMARTLETTER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"url":"https://example.com/churn-benchmarks","title":"Churn benchmarks 2026","selection_text":"Median monthly churn for B2B SaaS fell to 3.1%…","platform":"web","images":[{"url":"https://example.com/chart.png","alt":"Churn by segment"},{"local":true,"content_type":"image/png","size":182044,"alt":"Screenshot"}],"newsletter_id":"7c3e1a52-0000-4000-8000-000000000001","note":"For Friday's issue"}'Response 201
{
"object": "clip",
"id": "0c5d7e21-0000-4000-8000-000000000012",
"status": "processing",
"duplicate": false,
"uploads": [
{
"position": 1,
"url": "https://smartletter-sources.r2.cloudflarestorage.com/clips/…?X-Amz-Signature=…"
}
]
}get/clips/targets— List clip targets
The active newsletters of the workspace a clip can be filed under (newsletter_id), by name.
Keys: clipsfull_access
curl -X GET https://api.smartletter.ai/clips/targets \
-H "Authorization: Bearer $SMARTLETTER_API_KEY"Response 200
{
"object": "list",
"has_more": false,
"data": [
{
"id": "7c3e1a52-0000-4000-8000-000000000001",
"name": "Acme Weekly"
}
]
}