---
title: "Publish article"
method: POST
path: "/api/articles"
tags: ["articles"]
---

# Publish article

`POST /api/articles`

This endpoint allows the client to create a new article.

"Articles" are all the posts that users create on DEV that typically show up in the feed. They can be a blog post, a discussion question, a help thread etc. but is referred to as article within the code.

## Request body

- Article — Representation of an Article to be created/updated
  - `article` object
    - `title` string
    - `body_markdown` string
    - `published` boolean
    - `series` string, nullable
    - `main_image` string, nullable
    - `canonical_url` string, nullable
    - `description` string
    - `tags` string
    - `organization_id` integer, nullable

## Response `201`

An Article

## Other responses

- `401` — Unauthorized
- `422` — Unprocessable Entity

## Changes

- **2026-07-13** (v1) `7db6ba099285` — 3 breaking
  - removed the media type `application/json` for the response with the status `201`
  - removed the media type `application/json` for the response with the status `401`
  - removed the media type `application/json` for the response with the status `422`
- **2026-05-28** (v1) `6550ad7be94f` — 3 info
  - added the media type `application/json` for the response with the status `201`
  - added the media type `application/json` for the response with the status `401`
  - added the media type `application/json` for the response with the status `422`
- **2026-03-03** (v1) `c9e7662755c2` — 3 breaking
  - removed the media type `application/json` for the response with the status `201`
  - removed the media type `application/json` for the response with the status `401`
  - removed the media type `application/json` for the response with the status `422`
- **2023-12-18** (v1) `1c81594090c0` — 3 info
  - added the media type `application/json` for the response with the status `201`
  - added the media type `application/json` for the response with the status `401`
  - added the media type `application/json` for the response with the status `422`
- …earlier changes not shown

[Full history](https://skmtc.dev/forem/apis/forem-api-v1/changes/api/articles/post.md)

---

[API](https://skmtc.dev/forem/apis/forem-api-v1.md) · [All operations](https://skmtc.dev/forem/apis/forem-api-v1/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/forem/forem-api-v1/revisions/7db6ba099285/schema)
