Create a chapter in a course.
Creates a chapter (section) in a course. Other chapters are not moved, so send the current chapter count as sectionIndex to add it at the end.
Endpoint
post https://{TrainerCentral-API-Domain}/tc/api/v1/trainer/sections.json
OAuth Scope
Headers
ID of the academy (orgId).
Request Body
application/jsonChapter to create.
Hide Sub-Attributes
Name of the chapter (min 3 characters).
ID of the course.
Position of the chapter, starting at 0. Default 0. Send the current chapter count to add it at the end.
curl --request POST \
--url https://trainercentral.zoho.com/tc/api/v1/trainer/sections.json \
--header 'Authorization: Zoho-oauthtoken d92d4xxxxxxxxxxxxx15f52' \
--header 'content-type: application/json' \
--header 'tc-orgId: 51517414' \
--data '{"section":{"name":"Working with Files","courseId":3000000000022,"sectionIndex":2}}' {
"section": {
"name": "Working with Files",
"courseId": 3000000000022,
"sectionIndex": 2
}
}
Response Parameters
The new chapter (name returned as sectionName).
Hide Sub-Attributes
ID of the chapter (sectionId).
Same as sectionId.
Name of the chapter.
Name of the chapter (returned by Create Course Chapter).
Position of the chapter, starting at 0.
Status of the chapter. Allowed: 0=Default (visible), 1=Draft.
ID of the course.
Same as courseId.
Number of lessons in the chapter.
User ID of the creator.
Creation time in epoch milliseconds.
User ID of the last editor.
Last update time in epoch milliseconds.
Error details.
Hide Sub-Attributes
Deprecated numeric error code (for example ST_202). Prefer codeStr; omitted from doc samples.
Error code name (ShowtimeErrorCode / err_code_str), for example MISSING_PARAMETER.
Error message.
Possible Error Codes
| HTTP Code | Error Code | Description |
|---|---|---|
| 500 | ST_94 | INVALID_COURSE - section.courseId is missing, not found or deleted. Pass a valid courseId. Do not retry unchanged. |
| ST_102 | UNAUTHORISED_ACCESS - The user is not an academy owner, admin or trainer of this course. Do not retry with the same token. |
{
"section": {
"sectionId": "3000000000080",
"id": "3000000000080",
"sectionName": "Working with Files",
"sectionIndex": "2",
"status": "0",
"createdBy": "51456901",
"createdTime": "1782727609141",
"lastUpdatedBy": "51456901",
"lastUpdatedTime": "1782727609141"
}
}
{
"error": {
"code": "string",
"codeStr": "string",
"message": "string"
}
}
500 Request failed; see the error code.© 2026, Zoho Corporation Pvt. Ltd. All Rights Reserved.