List site templates

To list your site's templates, make a get request to /sites/{site:id}/templates.

Response:

{
  "data": [
    {
      "id": 719,
      "name": "Default Template",
      "layout": "general-headline",
      "fields": [
        "previewlinks:title",
        "previewlinks:image"
      ],
      "created_at": "2021-11-10T13:19:32.000000Z",
      "updated_at": "2021-12-27T13:28:58.000000Z"
    },
    {
      "id": 778,
      "name": "Page Template",
      "layout": "general-split",
      "fields": [
        "previewlinks:title",
        "previewlinks:subtitle"
      ],
      "created_at": "2021-12-18T14:31:23.000000Z",
      "updated_at": "2021-12-18T14:32:48.000000Z"
    },
    {
      "id": 785,
      "name": "Blog Post",
      "layout": "blog-detailed",
      "fields": [
        "previewlinks:title",
        "previewlinks:reading_time",
        "previewlinks:category",
        "previewlinks:image"
      ],
      "created_at": "2021-12-23T19:38:40.000000Z",
      "updated_at": "2021-12-23T19:38:53.000000Z"
    }
  ]
}