---
title: "Create a new FAQ"
method: POST
path: "/faq"
tags: ["faq"]
---

# Create a new FAQ

`POST /faq`

Creates a new FAQ entry.

## Request body

- FAQSchema
  - `question` string
  - `answer` string
  - `category` string

## Response `201`

FAQ created successfully

- SuccessResponseSchema2
  - `status` string
  - `status_code` integer — The HTTP status code. Usually 200 , 201, 204 etc
  - `message` string — A basic message describing a request was processed successfully. example: "Successfully"

## Other responses

- `400` — Bad Request
- `401` — Authentication error
- `500` — Server error

## Changes

- **2024-08-07** `f777e29f0ee3` — 1 info
  - added the new optional request property `category`
- **2024-08-07** `06cecc2ac126` — 1 warning
  - removed the request property `category`

[Change history](https://skmtc.dev/hngprojects/apis/kimiko-golang-swagger/changes/faq/post.md)

---

[API](https://skmtc.dev/hngprojects/apis/kimiko-golang-swagger.md) · [All operations](https://skmtc.dev/hngprojects/apis/kimiko-golang-swagger/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/hngprojects/kimiko-golang-swagger/revisions/2d1d3ed96bb9/schema)
