The purpose of this API is to get posts from the My Feed page.
Request URL: | https://connect.zoho.com/pulse/api/v1/recentStreams |
OAuth Scope: | zohopulse.feedList.READ |
Request Method: | GET |
Mandatory Header: | Header name: Authorization Header Value: Zoho-oauthtoken d92d401c803988c5cb849d0b4215f52 |
Parameters
Name | Description | Required |
scopeID (Required) | ID of the network in which the posts are made. You can get this from the network list API. | Required |
streamLimit (Optional) | Fetch feeds based on a limit. | Optional |
commentLimit (Optional) | Fetch comments based on a limit. | Optional |
modifiedTime (Optional) | Fetch posts made till a specified time. Time should be given in milliseconds eg)1521301549636 | Optional |
showUserDetails (Optional) | You can show or hide user details. Set this as True if you want the details to be visible and False if you don't. | Optional |
Sample URL
Copiedhttps://connect.zoho.com/pulse/api/recentStreams?scopeID=929000000015001&streamLimit=2&commentLimit=10
Sample Response
Copied{
"recentStreams": {
"streams": [
{
"id": "929000000699022",
"type": "STATUS",
"isApproved": "true",
"isSpam": "false",
"content": [
{
"name": "Eduardo Vargas",
"zuid": "2060557"
},
{
"text": " can you help me with the translation of the below block. \n"
},
{
"bq": "start"
},
{
"text": "Zoho Connect is a team collaboration software that brings people and the resources they need to one place, making it easier to get work done."
},
{
"bq": "end"
}
],
"userDetails": {
"zuid": "2060758",
"id": "2060758",
"name": "Patricia Boyle",
"canFollow": "true"
},
"partition": {
"id": "929000000015031",
"name": "Company Wall",
"partitionUrl": "default",
"url": "default",
"status": "ACTIVE",
"isAdmin": "true",
"type": "DEFAULT",
"typeOrd": "0",
"isUserFollow": "false"
},
"time": "1502893119864",
"formatedCreatedTime": "16 Aug",
"streamModifiedTime": "1521525775191",
"formatedModifiedTime": "19 Mar",
"formatedTime": "16 Aug 2017",
"viewCount": "10",
"commentCount": "3",
"canHide": "true",
"canEdit": "true",
"canDelete": "true",
"canLock": "true",
"comments": [
{
"id": "929000000699033",
"time": "1502893143169",
"formatedTime": "16 Aug 2017",
"isApproved": "true",
"content": [
{
"text": "Hey I can help you."
}
],
"userDetails": {
"zuid": "2060758",
"id": "2060758",
"name": "Patricia Boyle",
"canFollow": "true"
},
"attachments": [],
"canEdit": "true",
"canDelete": "true",
"streamType": "STATUS"
},
{
"id": "929000000699104",
"time": "1502893585042",
"formatedTime": "16 Aug 2017",
"isApproved": "true",
"content": [
{
"name": "Amritha Agrawal",
"zuid": "2063270"
},
{
"text": " can you please help?"
}
],
"userDetails": {
"zuid": "2060758",
"id": "2060758",
"name": "Patricia Boyle",
"canFollow": "true"
},
"attachments": [],
"canEdit": "true",
"canDelete": "true",
"streamType": "STATUS"
},
{
"id": "929000000856615",
"time": "1521525775191",
"formatedTime": "07:02 PM",
"isApproved": "true",
"isReply": "true",
"parentCommentId": "929000000699104",
"pcUserDetails": {
"zuid": "2060758",
"id": "2060758",
"name": "Patricia Boyle",
"canFollow": "true"
},
"content": [
{
"text": "Thank you"
}
],
"userDetails": {
"zuid": "2060758",
"id": "2060758",
"name": "Patricia Boyle",
"canFollow": "true"
},
"attachments": [],
"canEdit": "true",
"canDelete": "true",
"streamType": "STATUS"
}
],
"url": "https://connect.zoho.com/portal/zillum/stream/929000000699022",
"attachments": []
},
{
"id": "929000000855639",
"type": "POLL",
"isApproved": "true",
"isSpam": "false",
"content": [
{
"text": "pollQuestion"
}
],
"userDetails": {
"zuid": "2060758",
"id": "2060758",
"name": "Patricia Boyle",
"canFollow": "true"
},
"partition": {
"id": "929000000295001",
"name": "Engineering",
"partitionUrl": "engineering",
"url": "engineering",
"isPrivate": "true",
"status": "ACTIVE",
"isAdmin": "true",
"type": "GROUP",
"typeOrd": "2",
"isUserFollow": "false"
},
"polls": {
"voteDisplayType": "0",
"allowmultiple": "true",
"canShowResult": "true",
"options": [
{
"id": "929000000855646",
"option": "Option1"
},
{
"id": "929000000855648",
"option": "Option2"
}
]
},
"canAddPollOption": "true",
"time": "1521525195934",
"formatedCreatedTime": "19 Mar",
"streamModifiedTime": "1521525535794",
"formatedModifiedTime": "19 Mar",
"formatedTime": "06:53 PM",
"viewCount": "10",
"commentCount": "1",
"canHide": "true",
"canEdit": "true",
"canDelete": "true",
"canLock": "true",
"comments": [
{
"id": "929000000856603",
"time": "1521525535794",
"formatedTime": "06:58 PM",
"isApproved": "true",
"content": [
{
"text": "Hi team! Can you share the new logo designs that were completed yesterday?"
}
],
"userDetails": {
"zuid": "2060758",
"id": "2060758",
"name": "Patricia Boyle",
"canFollow": "true"
},
"attachments": [],
"canEdit": "true",
"canDelete": "true",
"streamType": "POLL"
}
],
"url": "https://connect.zoho.com/portal/zillum/stream/929000000855639",
"attachments": []
}
],
"modifiedTime": "1521525535794"
}
}
Show full
Show less