- Introduction
- Hubs
- Courses
- Course listing
- Create course
- Get course data
- Enroll in a course
- Get enrollment requests
- Get members in a course
- Add members to a course
- Change role of course member
- Complete Course
- Get list of course resources
- View course rating or feedback
- Add course rating or feedback
- Edit course rating or feedback
- Delete course rating or feedback
- Get quiz lesson
- Create a lesson
- Complete a lesson
- Update learner status
- Get lesson discussion list
- To mark learner as complete
- To mark learner as in progress
- To mark learner as failed
- Assessments
- Reports
- Custom portal
- Manage invites
- Manage users
- Manage courses & manuals
- Get list of courses shared to custom portal
- To share or remove a course to or from a custom portal
- To add or remove user to or from a course in custom portal
- Get list of manuals shared to a custom portal
- To share or remove manual to or from custom portal
- To add or remove user to or from a manual in custom portal
- Manage signups
- Enable/disable custom portal
Add attachments in learner answer in author preview
The purpose of this API is to add attachments in learner answer.
Request URL: | https://learn.zoho.com/learn/api/v1/portal/<portalUrl>/file |
OAuth Scope: | ZohoLearn.attachment.CREATE |
Request Method: | POST |
Parameter | Description | Required |
---|---|---|
previewFile | Attachment File | Required |
Response
Copied{
"STATUS": "OK",
"ATTACHMENTS": [
{
"imageWidth": "2200",
"fileName": "file_example_PNG_3MB.png",
"attachmentItemType": "ARTICLE",
"attachmentType": "ATTACH",
"imageHeight": "1467",
"isImage": "true",
"size": "2.83 MB",
"fileSize": "2964729",
"viewUrl": "/_lms/api/portal/zylker-network/tempfile/6342496000000090007",
"id": "6342496000000090007",
"viewCount": "0",
"contentType": "image/png",
"downloadCount": "0"
}
]
}
Show full
Show less
Sample URL
Copiedhttps://learn.zoho.com/learn/api/v1/portal/zylker-network/file
© 2025, Zoho Corporation Pvt. Ltd. All Rights Reserved.