---
title: "Create Post"
method: POST
path: "/api/blog/posts"
---

# Create Post

`POST /api/blog/posts`

## Request body

- BlogPostPublicInput
  - `id` integer, required
  - `body` string, required

## Response `201`

Successful Response

- BlogPostPublicInput
  - `id` integer, required
  - `body` string, required

## Other responses

- `422` — Validation Error

## Changes

- **2022-06-24** `c6e5ce6b99dc` — 1 info
  - endpoint added
- **2020-10-20** `cc829a74842c` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/azure/apis/demo-blog-server/changes/api/blog/posts/post.md)

---

[API](https://skmtc.dev/azure/apis/demo-blog-server.md) · [All operations](https://skmtc.dev/azure/apis/demo-blog-server/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/azure/demo-blog-server/revisions/6b9088cdaf01/schema)
