Streams is used to route the messages from customers to one service. One stream per service limits users to hold conversations on multiple threads from the same service. So, a thread ID should be generated first, for every new thread title with a combination of message type, stream ID and thread title as shown in the below combination:
*<streamid><messagetype><thread_title>.

Request

The list stream request is specified as follows:

Request Headers

The following table describes the request headers:

Request HeaderDescription
secretKeySecret key generated in backend application.
content-typeApplication/JSON

Request Body

The following table describes the request parameters:

ParameterTypeMandatoryDescription
appidStringYesSpecifies the application ID.
##Response Example
{
  "status": "success",
  "streams": [
    {
      "id": "59197d9ee4b04a5c464d71f6",
      "created_on": "2017-05-15T10:06:22.848Z",
      "name": "APPUSERSTREAM"
    },
    {
      "id": "59267828e4b0479ee69708bb",
      "created_on": "2017-05-25T06:22:32.167Z",
      "name": "BOT"
    },
    ],
  "code": 0
}

Request Body

The following table describes the elements in the request URL:

ParameterTypeMandatoryDescription
appidStringYesSpecifies the app ID.
Language
Copyright © 2000 - 2021 IMImobile Limited | All Rights Reserved