apyhub
MARKETING · SMART GENERATION

Extract and Generate Editorial Digest from Multiple Web Pages API

What it does

Newsletter Digest combines multiple web pages into one digest. Send an array of URL strings in body.urls, and you get back a digest object with the source URLs, a written summary, and a list of key takeaways.

Use it when you need to turn a set of related articles into something easier to read, review, or send onward. It fits editorial workflows, research briefings, competitive monitoring, and internal updates where you want the main points without manually reading each page one by one.

The response is structured for downstream automation. digest.sources preserves the URLs that were used, digest.summary gives you a concise synthesis of the pages, and digest.key_takeaways breaks the content into clear bullet-worthy points. That makes it straightforward to store, display, or pass into another content pipeline.

Newsletter Digest is a good fit anywhere you need to condense several articles into a single, readable summary while keeping the original sources attached.

POST
Generate a newsletter digest from multiple web pages
https://api.eu.apyverse.com/namastesumalya/generate-newsletter-digest

QUICKSTART

GUIDE

Quickstart

Send a list of article URLs to generate a newsletter digest.

curl -X POST "https://api.eu.apyverse.com/namastesumalya/generate-newsletter-digest" \
  -H "apy-token: $APY_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"urls":["https://example.com/article1","https://example.com/article2"]}'

What you'll get back

Returns a JSON object with a digest object. digest may include sources as an array of URL strings, summary as a string, and key_takeaways as an array of strings.

{
  "digest": {
    "sources": [
      "https://example.com/article1",
      "https://example.com/article2"
    ],
    "summary": "This digest combines insights from multiple articles discussing advancements in AI-driven content systems.",
    "key_takeaways": [
      "AI is transforming content workflows",
      "Automation improves scalability"
    ]
  }
}
TRY ITLIVE · 1000 ATOMS
Loading your default key…
The full key is used to call the gateway and stays in this tab — never sent to orbit or saved.
body*
urls*
A required array of URL strings pointing to the target web pages to be digested.

About this endpoint

What it does

Generates a newsletter digest from multiple web pages provided as URL strings. The response returns a JSON object containing a digest object with the digest content.

Request Body

ParameterTypeMandatoryDescription
urlsString ArrayYesAn array of URL strings pointing to the target web pages to be digested.

Response

Returns a JSON object with a digest object field. The digest object contains sources as a string array, summary as a string, and key_takeaways as a string array.

ParameterTypeMandatoryDescription
digestObjectNoThe generated digest object.
digest.sourcesString ArrayNoThe source URLs used to generate the digest.
digest.summaryStringNoThe generated summary text.
digest.key_takeawaysString ArrayNoThe key takeaways extracted into the digest.

Body

Name
Type
Description
bodyREQUIRED
object
▣ COMMON ERRORS

Errors any endpoint can return

400bad_request

Required parameter missing or malformed body.

401unauthorized

API key missing, revoked, or not authorized for this service.

429rate_limited

Your plan's per-second rate exceeded. Retry with exponential backoff.

503upstream_busy

Backend temporarily unavailable. Try again in a few seconds.