Contents
Retrieve page contents
Changed onRetrieves clean HTML or Markdown content from a list of URLs. Supports up to 20 URLs per request (public API limit). Specify which formats to return: html, markdown, metadata.
post/web_search/contents
Request
- Base URL: https://api.telnyx.com/v2
- URL: https://api.telnyx.com/v2/web_search/contents
- Auth: HTTP bearer
Request body
Example request
{
"urls": [
"https://en.wikipedia.org/wiki/Artificial_intelligence"
],
"formats": [
"markdown",
"metadata"
],
"crawl_timeout": 10
}Response
Successful content retrieval response.
Changes
- info
endpoint added
- info