Read a lesson template

One lesson template in full: its layouts, its course-thumbnail designs and the reading of its colours. Slides are served as their id and canvas only. A layout whose logoSlot is null carries no logo by design. Every thumbnail design has one logo slot and one text, the course title.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
curl -X GET 'https://apis.elai.io/api/v1/videos/assistant/lesson/templates/6ab669a59baed24c0ea808a6' \
  -H 'Authorization: Bearer YOUR_API_TOKEN'
{
  "formatVersion": 1,
  "id": "6ab669a59baed24c0ea808a6",
  "name": "Editorial",
  "order": 1,
  "revision": "b58d1b8c7d738b22b7d7596bd0cff4a48595351de150ac7b4fffc00d6d98a5ba",
  "fonts": {
    "heading": "Archivo",
    "body": "PT Serif"
  },
  "layoutCount": 30,
  "thumbnailCount": 3,
  "logoSlots": {
    "layouts": 25,
    "thumbnails": 3
  },
  "canvas": {
    "width": 640,
    "height": 360
  },
  "layouts": [
    {
      "slideId": 92665208916,
      "role": "cover",
      "showcase": true,
      "previewUrl": "https://d3u63mhbhkevz8.cloudfront.net/assets/lesson-templates/6ab669a59baed24c0ea808a6/65acda069d542c5b.webp",
      "logoSlot": {
        "objectId": 251473057925,
        "box": {
          "left": 569,
          "top": 10.07,
          "width": 56.4,
          "height": 17.61
        }
      },
      "slide": {
        "id": 92665208916,
        "canvas": {
          "objects": []
        }
      }
    }
  ],
  "thumbnails": [
    {
      "slideId": 1718466731966,
      "fields": {
        "title": 509756065381
      },
      "previewUrl": "https://d3u63mhbhkevz8.cloudfront.net/assets/lesson-templates/6ab669a59baed24c0ea808a6/c944c15b77ccd503.webp",
      "logoSlot": {
        "objectId": 1150037730024,
        "box": {
          "left": 20.39,
          "top": 318.17,
          "width": 71.34,
          "height": 22.34
        }
      },
      "slide": {
        "id": 1718466731966,
        "canvas": {
          "objects": []
        }
      },
      "colours": {
        "background": "#f7f7f7",
        "objects": {}
      },
      "extraPalette": {
        "#7b64ff": {
          "versionOf": "#9378c3",
          "step": {
            "lightness": -0.02,
            "chroma": 1.94
          },
          "slides": 3
        }
      },
      "textOnSurface": [
        {
          "text": "#000000",
          "surface": "#ccb4fa",
          "size": "large",
          "uses": 1,
          "smallest": {
            "fontSize": 38,
            "fontWeight": 700
          }
        }
      ]
    }
  ],
  "reading": {
    "palette": {
      "#f7f7f7": {
        "role": "background",
        "slides": 29
      },
      "#ccb4fa": {
        "versionOf": "#9378c3",
        "step": {
          "lightness": 0.19,
          "chroma": 0.88
        },
        "slides": 16
      }
    },
    "slides": {
      "92665208916": {
        "background": "#f7f7f7",
        "objects": {}
      }
    },
    "textOnSurface": [
      {
        "text": "#ffffff",
        "surface": "#000000",
        "size": "small",
        "uses": 67,
        "smallest": {
          "fontSize": 12,
          "fontWeight": 400
        }
      }
    ]
  }
}
Path Params
string
required

A template id from the list.

Responses

Language
Credentials
Header
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json