{
  "opencollection": "1.0.0",
  "info": {
    "name": "RingCentral Adaptive Cards Multi-Site 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": "Multi-Site",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List Sites",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://platform.ringcentral.com/restapi/v1.0/account/:accountId/sites",
            "params": [
              {
                "name": "accountId",
                "value": "~",
                "type": "path",
                "description": "Internal identifier of the RingCentral account\n(can be set to \"~\" to indicate that the account associated with current authorization session should be used)\n"
              }
            ]
          },
          "docs": "Returns a list of sites for the specified account.\n"
        },
        {
          "info": {
            "name": "Create Site",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://platform.ringcentral.com/restapi/v1.0/account/:accountId/sites",
            "params": [
              {
                "name": "accountId",
                "value": "~",
                "type": "path",
                "description": "Internal identifier of the RingCentral account\n(can be set to \"~\" to indicate that the account associated with current authorization session should be used)\n"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Creates a site for the specified account.\n"
        },
        {
          "info": {
            "name": "Get Site",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://platform.ringcentral.com/restapi/v1.0/account/:accountId/sites/:siteId",
            "params": [
              {
                "name": "accountId",
                "value": "~",
                "type": "path",
                "description": "Internal identifier of the RingCentral account\n(can be set to \"~\" to indicate that the account associated with current authorization session should be used)\n"
              },
              {
                "name": "siteId",
                "value": "",
                "type": "path",
                "description": "Internal identifier of a site. *Please note* that `siteId` cannot take the 'main-site' value"
              }
            ]
          },
          "docs": "Returns a site by ID.\n"
        },
        {
          "info": {
            "name": "Update Site",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "https://platform.ringcentral.com/restapi/v1.0/account/:accountId/sites/:siteId",
            "params": [
              {
                "name": "accountId",
                "value": "~",
                "type": "path",
                "description": "Internal identifier of the RingCentral account\n(can be set to \"~\" to indicate that the account associated with current authorization session should be used)\n"
              },
              {
                "name": "siteId",
                "value": "",
                "type": "path",
                "description": "Internal identifier of a site. *Please note* that `siteId` cannot take the 'main-site' value"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Updates a site specified in path.\n"
        },
        {
          "info": {
            "name": "Delete Site",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://platform.ringcentral.com/restapi/v1.0/account/:accountId/sites/:siteId",
            "params": [
              {
                "name": "accountId",
                "value": "~",
                "type": "path",
                "description": "Internal identifier of the RingCentral account\n(can be set to \"~\" to indicate that the account associated with current authorization session should be used)\n"
              },
              {
                "name": "siteId",
                "value": "",
                "type": "path",
                "description": "Internal identifier of a site. *Please note* that `siteId` cannot take the 'main-site' value"
              }
            ]
          },
          "docs": "Deletes a site specified in path.\n"
        },
        {
          "info": {
            "name": "Edit Sites",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://platform.ringcentral.com/restapi/v1.0/account/:accountId/sites/:siteId/bulk-assign",
            "params": [
              {
                "name": "accountId",
                "value": "~",
                "type": "path",
                "description": "Internal identifier of the RingCentral account\n(can be set to \"~\" to indicate that the account associated with current authorization session should be used)\n"
              },
              {
                "name": "siteId",
                "value": "",
                "type": "path",
                "description": "Internal identifier of a site. *Please note* that `siteId` cannot take the 'main-site' value"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Assigns multiple sites to an account specified in path.\n"
        },
        {
          "info": {
            "name": "List Site Members",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://platform.ringcentral.com/restapi/v1.0/account/:accountId/sites/:siteId/members",
            "params": [
              {
                "name": "accountId",
                "value": "~",
                "type": "path",
                "description": "Internal identifier of the RingCentral account\n(can be set to \"~\" to indicate that the account associated with current authorization session should be used)\n"
              },
              {
                "name": "siteId",
                "value": "",
                "type": "path",
                "description": "Internal identifier of a site. *Please note* that `siteId` cannot take the 'main-site' value"
              }
            ]
          },
          "docs": "Returns members of a site specified in path.\n"
        },
        {
          "info": {
            "name": "Get Site IVR Settings",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://platform.ringcentral.com/restapi/v1.0/account/:accountId/sites/:siteId/ivr",
            "params": [
              {
                "name": "accountId",
                "value": "~",
                "type": "path",
                "description": "Internal identifier of the RingCentral account\n(can be set to \"~\" to indicate that the account associated with current authorization session should be used)\n"
              },
              {
                "name": "siteId",
                "value": "",
                "type": "path",
                "description": "Internal identifier of a site. *Please note* that `siteId` cannot take the 'main-site' value"
              }
            ]
          },
          "docs": "Returns IVR settings for a site specified in path.\n"
        },
        {
          "info": {
            "name": "Update Site IVR Settings",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "https://platform.ringcentral.com/restapi/v1.0/account/:accountId/sites/:siteId/ivr",
            "params": [
              {
                "name": "accountId",
                "value": "~",
                "type": "path",
                "description": "Internal identifier of the RingCentral account\n(can be set to \"~\" to indicate that the account associated with current authorization session should be used)\n"
              },
              {
                "name": "siteId",
                "value": "",
                "type": "path",
                "description": "Internal identifier of a site. *Please note* that `siteId` cannot take the 'main-site' value"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Updates IVR settings for a site specified in path.\n"
        }
      ]
    }
  ],
  "bundled": true
}