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": [
        "previewify:title",
        "previewify: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": [
        "previewify:title",
        "previewify: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": [
        "previewify:title",
        "previewify:reading_time",
        "previewify:category",
        "previewify:image"
      ],
      "created_at": "2021-12-23T19:38:40.000000Z",
      "updated_at": "2021-12-23T19:38:53.000000Z"
    }
  ]
}