---
title: "Create a new post or page"
method: POST
path: "/api/client/wordpress/posts"
tags: ["Client - WordPress"]
---

# Create a new post or page

`POST /api/client/wordpress/posts`

## Request body

- object
  - `domain_id` integer, required
  - `path` string, nullable
  - `title` string, required
  - `content` string
  - `status` 'publish' | 'draft' | 'private' | 'pending'
  - `type` 'post' | 'page'

## Response `201`

Created

- object
  - `id` integer

---

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