post https://api.byword.ai/create_article
This endpoint starts the article creation process in Byword. It effectively allows for three different modes of article creation, just like in the Byword app. Please refer to the Getting Started page for more details.
These three different modes can be achieved as follows:
- Keyword
Setmode
tokeyword
and supply a keyword as yourinput
parameter. - Article Title
Setmode
totitle
and supply an article title as yourinput
parameter. - Article Title + Subheadings
Setmode
totitle
and supply an article title as yourinput
parameter, along with a semi-colon-separated list of subheadings as yoursubheadings
parameter.
Successful API calls will return a success message, and an article ID. You can then poll the Get Article endpoint to check the status of the article, and retrieve all its fields once ready. Articles typically take around 60 seconds to generate, but can take longer in certain circumstances.