Workplace from Meta is being discontinued – seamlessly migrate to Zoho Connect today. Learn More

Skip to main content

The purpose of this API is to get recent posts made in Zoho Connect.

Request URL:

https://connect.zoho.com/pulse/api/getLatestStreams

OAuth Scope:

zohopulse.feedList.READ

Request Method:

GET

Mandatory Header:Header name: Authorization
Header Value: Zoho-oauthtoken d92d401c803988c5cb849d0b4215f52

Parameters

NameDescriptionRequired
scopeIDID of the network the posts have been made in. You can get this from the Network list API.Required
partitionIdID of the group the posts have been made in.Optional
lastViewedTimeFetch data after a specified time. Time should be given in milliseconds. eg)1521301549636Required
streamLimitSet a limit for the posts.Optional
fetchTimeFetch data till a specified time. Time should be in milliseconds. eg)1521301549636Optional

Sample URL

Copiedhttps://connect.zoho.com/pulse/api/getLatestStreams?scopeID=929000000015001&partitionId=929000000295001&streamLimit=10&lastViewedTime=1521335021404

Sample Response

Copied{
  "getLatestStreams": {
    "streams": [
      {
        "id": "929000000855639",
        "userDetails": {
          "zuid": "2060758",
          "id": "2060758",
          "name": "Patricia Boyle",
          "canFollow": "true",
          "type": "C"
        },
        "allowFooter": "true",
        "isApproved": "true",
        "isSpam": "false",
        "canAddTask": "true",
        "reason": {
          "items": {
            "*^$@_USERNAME_*^$@_2060758": {
              "zuid": "2060758",
              "id": "2060758",
              "name": "Patricia Boyle",
              "canFollow": "true"
            }
          },
          "msg": "*^$@_USERNAME_*^$@_2060758 has started a poll."
        },
        "type": "POLL",
        "polls": {
          "voteDisplayType": "0",
          "allowmultiple": "true",
          "canShowResult": "true",
          "isVoted": "false",
          "options": [
            {
              "id": "929000000855646",
              "option": "Option1",
              "canDelete": "true"
            },
            {
              "id": "929000000855648",
              "option": "Option2",
              "canDelete": "true"
            }
          ]
        },
        "canAddPollOption": "true",
        "content": [
          {
            "text": "pollQuestion"
          }
        ],
        "time": "1521525195934",
        "streamModifiedTime": "1521525535794",
        "formatedTime": "06:53 PM",
        "lastActivityTime": "1521525592240",
        "commentCount": "1",
        "viewCount": "10",
        "canEdit": "true",
        "canDelete": "true",
        "canLock": "true",
        "canEditVote": "true",
        "canFollow": "true",
        "canMove": "true",
        "comments": [
          {
            "id": "929000000856603",
            "time": "1521525535794",
            "formatedTime": "06:58 PM",
            "isApproved": "true",
            "commentType": "COMMENT",
            "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",
              "type": "C"
            },
            "canEdit": "true",
            "canDelete": "true",
            "isSpam": "false"
          }
        ],
        "url": "https://connect.zoho.com/portal/zillum/stream/929000000855639",
        "streamMentionData": [
          {
            "zuid": "2060758",
            "id": "2060758",
            "name": "Patricia Boyle",
            "type": "C",
            "emailId": "patriciab@zillum.com",
            "role": "MEMBER"
          }
        ]
      },
      {
        "id": "929000000855628",
        "userDetails": {
          "zuid": "2060758",
          "id": "2060758",
          "name": "Patricia Boyle",
          "canFollow": "true",
          "type": "C"
        },
        "allowFooter": "true",
        "isApproved": "true",
        "isSpam": "false",
        "canAddTask": "true",
        "reason": {
          "items": {
            "*^$@_USERNAME_*^$@_2060758": {
              "zuid": "2060758",
              "id": "2060758",
              "name": "Patricia Boyle",
              "canFollow": "true"
            }
          },
          "msg": "*^$@_USERNAME_*^$@_2060758 has started a conversation."
        },
        "type": "STATUS",
        "content": [
          {
            "text": "Content updated"
          }
        ],
        "time": "1521525017127",
        "streamModifiedTime": "1521525017127",
        "formatedTime": "06:50 PM",
        "lastActivityTime": "1521525076892",
        "viewCount": "1",
        "canEdit": "true",
        "canDelete": "true",
        "canLock": "true",
        "canFollow": "true",
        "canMove": "true",
        "comments": [],
        "url": "https://connect.zoho.com/portal/zillum/stream/929000000855628",
        "streamMentionData": [
          {
            "zuid": "2060758",
            "id": "2060758",
            "name": "Patricia Boyle",
            "type": "C",
            "emailId": "patriciab@zillum.com",
            "role": "MEMBER"
          }
        ]
      }
    ],
    "modifiedTime": "-1"
  }
}

Show full

Show less