{
  "opencollection": "1.0.0",
  "info": {
    "name": "RingCentral Adaptive Cards IVR 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": "IVR",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Get IVR Prompt Content",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://platform.ringcentral.com/restapi/v1.0/account/:accountId/ivr-prompts/:promptId/content",
            "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": "promptId",
                "value": "",
                "type": "path",
                "description": "Internal identifier of an IVR prompt"
              },
              {
                "name": "contentDisposition",
                "value": "",
                "type": "query",
                "description": "Whether the content is expected to be displayed in the browser, or downloaded and saved locally"
              },
              {
                "name": "contentDispositionFilename",
                "value": "",
                "type": "query",
                "description": "The default filename of the file to be downloaded"
              }
            ]
          },
          "docs": "Returns media content of an IVR prompt by ID."
        },
        {
          "info": {
            "name": "List IVR Prompts",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://platform.ringcentral.com/restapi/v1.0/account/:accountId/ivr-prompts",
            "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 the list of IVR prompts."
        },
        {
          "info": {
            "name": "Create IVR Prompts",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://platform.ringcentral.com/restapi/v1.0/account/:accountId/ivr-prompts",
            "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": "multipart-form",
              "data": [
                {
                  "name": "attachment",
                  "type": "text",
                  "value": ""
                },
                {
                  "name": "name",
                  "type": "text",
                  "value": ""
                }
              ]
            }
          },
          "docs": "Creates an IVR prompt."
        },
        {
          "info": {
            "name": "Get IVR Prompt",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://platform.ringcentral.com/restapi/v1.0/account/:accountId/ivr-prompts/:promptId",
            "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": "promptId",
                "value": "",
                "type": "path",
                "description": "Internal identifier of an IVR prompt"
              }
            ]
          },
          "docs": "Returns an IVR prompt by ID."
        },
        {
          "info": {
            "name": "Update IVR Prompt",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "https://platform.ringcentral.com/restapi/v1.0/account/:accountId/ivr-prompts/:promptId",
            "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": "promptId",
                "value": "",
                "type": "path",
                "description": "Internal identifier of an IVR prompt"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Updates an IVR prompt by ID"
        },
        {
          "info": {
            "name": "Delete IVR Prompt",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://platform.ringcentral.com/restapi/v1.0/account/:accountId/ivr-prompts/:promptId",
            "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": "promptId",
                "value": "",
                "type": "path",
                "description": "Internal identifier of an IVR prompt"
              }
            ]
          },
          "docs": "Deletes an IVR prompt by ID."
        },
        {
          "info": {
            "name": "Get IVR Menu list",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://platform.ringcentral.com/restapi/v1.0/account/:accountId/ivr-menus",
            "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 company IVR menus."
        },
        {
          "info": {
            "name": "Create IVR Menu",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://platform.ringcentral.com/restapi/v1.0/account/:accountId/ivr-menus",
            "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 company IVR menu."
        },
        {
          "info": {
            "name": "Get IVR Menu",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://platform.ringcentral.com/restapi/v1.0/account/:accountId/ivr-menus/:ivrMenuId",
            "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": "ivrMenuId",
                "value": "",
                "type": "path",
                "description": "Internal identifier of an IVR menu"
              }
            ]
          },
          "docs": "Returns a company IVR menu by ID."
        },
        {
          "info": {
            "name": "Update IVR Menu",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "https://platform.ringcentral.com/restapi/v1.0/account/:accountId/ivr-menus/:ivrMenuId",
            "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": "ivrMenuId",
                "value": "",
                "type": "path",
                "description": "Internal identifier of an IVR menu"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Updates a company IVR menu by ID."
        }
      ]
    }
  ],
  "bundled": true
}