Skip to content

Create Dynamic Content Request

The request payload for creating dynamic content.

namestring, <= 255 charactersrequired

The name of the dynamic content. Must be unique in the workspace.

Example:"Support phone number"
content_typestringrequired

Whether the dynamic content is a short inline value (inline) or one or more blocks of content (block). Can't be changed later.

Enum:"inline""block"
Example:"inline"
default_localestringrequired

The locale whose variation is used when there's no variation for the requested locale. variations must include a variation for this locale that applies to all brands.

Example:"en"
variationsArray of objects, non-empty(Dynamic Content Variation Request)required

The variations of the dynamic content, one per locale and optionally per brand. Set brand_id on a variation to override the all-brands value for that brand. At least one is required.

{ "name": "Support phone number", "content_type": "inline", "default_locale": "en", "variations": [ { … } ] }