GET
/
content
/
api
/
v2
/
templates
/
{template_id}
/
versions
List previous versions of the Template
curl --request GET \
  --url https://api.hubapi.com/content/api/v2/templates/{template_id}/versions
[
  {
    "object": {
      "id": "<string>",
      "label": "<string>",
      "path": "<string>",
      "source": "<string>",
      "category_id": 123,
      "template_type": "<string>",
      "folder": "<string>",
      "is_available_for_new_content": true,
      "is_from_layout": true,
      "is_read_only": true,
      "cdn_url": "<string>",
      "cdn_minified_url": "<string>",
      "deleted_at": 123,
      "generated_from_layout_id": "<string>",
      "thumbnail_path": "<string>",
      "thumbnail_width": 123,
      "updated": 123,
      "updated_by": "<string>",
      "portal_id": 123,
      "archived": true,
      "linked_style_id": "<string>",
      "type": "<string>"
    },
    "user": {
      "username": "<string>",
      "id": "<string>",
      "full_name": "<string>",
      "email": "<string>"
    },
    "version_id": 123,
    "authored_at": 123
  }
]

Required Scopes

This API requires one of the following scopes:
  • content

Path Parameters

template_id
string
required

Unique identifier for the template.

Response

200 - application/json

successful operation

The response is of type object[].