---
title: "Creates a new page"
method: POST
path: "/pages"
tags: ["Page"]
---

# Creates a new page

`POST /pages`

Creates a new page

## Request body

- AddPage
  - `title` string — title.
  - `content` string — content.
  - `meta_keywords` string — meta keywords.
  - `meta_description` string — meta description.
  - `is_active` integer — Is approved.

## Response `200`

New page added

- Page
  - `id` integer
  - `created_at` string
  - `updated_at` string
  - `title` string
  - `slug` string
  - `content` string
  - `meta_keywords` string
  - `description_meta_tag` string
  - `is_default` integer

## Other responses

- `default` — Unexpected error

---

[API](https://skmtc.net/agriya/apis/ofos-api-endpoints.md) · [All operations](https://skmtc.net/agriya/apis/ofos-api-endpoints/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/agriya/ofos-api-endpoints/revisions/8db13a44d758/schema)
