---
title: "Create a new Help Center topic"
method: POST
path: "/help-center/topics"
tags: ["Help Center"]
---

# Create a new Help Center topic

`POST /help-center/topics`

## Request

- Base URL: `https://staging.api-golang.boilerplate.hng.tech/api/v1`
- URL: `https://staging.api-golang.boilerplate.hng.tech/api/v1/help-center/topics`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/hngprojects/apis/kimiko-golang-swagger/docs/help-center/topics/post.ts> (a function with typed inputs; its response is checked against the schema)

Creates a new Help Center topic.

## Request body

- CreateHelpCenter
  - `title` string, required
  - `content` string, required

## Response `201`

Topic created successfully

- HelpCenter
  - `id` string, uuid
  - `title` string
  - `content` string
  - `author` string
  - `created_at` string, date-time
  - `updated_at` string, date-time

## Other responses

- `400`: Invalid request body
- `401`: Authentication information is missing or invalid
- `422`: Validation failed
- `500`: Failed to add topic

---

[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.dev/hngprojects/apis/kimiko-golang-swagger/revisions/2d1d3ed96bb9?raw)
