Skip to main content
POST
/
api
/
decks
Create a deck
curl --request POST \
  --url https://app.demand-iq.com/api/decks \
  --header 'Content-Type: application/json' \
  --cookie session= \
  --data '
{
  "name": "<string>",
  "description": "<string>",
  "type": "structured",
  "deckContext": "<string>",
  "voiceProvider": "elevenlabs"
}
'
{}

Authorizations

session
string
cookie
required

Session cookie obtained from POST /api/auth/login.

Body

application/json
name
string
required
description
string
type
enum<string>
default:structured
Available options:
structured,
image-based
deckContext
string

Background information to guide AI narration generation (e.g. audience, purpose)

voiceProvider
enum<string>
Available options:
elevenlabs,
openai

Response

Deck created

deck
object