cURL
curl --request POST \ --url https://api.mapademics.com/v1/courses \ --header 'Content-Type: application/json' \ --header 'X-API-Key: <api-key>' \ --data ' { "name": "Introduction to Computer Science", "code": "CS101", "sections": [ { "name": "Fall 2024 - Section A", "description": "<string>", "instructorId": "<string>", "syllabusHref": "<string>" } ], "description": "<string>" } '
{ "id": "<string>", "organizationId": "<string>", "name": "<string>", "code": "<string>", "sections": [ { "id": "<string>", "name": "<string>", "description": "<string>" } ], "createdAt": "2023-11-07T05:31:56Z", "updatedAt": "2023-11-07T05:31:56Z", "description": "<string>", "defaultSectionId": "<string>", "deletedAt": "2023-11-07T05:31:56Z" }
Creates a course along with its sections. Optionally triggers skills extraction for all sections.
API key for authentication
Whether to automatically trigger skills extraction for all sections
Course name
"Introduction to Computer Science"
Course code
"CS101"
Array of sections to create with the course
1
Show child attributes
Course description
Course created successfully
Array of section references
Was this page helpful?