---
title: "createClubSpec"
method: POST
path: "/api/club-spec/create"
tags: ["club-spec-club-resource"]
---

# createClubSpec

`POST /api/club-spec/create`

## Request body

- ClubSpecCreateCommand
  - `amount` number, required
  - `clubCode` integer, required
  - `groupId` string
  - `rewardType` 'VOUCHER' | 'SCORE', required
  - `specType` 'MEMBERSHIP' | 'BIRTHDAY' | 'INVITE_FRIEND' | 'NEW_PURCHASE' | 'MONTHLY', required

## Response `200`

OK

## Other responses

- `201` — Created
- `401` — Unauthorized
- `403` — Forbidden
- `404` — Not Found

---

[API](https://skmtc.dev/ayriaclub/apis/ayria-api.md) · [All operations](https://skmtc.dev/ayriaclub/apis/ayria-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/ayriaclub/ayria-api/revisions/e53c83aeee1d/schema)
