---
title: "adds a joke"
method: POST
path: "/joke"
tags: ["admins"]
---

# adds a joke

`POST /joke`

Adds a joke to the system

## Request body

- object
  - `joke` string, required — The joke
  - `punchline` string, required — The punchline.
  - `category` string — category of the joke (allowed categories TBD)

## Response `201`

item created

## Other responses

- `400` — invalid input, object invalid
- `409` — an existing item already exists

---

[API](https://skmtc.dev/swaggerhub/apis/simple-joke-api.md) · [All operations](https://skmtc.dev/swaggerhub/apis/simple-joke-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/swaggerhub/simple-joke-api/revisions/2b4983465623/schema)
