Webflow · Capability

Webflow Data API — Registered Scripts

Webflow Data API — Registered Scripts. 3 operations. Lead operation: Webflow Get Registered Scripts. Self-contained Naftiko capability covering one Webflow business surface.

Run with Naftiko WebflowRegistered Scripts

What You Can Do

GET
Getscripts — Webflow Get Registered Scripts
/v1/sites/{site-id}/registered-scripts
POST
Posthostedscript — Webflow Register Script - Hosted
/v1/sites/{site-id}/registered-scripts/hosted
POST
Postinlinescripts — Webflow Register Script - Inline
/v1/sites/{site-id}/registered-scripts/inline

MCP Tools

webflow-get-registered-scripts

Webflow Get Registered Scripts

read-only idempotent
webflow-register-script-hosted

Webflow Register Script - Hosted

webflow-register-script-inline

Webflow Register Script - Inline

Capability Spec

data-registered-scripts.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Webflow Data API — Registered Scripts
  description: 'Webflow Data API — Registered Scripts. 3 operations. Lead operation: Webflow Get Registered Scripts. Self-contained
    Naftiko capability covering one Webflow business surface.'
  tags:
  - Webflow
  - Registered Scripts
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    WEBFLOW_API_KEY: WEBFLOW_API_KEY
capability:
  consumes:
  - type: http
    namespace: data-registered-scripts
    baseUri: https://api.webflow.com/v2
    description: Webflow Data API — Registered Scripts business capability. Self-contained, no shared references.
    resources:
    - name: sites-site_id-registered_scripts
      path: /sites/{site_id}/registered_scripts
      operations:
      - name: getscripts
        method: GET
        description: Webflow Get Registered Scripts
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: site_id
          in: path
          type: string
          description: Unique identifier for a Site
          required: true
    - name: sites-site_id-registered_scripts-hosted
      path: /sites/{site_id}/registered_scripts/hosted
      operations:
      - name: posthostedscript
        method: POST
        description: Webflow Register Script - Hosted
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: site_id
          in: path
          type: string
          description: Unique identifier for a Site
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: false
    - name: sites-site_id-registered_scripts-inline
      path: /sites/{site_id}/registered_scripts/inline
      operations:
      - name: postinlinescripts
        method: POST
        description: Webflow Register Script - Inline
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: site_id
          in: path
          type: string
          description: Unique identifier for a Site
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: false
    authentication:
      type: bearer
      token: '{{env.WEBFLOW_API_KEY}}'
  exposes:
  - type: rest
    namespace: data-registered-scripts-rest
    port: 8080
    description: REST adapter for Webflow Data API — Registered Scripts. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - path: /v1/sites/{site-id}/registered-scripts
      name: sites-site-id-registered-scripts
      description: REST surface for sites-site_id-registered_scripts.
      operations:
      - method: GET
        name: getscripts
        description: Webflow Get Registered Scripts
        call: data-registered-scripts.getscripts
        with:
          site_id: rest.site_id
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/sites/{site-id}/registered-scripts/hosted
      name: sites-site-id-registered-scripts-hosted
      description: REST surface for sites-site_id-registered_scripts-hosted.
      operations:
      - method: POST
        name: posthostedscript
        description: Webflow Register Script - Hosted
        call: data-registered-scripts.posthostedscript
        with:
          site_id: rest.site_id
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/sites/{site-id}/registered-scripts/inline
      name: sites-site-id-registered-scripts-inline
      description: REST surface for sites-site_id-registered_scripts-inline.
      operations:
      - method: POST
        name: postinlinescripts
        description: Webflow Register Script - Inline
        call: data-registered-scripts.postinlinescripts
        with:
          site_id: rest.site_id
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: data-registered-scripts-mcp
    port: 9090
    transport: http
    description: MCP adapter for Webflow Data API — Registered Scripts. One tool per consumed operation, routed inline through
      this capability's consumes block.
    tools:
    - name: webflow-get-registered-scripts
      description: Webflow Get Registered Scripts
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: data-registered-scripts.getscripts
      with:
        site_id: tools.site_id
      outputParameters:
      - type: object
        mapping: $.
    - name: webflow-register-script-hosted
      description: Webflow Register Script - Hosted
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: data-registered-scripts.posthostedscript
      with:
        site_id: tools.site_id
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: webflow-register-script-inline
      description: Webflow Register Script - Inline
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: data-registered-scripts.postinlinescripts
      with:
        site_id: tools.site_id
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.