Dynamic Content

Create Item

Create a new content item, with one or more variants in the item's variants array. See Specifying item variants.

The default_locale_id and variant locale_id values must be one of the locales the account has active. You can get the list with the List Locales endpoint.

Allowed For

  • Admins, Agents
post/api/v2/dynamic_content/items

Response

Created response

Example response

{
  "item": {
    "variants": [
      {
        "active": true,
        "content": "This is my dynamic content in English",
        "created_at": "2014-04-09T19:53:23Z",
        "default": true,
        "id": 23,
        "locale_id": 125,
        "outdated": false,
        "updated_at": "2014-04-09T19:53:23Z",
        "url": "https://subdomain.zendesk.com/api/v2/dynamic_content/items/3/variants/23.json"
      }
    ]
  }
}

Changes