{
  "opencollection": "1.0.0",
  "info": {
    "name": "Webflow Assets Asset Folders Registered Scripts API",
    "version": "2.0.0"
  },
  "request": {
    "auth": {
      "type": "oauth2",
      "flow": "authorization_code",
      "authorizationUrl": "https://webflow.com/oauth/authorize",
      "accessTokenUrl": "https://api.webflow.com/oauth/token",
      "credentials": {
        "clientId": "{{clientId}}",
        "clientSecret": "{{clientSecret}}"
      }
    }
  },
  "items": [
    {
      "info": {
        "name": "Registered Scripts",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Webflow Get Registered Scripts",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.webflow.com/v2/sites/:site_id/registered_scripts",
            "params": [
              {
                "name": "site_id",
                "value": "580e63e98c9a982ac9b8b741",
                "type": "path",
                "description": "Unique identifier for a Site"
              }
            ],
            "auth": {
              "type": "oauth2",
              "flow": "authorization_code",
              "authorizationUrl": "https://webflow.com/oauth/authorize",
              "accessTokenUrl": "https://api.webflow.com/oauth/token",
              "credentials": {
                "clientId": "{{clientId}}",
                "clientSecret": "{{clientSecret}}"
              }
            }
          },
          "docs": "Get a list of scripts that have been registered to a site. A site can have a maximum of 800 registered scripts.\n\n<Note title=\"Script Registration\">\n  To apply a script to a site or page, the script must first be registered to a site via the [Register Script](/data/reference/custom-code/custom-code/register-hosted) endpoints. Once registered, the script can be applied to a Site or Page using the appropriate endpoints. See the documentation on [working with Custom Code](/data/docs/custom-code) for"
        },
        {
          "info": {
            "name": "Webflow Register Script - Hosted",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.webflow.com/v2/sites/:site_id/registered_scripts/hosted",
            "params": [
              {
                "name": "site_id",
                "value": "580e63e98c9a982ac9b8b741",
                "type": "path",
                "description": "Unique identifier for a Site"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "oauth2",
              "flow": "authorization_code",
              "authorizationUrl": "https://webflow.com/oauth/authorize",
              "accessTokenUrl": "https://api.webflow.com/oauth/token",
              "credentials": {
                "clientId": "{{clientId}}",
                "clientSecret": "{{clientSecret}}"
              }
            }
          },
          "docs": "Register a hosted script to a site.\n\n<Note title=\"Script Registration\">\n  To apply a script to a site or page, the script must first be registered to a site via the [Register Script](/data/reference/custom-code/custom-code/register-hosted) endpoints. Once registered, the script can be applied to a Site or Page using the appropriate endpoints. See the documentation on [working with Custom Code](/data/docs/custom-code) for more information.\n</Note>\n\nRequired scope | `custom_code:write`\n"
        },
        {
          "info": {
            "name": "Webflow Register Script - Inline",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.webflow.com/v2/sites/:site_id/registered_scripts/inline",
            "params": [
              {
                "name": "site_id",
                "value": "580e63e98c9a982ac9b8b741",
                "type": "path",
                "description": "Unique identifier for a Site"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "oauth2",
              "flow": "authorization_code",
              "authorizationUrl": "https://webflow.com/oauth/authorize",
              "accessTokenUrl": "https://api.webflow.com/oauth/token",
              "credentials": {
                "clientId": "{{clientId}}",
                "clientSecret": "{{clientSecret}}"
              }
            }
          },
          "docs": "Register an inline script to a site. Inline scripts are limited to 2000 characters.\n\n<Note title=\"Script Registration\">\n  To apply a script to a site or page, the script must first be registered to a site via the [Register Script](/data/reference/custom-code/custom-code/register-hosted) endpoints. Once registered, the script can be applied to a Site or Page using the appropriate endpoints. See the documentation on [working with Custom Code](/data/docs/custom-code) for more information.\n</Note>\n\n"
        }
      ]
    }
  ],
  "bundled": true
}