Store Article

Create a new article for the authenticated user's company. The request must include a title for the article, and can optionally include content and an author.

The content of the article should be provided as Markdown in the content field. HTML-Tags will be stripped from the content for security reasons.
Supported Markdown features include:

  • Headers (H2, H3, H4)
  • Bold and italic text
  • Links
  • Lists
  • Dividers

Images can not be included within the article content via the API. If you want to include images in your article, please use the Trustmarkt Web App to upload images directly in the article editor.

To prevent abuse, it's only possible to have a maximum of 50 articles in the status "DRAFT", "SUBMITTED" or "REJECTED" at the same time. If you want to create more articles, please publish or delete existing articles first.

Body Params
string
required
length between 10 and 90

The title of the article.

string | null

The Markdown-Content of the article. Only supports the following Markdown features: H2, H3, H4, bold, italic, links, lists and dividers. All HTML tags will be stripped from the content for security reasons.

string | null

The alt-text for the article thumbnail.

string | null

The author of the article. Will be set to the currently authenticated user if not provided.

string | null

The category of the article.

Responses

Language
Credentials
Bearer
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json