---
title: "Create Blog"
method: POST
path: "/v1/blog/create"
tags: ["blog"]
---

# Create Blog

`POST /v1/blog/create`

## Request

- Base URL: `https://api.linktodm.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.linktodm.com/v1/blog/create`
- Auth: none declared

## Headers

- `x-admin-api-key` string, nullable

## Request body

- CreateBlogPayload
  - `title` string, required
  - `meta_description` string, required
  - `slug` string, required
  - `language_code` string, required
  - `content_html` string, required
  - `content_markdown` string, nullable
  - `hero_image_url` string, nullable
  - `written_by` string, required
  - `is_active` boolean
  - `is_draft` boolean
  - `related_blog_ids` integer[], nullable

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/linktodm/apis/salesmorph.md) - [All operations](https://skmtc.dev/linktodm/apis/salesmorph/llms.txt) - [OpenAPI document](https://skmtc.dev/linktodm/apis/salesmorph/revisions/4af0ad5dbe92?raw)
