{
  "opencollection": "1.0.0",
  "info": {
    "name": "RingCentral Adaptive Cards Conversations API",
    "version": "1.0.58-20240529-47eda8bd"
  },
  "request": {
    "auth": {
      "type": "oauth2",
      "flow": "authorization_code",
      "authorizationUrl": "https://platform.ringcentral.com/restapi/oauth/authorize",
      "accessTokenUrl": "https://platform.ringcentral.com/restapi/oauth/token",
      "credentials": {
        "clientId": "{{clientId}}",
        "clientSecret": "{{clientSecret}}"
      }
    }
  },
  "items": [
    {
      "info": {
        "name": "Conversations",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List Conversations",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://platform.ringcentral.com/team-messaging/v1/conversations",
            "params": [
              {
                "name": "recordCount",
                "value": "",
                "type": "query",
                "description": "Number of conversations to be fetched by one request. The maximum value is 250, by default - 30"
              },
              {
                "name": "pageToken",
                "value": "",
                "type": "query",
                "description": "Pagination token."
              }
            ]
          },
          "docs": "Returns the list of conversations where the user is a member. All records in response are sorted by creation time of a conversation in ascending order. Conversation is a chat of the *Group* type."
        },
        {
          "info": {
            "name": "Create/Open Conversation",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://platform.ringcentral.com/team-messaging/v1/conversations",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Creates a new conversation or opens the existing one. If the conversation already exists, then its ID will be returned in response. A conversation is an adhoc discussion between a particular set of users, not featuring any specific name or description; it is a chat of 'Group' type. If you add a person to the existing conversation (group), it creates a whole new conversation."
        },
        {
          "info": {
            "name": "Get Conversation",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://platform.ringcentral.com/team-messaging/v1/conversations/:chatId",
            "params": [
              {
                "name": "chatId",
                "value": "",
                "type": "path",
                "description": "Internal identifier of a conversation to be returned."
              }
            ]
          },
          "docs": "Returns information about the specified conversation, including the list of conversation participants. A conversation is an adhoc discussion between a particular set of users, not featuring any specific name or description; it is a chat of 'Group' type. If you add a person to the existing conversation, it creates a whole new conversation."
        }
      ]
    }
  ],
  "bundled": true
}