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 ask a question in  a Zoho Connect network.

Request URL:

https://connect.zoho.com/pulse/api/v2/addStream

OAuth Scope:

zohopulse.feedList.CREATE

Request Method:

POST

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

Parameters

NameDescriptionRequired
scopeIDNetwork in which the question is to be posted. You can get this ID from the Network list API.Required
partitionIDThe question can be posted either in the Group or Company or the User's wall. You can get the ID from the partition API.Required
streamContentContent for your question. Maximum characters allowed is 10000.Required
streamTitleTitle for your question. Maximum characters allowed is 300.Required
streamTypeQUESTIONRequired
fileIdsMultiple file IDs should be separated by a comma. You can upload files using the upload files API, and then use the file IDs. You can add up to 10 files to a question.Optional

Sample URL

Copiedhttps://connect.zoho.com/pulse/api/v2/addStream?scopeID=929000000015001&partitionID=929000000295001&streamTitle=New+Question&streamContent=Testing+of+new+post&streamType=QUESTION

Sample Response

Copied{
  "addStream": {
    "stream": {
      "id": "929000000935058",
      "title": "New Question",
      "bestCommentId": "0",
      "streamUrl": "new-question",
      "userDetails": {
        "zuid": "2060758",
        "id": "2060758",
        "name": "Patricia Boyle",
        "canFollow": "true"
      },
      "canDoBestComment": "true",
      "partition": {
        "id": "929000000295001",
        "name": "Engineering",
        "partitionUrl": "engineering",
        "url": "engineering",
        "isPrivate": "true",
        "status": "ACTIVE",
        "isAdmin": "true",
        "type": "GROUP",
        "typeOrd": "2",
        "isUserFollow": "false"
      },
      "allowFooter": "true",
      "isApproved": "true",
      "isSpam": "false",
      "canAddTask": "true",
      "reason": {
        "items": {
          "*^$@_PARTITION_*^$@": {
            "id": "929000000295001",
            "name": "Engineering",
            "partitionUrl": "engineering",
            "url": "engineering",
            "isPrivate": "true",
            "status": "ACTIVE",
            "isAdmin": "true",
            "type": "GROUP",
            "typeOrd": "2",
            "isUserFollow": "false"
          },
          "*^$@_USERNAME_*^$@_2060758": {
            "zuid": "2060758",
            "id": "2060758",
            "name": "Patricia Boyle",
            "canFollow": "true"
          }
        },
        "msg": "*^$@_USERNAME_*^$@_2060758 has asked a question in *^$@_PARTITION_*^$@."
      },
      "type": "QUESTION",
      "content": "Testing of new post",
      "time": "1528205271659",
      "streamModifiedTime": "1528205271659",
      "formatedTime": "06:57 PM",
      "lastActivityTime": "1528205271659",
      "canHide": "true",
      "canEdit": "true",
      "canDelete": "true",
      "canLock": "true",
      "canFollow": "true",
      "canMove": "true",
      "comments": [],
      "url": "https://connect.zoho.com/portal/zillum/stream/929000000935058",
      "streamMentionData": [
        {
          "zuid": "2060758",
          "id": "2060758",
          "name": "Patricia Boyle",
          "type": "C",
          "emailId": "patriciab@zillum.com",
          "role": "MEMBER"
        }
      ]
    }
  }
}

Show full

Show less