MSAAQ Documentation
Docs
APIs
  • Admin
  • Tenant
Docs
APIs
  • Admin
  • Tenant
Status
  1. Account
  • Getting Started with Tenant API
  • Auth
    • Me
    • Logout
    • Passwordless
    • Reset Password
    • Forget Password
    • Validate-recaptcha
    • Authorize Verify
    • Authorize
    • Register
    • Email Verify
  • Reviews
    • Delete Review
    • Update Review
    • Create Review
    • Reviews distribution
    • List Reviews
  • Account
    • Update login credentials
      • Change password
      • verify
      • Update login credentials
    • Affliates
      • Withdraw Request
      • payouts
      • Info
    • Banks
      • Remove Bank Acount
      • Update Bank Account
      • Create Bank
      • Show bank
    • Calendar
      • Calendar
    • Change password by signed
      PATCH
    • Unsubsribe
      POST
    • Update Account
      POST
    • Get order invoice
      GET
    • Last viewed course/learning path
      GET
    • List User's Appointments
      GET
    • User Stats
      GET
    • List User's Rejected Assignments
      GET
    • List User's Assignments
      GET
    • List User's Quizzes
      GET
    • List User's Upcomming Appointments
      GET
    • List User's Products
      GET
    • List User's Courses
      GET
    • List User's Learning Paths
      GET
    • Last User's Orders
      GET
  • Certificates
    • Verify Certificate
    • Download Certificate
    • List User's Certificates
  • Currencies
    • List of currencies
  • Newsletter
    • Unsubscribe
    • Subscribe
    • Request subscribe
  • Cart
    • Checkout
    • Redeem Coupon
    • Express Checkout
    • Remove From Cart
    • Add To Cart
    • Get cart by uuid
    • Get Current Cart
    • Get card token
  • Courses
    • Overview
    • Chapters
      • Contents
        • Comments
          • Create Comment's Reply
          • Delete Comment
          • Update Comment
          • Create Comment
          • List Comments
        • Quizzes
          • Close Attempt
          • Submit Survey Answer
          • Submit Quiz Answer
          • Survey Attempt Details
          • Quiz Attempt Details
          • Attempt Survey
          • Attempt Quiz
        • Assignments
          • Resubmit Assignment
          • Submit Assignment
        • Mark Content as Complete
        • Join meeting
        • Content Attachmet Dowload
        • Content Details
        • List Chapter's Contents
      • Chapter Details
      • List Chapters
    • Get QR code
    • Course Details
    • Course Certificate
    • List Best Selling Courses
    • List Interesting Courses
    • List Courses
  • Payments
    • Tap callback
  • Pages
    • Contact Us
    • Page Details
    • Privacy Page
    • About Us
    • Terms Page
    • Home Page Details
  • Articles
    • Comments
      • Create replay
      • Delete Comment
      • Update Comment
      • Create comment
      • List of comments
    • Article Details
    • List of Articles
  • Instructors
    • Instructor Details
    • List of Instructors
  • Taxonomies
    • Get Taxonomy details
    • List of Taxonomies
  • Products
    • Interesting Products
    • Interesting Products
    • Download Product media
    • Available Appointments
    • Product Details
    • Best sales products
    • List Products
  • Appointments
    • book appointment
    • show Appointments Details
    • List Appointments
  • Comment
    • List Comment Replies
  • Learning paths
    • Learning path Details
  • notifications
    • list
    • mark as read
  • Assignment
    • List Assignment Segments
  • Get Sitemap
    GET
  • Get Translations
    GET
  • Search
    GET
  • Well Know
    GET
  • Ping Pong
    GET
  • Get Tenant Details
    GET
  1. Account

Last viewed course/learning path

Production
https://api.msaaq.com/v1
Production
https://api.msaaq.com/v1
GET
https://api.msaaq.com/v1
/tenant/account/last-viewed
Last modified:2025-03-12 00:28:12

Request

Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.
Example:
Authorization: Bearer ********************
Header Params
X-Tenant
string 
required
Example:
{{tenant}}
Accept
string 
required
Example:
application/json

Request samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://api.msaaq.com/v1/tenant/account/last-viewed' \
--header 'X-Tenant: academy.msaaq.com' \
--header 'Accept: application/json'

Responses

🟢200Success
application/json
Body
data
object 
required
id
integer 
required
enrolled
boolean 
required
title
string 
required
slug
string 
required
type
string 
required
thumbnail
string 
required
summary
null 
required
description
string 
required
meta_title
null 
required
meta_keywords
array[string]
required
meta_description
null 
required
outcomes
array[string]
required
requirements
array[string]
required
number_of_weeks
integer 
required
price
integer 
required
sales_price
integer 
required
enrollments_count
integer 
required
ratings
object 
required
is_started
boolean 
required
in_stock
boolean 
required
is_reviewed
boolean 
required
status
string 
required
eligible_for_certificate
boolean 
required
settings
object 
required
course_type
string 
required
percentage_completed
integer 
required
courses
array[object (Course) {35}] 
required
reviews
array[string]
required
courses_count
integer 
required
publish_at
string 
required
updated_at
string 
required
created_at
string 
required
Examples
{"data":{"id":186,"last_viewed":{"chapter":{"id":186,"title":"تعرف على راست"},"content":{"id":545,"title":"100 ثانية تعريفية"}},"percentage_completed":"5","started_at":"2023-09-28T09:08:40.000000Z","created_at":"2023-09-28T09:08:15.000000Z","completed_at":null,"course":{"id":100,"enrolled":true,"title":"راست (Rust)، من الصفر إلى الاحتراف","slug":"rust","type":"course","thumbnail":"https://msaaq-dev.s3.eu-central-1.amazonaws.com/courses/1201/rust-logo-512x512.png","summary":"تعلم راست الآن!\r\nhttps://www.youtube.com/watch?v=5C_HPTJg5ek\r\nhttps://play.gumlet.io/embed/6239bf70b9e6b5df02e3e188","description":"<p dir=\"rtl\"><span>وصف الدورة هنا</span></p><p><br></p><p><br></p><iframe data-lexical-youtube=\"5C_HPTJg5ek\" width=\"560\" height=\"315\" src=\"https://www.youtube.com/embed/5C_HPTJg5ek\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture\" allowfullscreen=\"true\" title=\"YouTube video\"></iframe><p><br></p>","duration":7200,"price":20000,"sales_price":0,"is_started":true,"in_stock":true,"is_reviewed":false,"publish_at":"2024-04-16T17:55:03.000000Z","updated_at":"2025-02-15T12:11:41.000000Z","created_at":"2023-09-21T17:16:19.000000Z","eligible_for_certificate":false,"settings":{"limit_seats":true,"seats":2147483635,"reviews_enabled":true,"certificate_enabled":true,"early_access":false,"show_enrollments_count":true,"show_content_instructor":true,"disable_comments":false,"close_enrollments":false,"resubmit_assignment":false,"can_retake_exam":true,"restrict_navigation":false},"course_type":"online"},"learning_path":null}}
🟢200Success Response
Previous
Get order invoice
Next
List User's Appointments
Built with