{
  "opencollection": "1.0.0",
  "info": {
    "name": "Helpcenter IM_Session API",
    "version": "1.0.0"
  },
  "items": [
    {
      "info": {
        "name": "IM_Session",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List Sessions",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/api/v1/im/sessions",
            "params": [
              {
                "name": "modifiedAfter",
                "value": "",
                "type": "query",
                "description": "After which modified date conversations should be included. Enter a date in the ISO date format of yyyy-MM-ddThh:mm:ss.SSSZ."
              },
              {
                "name": "agentId",
                "value": "",
                "type": "query",
                "description": "Filter conversations assigned to an agent"
              },
              {
                "name": "contactId",
                "value": "",
                "type": "query",
                "description": "Filter conversations of a contact"
              },
              {
                "name": "profileId",
                "value": "",
                "type": "query",
                "description": "Filter conversations of a profile"
              },
              {
                "name": "departmentId",
                "value": "",
                "type": "query",
                "description": "Filter conversations of all channels in given department"
              },
              {
                "name": "limit",
                "value": "",
                "type": "query",
                "description": "Number of tickets to fetch"
              },
              {
                "name": "from",
                "value": "",
                "type": "query",
                "description": "Index number, starting from which the tickets must be fetched"
              },
              {
                "name": "assigneeFilter",
                "value": "",
                "type": "query",
                "description": "Assignment status filter for the conversations. Allowed values are @MINE@, @UNASSIGNED@ ,@NONE@ ,@BOT@"
              },
              {
                "name": "createdBefore",
                "value": "",
                "type": "query",
                "description": "Before which date conversations should be included. Enter a date in the ISO date format of yyyy-MM-ddThh:mm:ss.SSSZ."
              },
              {
                "name": "createdAfter",
                "value": "",
                "type": "query",
                "description": "After which date conversations should be included. Enter a date in the ISO date format of yyyy-MM-ddThh:mm:ss.SSSZ."
              },
              {
                "name": "channelId",
                "value": "",
                "type": "query",
                "description": "Filter conversations of a channel"
              },
              {
                "name": "status",
                "value": "",
                "type": "query",
                "description": "Status filter for the conversations. Allowed values are @OPEN@, @ON_PROGRESS@ ,@ON_HOLD@ ,@BLOCKED@"
              }
            ]
          },
          "docs": "This API lists all sessions"
        },
        {
          "info": {
            "name": "Get a session",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/api/v1/im/sessions/:id",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "This API fetches details of an session."
        }
      ]
    }
  ],
  "bundled": true
}