Skip to main content
PATCH
Update a personalization slot

Authorizations

Authorization
string
header
required

Dashboard JWT token from Clerk

Headers

X-Test-Mode
enum<string>

Sandbox opt-in for Clerk-session-authenticated requests. Set to true to route the call through the test-mode pipeline: no real provider delivery, no credits deducted, response meta.test_mode: true. Ignored for live API keys (dv_live_sk_*) — server-to-server clients must use a test-prefixed key (dv_test_sk_*) to exercise sandbox. Test-prefixed keys unconditionally enable sandbox regardless of this header.

Available options:
true,
false

Path Parameters

id
string
required

Slot-variant id (perso_ + 32 hex characters), as returned by create or list.

Body

application/json
slot
string

Move the variant to a different slot key.

Required string length: 1 - 100
Pattern: ^[a-z0-9-_]+$
segment_label
enum<string> | null

Retarget the variant at another segment, or null for the default content.

Available options:
champion,
high_value_engaged,
engaged,
new,
passive,
at_risk,
dormant,
lost,
null
content
string

Replacement markup or text for the slot.

Required string length: 1 - 5000
cta_url
string | null

New call-to-action destination (http or https), or null to clear.

Maximum string length: 500
cta_text
string | null

New call-to-action label, or null to clear.

Maximum string length: 200
variant
string | null

New variant name, or null to clear.

Maximum string length: 50
priority
integer

New tie-breaker rank (0–100) — highest wins.

Required range: 0 <= x <= 100
active
boolean

Set false to stop serving the variant, true to resume.

metadata
object | null

Replacement free-form key/value data.

Response

The updated slot variant.

The updated slot variant.

data
object
meta
object