AI Sync

Lessons

Lesson Content

GEThttps://app.rizzdial.com/api/knowledge-hub/lessons/{id}/content
Lesson Content
curl --request GET \
  --url https://app.rizzdial.com/api/knowledge-hub/lessons/<id>/content \
  --header 'Authorization: Bearer <token>'
{
  "data": {
    "lesson": {
      "id": "MQ==",
      "media": [],
      "title": "Welcome",
      "attachments": []
    }
  },
  "success": true
}

Lesson Content#

Lesson plus media URLs and attachments. Allowed when the course is owned by the company or the company is enrolled. Requires view-knowledge-hub.

Authorizationstringheaderrequired

Bearer token in the format: Bearer {access_token}

idstringpathrequired

Base64 id from the matching list or builder. A raw numeric id is also accepted.

curl --request GET \
  --url https://app.rizzdial.com/api/knowledge-hub/lessons/MQ==/content \
  --header 'Authorization: Bearer {{bearer_token}}'
data.lessonobject

Lesson with base64 id, media (file_url resolved), and attachments