MSAAQ Documentation
Docs
APIs
  • Admin
  • Tenant
Docs
APIs
  • Admin
  • Tenant
Status
  1. Courses
  • 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
    • Unsubsribe
    • Update Account
    • Get order invoice
    • Last viewed course/learning path
    • List User's Appointments
    • User Stats
    • List User's Rejected Assignments
    • List User's Assignments
    • List User's Quizzes
    • List User's Upcomming Appointments
    • List User's Products
    • List User's Courses
    • List User's Learning Paths
    • Last User's Orders
  • 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
      GET
    • Course Details
      GET
    • Course Certificate
      GET
    • List Best Selling Courses
      GET
    • List Interesting Courses
      GET
    • List Courses
      GET
  • 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. Courses

Get QR code

Production
https://api.msaaq.com/v1
Production
https://api.msaaq.com/v1
GET
https://api.msaaq.com/v1
/tenant/courses/{id_or_slug}/qr-code
Last modified:2025-02-18 15:29:06

Request

Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.
Example:
Authorization: Bearer ********************
Path Params
id_or_slug
string 
required
Example:
1159
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/courses/1159/qr-code' \
--header 'X-Tenant: academy.msaaq.com' \
--header 'Accept: application/json'

Responses

🟢200Success
application/json
Body
optional
The response is based on the course type
Any of
One of
The response is based on the course type
Example
{
    "id": 0,
    "enrolled": true,
    "title": "string",
    "slug": "string",
    "type": "string",
    "thumbnail": null,
    "summary": null,
    "description": null,
    "meta_title": null,
    "meta_keywords": [
        "string"
    ],
    "meta_description": null,
    "outcomes": [
        "string"
    ],
    "requirements": [
        "string"
    ],
    "duration": 0,
    "price": 0,
    "sales_price": 0,
    "contents_count": 0,
    "reviews_count": 0,
    "avg_rating": 0,
    "ratings": {
        "1": 0,
        "2": 0,
        "3": 0,
        "4": 0,
        "5": 0
    },
    "is_started": true,
    "in_stock": true,
    "is_reviewed": true,
    "status": "string",
    "publish_at": "string",
    "updated_at": "string",
    "created_at": "string",
    "intro_video": null,
    "chapters": [
        {
            "id": 0,
            "type": "string",
            "title": "string",
            "sort": 0,
            "can_access": true,
            "drip_enabled": true,
            "course": {},
            "contents": [
                {
                    "id": 0,
                    "title": "string",
                    "completed": true,
                    "type": "string",
                    "can_access": true,
                    "contentable": {
                        "duration": 0,
                        "id": 0,
                        "title": "string",
                        "type": "string",
                        "options": [
                            "string"
                        ]
                    }
                }
            ],
            "updated_at": "string",
            "created_at": "string"
        }
    ],
    "enrollment": {
        "id": 0,
        "last_viewed": {
            "chapter_id": 0,
            "content_id": 0
        },
        "percentage_completed": null,
        "started_at": null,
        "created_at": "string",
        "completed_at": null,
        "qr_code_link": "string"
    },
    "eligible_for_certificate": true,
    "settings": {
        "limit_seats": true,
        "reviews_enabled": true,
        "certificate_enabled": true,
        "early_access": true,
        "show_enrollments_count": true,
        "show_content_instructor": true,
        "disable_comments": true,
        "close_enrollments": true,
        "resubmit_assignment": null,
        "can_retake_exam": true,
        "restrict_navigation": true,
        "seats": 0
    },
    "course_type": "online",
    "enrollments_count": 0,
    "category": {
        "id": 0,
        "name": "string",
        "slug": "string",
        "type": "string",
        "icon": null,
        "description": null
    }
}
Previous
List Chapters
Next
Course Details
Built with