Tchop: Create Article
AI-generatedSummary
Create a new article post within a specified story on tchop, including optional settings such as publication status, images, author, style, and metadata.
Inputs
- Story ID (required) — Numeric ID of the story to create the article post in.
- Source (required) — Source name of the article.
- Title (required) — Title of the article.
- Description — Optional description or abstract of the article.
- URL (required) — URL link to the article.
- Headline — Optional headline shown above the article.
- Published (required) — Boolean flag indicating if the article should be published (true) or saved as draft (false).
- Image URLs — Single URL string or JSON array of URL strings to images which will be uploaded and attached to the article.
- Author — Author name of the article.
- Style — Style option for the article card: Standard, Big Without Text, Small Without Text, or Small With Text.
- Metadata — Additional key-value metadata assignments to include with the article post.
Output shape
a JSON object containing the created article's ID or error details
Returns an object with the article 'id' on success or error messages on failure; multiple input items create multiple articles with corresponding outputs; errors can optionally continue on fail.
Examples
Example 1: Create a published article with images and metadata
Set Story ID, Source, Title, URL, Published=true, provide image URLs as array, optionally fill Headline and Author, select Style, and add key-value pairs in Metadata.