Skip to main content
POST
Generate A/B variants

Authorizations

Authorization
string
header
required

Your Kynva API key (kyn_live_xxx or kyn_test_xxx; legacy rf_ keys remain valid)

Body

application/json
templateId
string
required

Template to generate variants from

dimensions
enum<string>[]
required

Which aspects to vary

Available options:
headline,
cta,
colorScheme,
typography,
tone,
emphasis,
layout,
imagery
count
number
default:5
Required range: 1 <= x <= 10
context
object
colorPalettes
string[][]

Custom color palettes for color variants

seed
number

Seed for reproducible variants

Response

200 - application/json

Variants generated

Variants generated

success
boolean
data
object