Create Variant

POST {{baseUrl}}/api/v2/dynamic_content/items/:dynamic_content_item_id/variants

You can only create one variant for each locale id. If a locale variant already exists, the request is rejected.

Allowed For

  • Admins, Agents

HEADERS

KeyDatatypeRequiredDescription
Acceptstring

RESPONSES

status: Created

{"variant":{"active":true,"content":"C'est mon contenu dynamique en français","created_at":"2014-04-09T19:53:23Z","default":false,"id":23,"locale_id":127,"outdated":false,"updated_at":"2014-04-09T19:53:23Z","url":"https://subdomain.zendesk.com/api/v2/dynamic_content/items/3/variants/23.json"}}