The purpose of this API is to create a forum post in Zoho Connect.
Request URL: | https://connect.zoho.com/pulse/api/addBlog |
OAuth Scope: | zohopulse.blogs.CREATE |
Request Method: | POST |
Mandatory Header: | Header name: Authorization Header Value: Zoho-oauthtoken d92d401c803988c5cb849d0b4215f52 |
Parameters
Name | Description | Required |
scopeID | ID of the network in which the post is to be made. You can get this from the Network list API. | Required |
title | Forum title | Required |
content | Forum content | Required |
categoryIDs | Add the IDs of categories that the Forum post belongs to. Maximum of 10 categories can be added. | Optional |
disableComments | Set this as true or false. | Required |
isPublished | Set this as true or false. | Required |
Sample URL
Copiedhttps://connect.zoho.com/pulse/api/addBlog?scopeID=929000000015001&title=blog+here&content=Test+Blog+Content&disableComments=true&isPublished=true
Sample Response
Copied{
"addBlog": {
"stream": {
"id": "929000000915053",
"userDetails": {
"zuid": "2060758",
"id": "2060758",
"name": "Patricia Boyle",
"canFollow": "true"
},
"isApproved": "true",
"isSpam": "false",
"reason": {
"items": {
"*^$@_USERNAME_*^$@_2060758": {
"zuid": "2060758",
"id": "2060758",
"name": "Patricia Boyle",
"canFollow": "true"
}
},
"msg": "*^$@_USERNAME_*^$@_2060758 has started a forum discussion."
},
"type": "BLOG",
"link": {
"title": "blog here",
"linkurl": "https://connect.zoho.com/portal/zillum/home/!BLOGS/Post/blog-here",
"desc": "Test Blog Content"
},
"categories": [],
"content": "",
"time": "1526649314357",
"streamModifiedTime": "1526649314357",
"formatedTime": "06:45 PM",
"lastActivityTime": "1526649314357",
"canHide": "true",
"blogUrl": "blog-here",
"title": "blog here",
"canDelete": "true",
"canLock": "true",
"partitionUrl": "default",
"isLocked": "true",
"canFollow": "true",
"openInWeb": "true",
"itemId": "929000000915053",
"comments": [],
"url": "https://connect.zoho.com/portal/zillum/home/!BLOGS/Post/blog-here"
},
"id": "929000000915053",
"url": "blog-here",
"result": "success",
"title": "blog here",
"savedTime": "06:45 PM"
}
}
Show full
Show less