Dynamic Content

List Items

Returns a list of all dynamic content items for your account if accessed as an admin or agents who have permission to manage dynamic content.

Allowed For

  • Admins, Agents

Pagination

  • Cursor pagination (recommended)
  • Offset pagination

See Pagination.

get/api/v2/dynamic_content/items

Query parameters

page[before]string

A pagination cursor that tells the endpoint which page to start on. It should be a meta.before_cursor value from a previous request. Note: page[before] and page[after] can't be used together in the same request.

page[after]string

A pagination cursor that tells the endpoint which page to start on. It should be a meta.after_cursor value from a previous request. Note: page[before] and page[after] can't be used together in the same request.

page[size]integer

Specifies how many records should be returned in the response. You can specify up to 100 records per page.

Response

Success response

Example response

{
  "items": [
    {
      "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