---
title: "Create Flashcard Set"
method: POST
path: "/v1/interactives/flashcards/create"
---

# Create Flashcard Set

`POST /v1/interactives/flashcards/create`

## Request body

- FlashcardCreateRequest — Request model for creating a flashcard set.
  - `set_description` string, required — The description of the flashcard set, i.e. what you want to include in the set.
  - `count` integer, nullable — The number of flashcards to generate
  - `set_name` string, nullable — The name of the flashcard set, if you want to provide one. If you do not, one will be generated for you at additional cost.

## Response `200`

Successful Response

- FlashcardCreateResponse — Response model for flashcard set creation.
  - `success` boolean, required
  - `message` string, nullable
  - `set_name` string, nullable
  - `flashcards` Flashcard[], nullable
    - `front` string, required
    - `back` string, required
  - `timestamp` string

## Other responses

- `401` — Invalid API key or unauthorized access
- `402` — Insufficient credits
- `422` — Validation Error
- `429` — Rate limit exceeded
- `500` — Internal server error

---

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