- Auth
- Teams
- Academies
- Dashboards
- Members
- Courses
- Chapters
- Get Course AttendanceGET
- Replicate coursePOST
- Delete CourseDELETE
- Update CoursePOST
- Create CoursePOST
- Get Course statsGET
- Get CourseGET
- Export CoursesPOST
- List CoursesGET
- Videos
- Quizzes
- Taxonomies
- Builder
- Enrollments
- Dowloads
- Tags
- Currencies
- Countries
- Certificates
- Certificates Templates
- Appointments
- Difficulties
- Assigment Members
- Assignments
- Products
- Articles
- Webhooks
- Domains
- Comments
- Reviews
- Orders
- Cancellation Reasons
- Bank Transfers
- Coupons
- Campaigns
- Affiliates
- Msaaq Affiliates
- Settings
- MsaaqPay
- Apps Marketplace
- Academy Verification
- Billing
- Notifications
- Apps
- Search
- Abandoned Carts
- Announcements
- Onboarding
- Forms
- Bank
- Coaching sessions
Create Assignment
Production
Production
POST
https://api.msaaq.com/v1/admin/courses/{course_id}/chapters/{chapter_id}/contents
Last modified:2025-03-07 04:08:47
Request
Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.Example:
Authorization: Bearer ********************
Path Params
course_id
stringÂ
required
chapter_id
stringÂ
required
Header Params
Accept
stringÂ
required
Example:
application/json
X-Tenant
stringÂ
required
Example:
{{tenant}}
Body Params multipart/form-data
title
stringÂ
required
Example:
add new assignment content
type
stringÂ
required
Example:
assignment
premium
stringÂ
required
Example:
0
sort
stringÂ
required
Example:
2
meta[content]
stringÂ
required
Example:
test
meta[file]
stringÂ
required
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 POST 'https://api.msaaq.com/v1/admin/courses//chapters//contents' \
--header 'Accept: application/json' \
--header 'X-Tenant: academy.msaaq.com' \
--form 'title="add new assignment content"' \
--form 'type="assignment"' \
--form 'premium="0"' \
--form 'sort="2"' \
--form 'meta[content]="test"' \
--form 'meta[file]=""'
Responses
🟢200Success
application/json
Body
object {0}
Example
{}
Modified at 2025-03-07 04:08:47