MSAAQ Documentation
Docs
APIs
  • Admin
  • Tenant
Docs
APIs
  • Admin
  • Tenant
Status
  1. Assignment
  • 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
      • index
    • 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
    • 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
  • Get Sitemap
    GET
  • Get Translations
    GET
  • Search
    GET
  • Well Know
    GET
  • Ping Pong
    GET
  • Get Tenant Details
    GET
  1. Assignment

List Assignment Segments

Developing
Production
https://api.msaaq.com/v1
Production
https://api.msaaq.com/v1
GET
https://api.msaaq.com/v1
/tenant/assignments/{assignment}/segments
Last modified:2025-05-07 18:57:05

Request

Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.
Example:
Authorization: Bearer ********************
Path Params
assignment
string 
required
Example:
5
Header Params
X-Tenant
string 
optional
Example:
{{tenant}}

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/assignments/5/segments' \
--header 'X-Tenant: academy.msaaq.com'

Responses

🟢200Success
application/json
Body
data
object (MemberResource) 
required
id
integer 
required
type
string 
required
first_name
string 
required
last_name
string 
required
name
string 
required
english_name
string 
required
username
string 
required
avatar
string <uri>
required
is_affiliate_open
boolean 
required
newsletter_status
enum<string> 
required
Allowed values:
subscribedunsubscribedbounced
newsletter_subscribed_at
string <date-time>
required
newsletter_unsubscribed_at
string <date-time>
required
national_id
string 
optional
country_code
string 
optional
currency
string 
optional
gender
string 
optional
education
enum<string> 
optional
Allowed values:
primaryintermediatebachelor
job_title
string 
optional
bio
string 
optional
email
string <email>
optional
phone_code
integer 
optional
phone
integer 
optional
dob
string <date>
optional
two_factor_enabled
boolean 
optional
email_verified_at
string <date-time>
optional
phone_verified_at
string <date-time>
optional
has_password
boolean 
optional
meta
string 
optional
saved_cards
array[object (CardResource) {5}] 
optional
created_at
string <date-time>
required
updated_at
string <date-time>
required
links
object (Links) 
required
first
string 
required
last
string 
required
prev
null 
required
next
null 
required
meta
object (Meta) 
required
current_page
integer 
required
from
integer 
required
last_page
integer 
required
links
array [object {3}] 
required
path
string 
required
per_page
integer 
required
to
integer 
required
total
integer 
required
Example
{
  "data": {
    "id": 0,
    "type": "string",
    "first_name": "string",
    "last_name": "string",
    "name": "string",
    "english_name": "string",
    "username": "string",
    "avatar": "http://example.com",
    "is_affiliate_open": true,
    "newsletter_status": "subscribed",
    "newsletter_subscribed_at": "2019-08-24T14:15:22Z",
    "newsletter_unsubscribed_at": "2019-08-24T14:15:22Z",
    "national_id": "string",
    "country_code": "string",
    "currency": "string",
    "gender": "string",
    "education": "primary",
    "job_title": "string",
    "bio": "string",
    "email": "user@example.com",
    "phone_code": 0,
    "phone": 0,
    "dob": "2019-08-24",
    "two_factor_enabled": true,
    "email_verified_at": "2019-08-24T14:15:22Z",
    "phone_verified_at": "2019-08-24T14:15:22Z",
    "has_password": true,
    "meta": "string",
    "saved_cards": [
      {
        "id": 0,
        "scheme": "Visa",
        "last_four": "string",
        "expiry_month": "string",
        "expiry_year": "string"
      }
    ],
    "created_at": "2019-08-24T14:15:22Z",
    "updated_at": "2019-08-24T14:15:22Z"
  },
  "links": {
    "first": "string",
    "last": "string",
    "prev": null,
    "next": null
  },
  "meta": {
    "current_page": 0,
    "from": 0,
    "last_page": 0,
    "links": [
      {
        "url": "string",
        "label": "string",
        "active": true
      }
    ],
    "path": "string",
    "per_page": 0,
    "to": 0,
    "total": 0
  }
}
🔴500Server Error
Modified at 2025-05-07 18:57:05
Previous
mark as read
Next
Get Sitemap
Built with