Docs home

Get Section

Returns one curriculum section: its name, description, whether it is published and its position in the course. Use it to read a section before updating it.

GET/tutor/sections/{section_id}
Get Section
curl --request GET \
  --url 'https://<your-api-host>/nuSource/api/v1/tutor/sections/{section_id}' \
  --header 'APIKEY: <your-api-key>' \
  --header 'ORGID: <your-org-id>'
{
  "code": 200,
  "message": "Success",
  "section": {
    "section_id": 6174,
    "section_name": "Introduction",
    "description": "Course Introudction",
    "status": "published",
    "in_curriculum": null,
    "display_index": 25314,
    "is_prerequisite": 1
  }
}

Access: Institute admins, admins, tutors (for courses they contribute to), learners and parents, plus custom roles that can view curriculum.

Path parameters
section_idintegerrequired
ID of the section, e.g. tutor/sections/521.
Response200application/json
codeinteger
Example: 200
messagestring
Example: Success
sectionobject
Show child attributesHide child attributes
Example: 6174
Example: Introduction
Example: Course Introudction
published or draft, whether the section is visible in the curriculum
Example: published
Always null here; use status
Sort position in the course
Example: 25314
1 if learners must finish it before moving on
Example: 1

Notes: Only sections of courses in your institute can be read. If the section is not in your institute, the call returns an empty response instead of an error. Rate limit: 30 requests per minute; going over locks you out for 30 minutes.

Updated yesterday

Ask AI