---
title: "POST /api/perks"
method: POST
path: "/api/perks"
tags: ["api", "perks"]
---

# POST /api/perks

`POST /api/perks`

Create a Perk

## Request body

- object
  - `name` string, required — The name of the perk
  - `description` string — A description of the perk
  - `images` string[] — URLs of perk images

## Response `201`

Created

- PerkResource
  - `_id` string, required — The ID of the perk
  - `name` string, required — The name of the perk
  - `description` string — A description of the perk
  - `images` string[] — URLs of perk images
  - `sellerId` string, required — The ID of the seller owning this perk
  - `createdAt` string, date-time, required — When the perk was created
  - `updatedAt` string, date-time, required — When the perk was last updated

## Other responses

- `400` — Bad Request
- `401` — Unauthorized

---

[API](https://skmtc.net/vivenu/apis/vivenu-api.md) · [All operations](https://skmtc.net/vivenu/apis/vivenu-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/vivenu/vivenu-api/revisions/36be0dca14e7/schema)
