API Reference
DeckFlow exposes a REST API for deck management. All mutating endpoints require Clerk authentication.
Endpoints
Public
| Method | Path | Description |
|---|---|---|
GET | /decks/public/:slug | Get a public deck by slug |
Authenticated
| Method | Path | Description |
|---|---|---|
POST | /decks | Create a new deck |
PATCH | /decks/by-slug/:slug | Update a deck |
DELETE | /decks/:id | Delete a deck |
GET | /decks | List your decks |
Import
| Method | Path | Description |
|---|---|---|
POST | /api/import | Import a PPT file |
Authentication
All authenticated endpoints require a valid Clerk session token in the Authorization header:
Authorization: Bearer <clerk-session-token>Last updated on