Telegraph icon

Telegraph

Consume Telegraph API

Actions9

Page → Create

AI-generated

Summary

Create a new Telegraph page with specified title and content in Markdown, HTML, or Telegraph JSON format, optionally including author name, author URL, and requesting content return.

Inputs

  • Title (required) — Page title for the new Telegraph article.
  • Content Format (required) — Format of the page content; choose from Markdown, HTML, or JSON (Telegraph Node format).
  • Content (required) — Page content provided according to the selected Content Format: Markdown string, HTML string, or JSON array of Telegraph Node objects.
  • Author Name — Author's name displayed below the page title.
  • Author URL — URL to the author's profile, displayed below the page title.
  • Return Content — Whether to include the content field in the returned page object.

Output shape

a single Telegraph page object

Returns the created page's data object including page ID, URL, title, author details, and optionally the full content if 'Return Content' is true. Errors are surfaced on failure.

Examples

Example 1: Create a page with Markdown content and author

Title set; Content Format set to Markdown; Markdown content provided; author name and URL optionally set; Return Content optionally true.

Discussion