List lessons

GET/products/{product_id}/lessons

Returns the lessons of a product, using cursor pagination. Lesson bodies are not included; use the content endpoint to retrieve them.

The collection can be filtered by module, status, format, and name. Set unassigned to true to return only lessons that are not in a module. Trashed lessons are excluded by default; set deleted to true to return only lessons in the trash.

AuthorizationBearer <token>

Autonomous mode: the API credential secret, sent as a bearer token. Credential secrets are identified by a fixed prefix.

In: header

Path Parameters

product_id*string

Query Parameters

limit?integer
Range1 <= value <= 200
cursor?string
sort?string

Value in

  • "id"
  • "-id"
module_id?string
unassigned?boolean
status?string

Value in

  • "published"
  • "draft"
format?string

Value in

  • "standard"
  • "quiz"
  • "live_youtube"
  • "live_vimeo"
q?string
deleted?boolean

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/products/string/lessons"
{  "data": [    {      "connection": {        "connected": true,        "source_lesson_id": "string",        "source_product_id": "string"      },      "created_at": "2019-08-24T14:15:22Z",      "deleted": true,      "exam_id": "string",      "format": "standard",      "id": "string",      "image": "string",      "module_id": "string",      "name": "string",      "object": "lesson",      "pinned": true,      "position": 0,      "product_id": "string",      "published_at": "2019-08-24T14:15:22Z",      "revision": "string",      "settings": null,      "status": "published",      "summary": "string",      "updated_at": "2019-08-24T14:15:22Z"    }  ],  "page": {    "limit": 1,    "next_cursor": "string",    "prev_cursor": "string"  }}