- Getting Started with Tenant API
- Auth
- Reviews
- Account
- Update login credentials
- Affliates
- Banks
- 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
- Currencies
- Newsletter
- Cart
- Courses
- Payments
- Pages
- Articles
- Instructors
- Taxonomies
- Products
- Appointments
- Comment
- Learning paths
- notifications
- Assignment
- Get SitemapGET
- Get TranslationsGET
- SearchGET
- Well KnowGET
- Ping PongGET
- Get Tenant DetailsGET
List Assignment Segments
Developing
Production
https://api.msaaq.com/v1
Production
https://api.msaaq.com/v1
GET
https://api.msaaq.com/v1
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