Squarespace · Capability

Squarespace Webhook Subscriptions API — Webhook Subscriptions

Squarespace Webhook Subscriptions API — Webhook Subscriptions. 7 operations. Lead operation: Retrieve All Webhook Subscriptions. Self-contained Naftiko capability covering one Squarespace business surface.

Run with Naftiko SquarespaceWebhook Subscriptions

What You Can Do

GET
Listwebhooksubscriptions — Retrieve All Webhook Subscriptions
/v1/webhook-subscriptions
POST
Createwebhooksubscription — Create a Webhook Subscription
/v1/webhook-subscriptions
GET
Getwebhooksubscription — Retrieve a Specific Webhook Subscription
/v1/webhook-subscriptions/{subscriptionid}
POST
Updatewebhooksubscription — Update a Webhook Subscription
/v1/webhook-subscriptions/{subscriptionid}
DELETE
Deletewebhooksubscription — Delete a Webhook Subscription
/v1/webhook-subscriptions/{subscriptionid}
POST
Rotatewebhooksecret — Rotate a Webhook Subscription Secret
/v1/webhook-subscriptions/{subscriptionid}/actions/rotatesecret
POST
Sendtestnotification — Send a Test Notification
/v1/webhook-subscriptions/{subscriptionid}/actions/sendtestnotification

MCP Tools

retrieve-all-webhook-subscriptions

Retrieve All Webhook Subscriptions

read-only idempotent
create-webhook-subscription

Create a Webhook Subscription

retrieve-specific-webhook-subscription

Retrieve a Specific Webhook Subscription

read-only idempotent
update-webhook-subscription

Update a Webhook Subscription

delete-webhook-subscription

Delete a Webhook Subscription

idempotent
rotate-webhook-subscription-secret

Rotate a Webhook Subscription Secret

send-test-notification

Send a Test Notification

read-only

Capability Spec

webhook-subscriptions-webhook-subscriptions.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Squarespace Webhook Subscriptions API — Webhook Subscriptions
  description: 'Squarespace Webhook Subscriptions API — Webhook Subscriptions. 7 operations. Lead operation: Retrieve All
    Webhook Subscriptions. Self-contained Naftiko capability covering one Squarespace business surface.'
  tags:
  - Squarespace
  - Webhook Subscriptions
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    SQUARESPACE_API_KEY: SQUARESPACE_API_KEY
capability:
  consumes:
  - type: http
    namespace: webhook-subscriptions-webhook-subscriptions
    baseUri: https://api.squarespace.com/1.0
    description: Squarespace Webhook Subscriptions API — Webhook Subscriptions business capability. Self-contained, no shared
      references.
    resources:
    - name: webhook_subscriptions
      path: /webhook_subscriptions
      operations:
      - name: listwebhooksubscriptions
        method: GET
        description: Retrieve All Webhook Subscriptions
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: createwebhooksubscription
        method: POST
        description: Create a Webhook Subscription
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: webhook_subscriptions-subscriptionId
      path: /webhook_subscriptions/{subscriptionId}
      operations:
      - name: getwebhooksubscription
        method: GET
        description: Retrieve a Specific Webhook Subscription
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: updatewebhooksubscription
        method: POST
        description: Update a Webhook Subscription
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
      - name: deletewebhooksubscription
        method: DELETE
        description: Delete a Webhook Subscription
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: webhook_subscriptions-subscriptionId-actions-rotateSecret
      path: /webhook_subscriptions/{subscriptionId}/actions/rotateSecret
      operations:
      - name: rotatewebhooksecret
        method: POST
        description: Rotate a Webhook Subscription Secret
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: webhook_subscriptions-subscriptionId-actions-sendTestNotification
      path: /webhook_subscriptions/{subscriptionId}/actions/sendTestNotification
      operations:
      - name: sendtestnotification
        method: POST
        description: Send a Test Notification
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    authentication:
      type: bearer
      token: '{{env.SQUARESPACE_API_KEY}}'
  exposes:
  - type: rest
    namespace: webhook-subscriptions-webhook-subscriptions-rest
    port: 8080
    description: REST adapter for Squarespace Webhook Subscriptions API — Webhook Subscriptions. One Spectral-compliant resource
      per consumed operation, prefixed with /v1.
    resources:
    - path: /v1/webhook-subscriptions
      name: webhook-subscriptions
      description: REST surface for webhook_subscriptions.
      operations:
      - method: GET
        name: listwebhooksubscriptions
        description: Retrieve All Webhook Subscriptions
        call: webhook-subscriptions-webhook-subscriptions.listwebhooksubscriptions
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: createwebhooksubscription
        description: Create a Webhook Subscription
        call: webhook-subscriptions-webhook-subscriptions.createwebhooksubscription
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/webhook-subscriptions/{subscriptionid}
      name: webhook-subscriptions-subscriptionid
      description: REST surface for webhook_subscriptions-subscriptionId.
      operations:
      - method: GET
        name: getwebhooksubscription
        description: Retrieve a Specific Webhook Subscription
        call: webhook-subscriptions-webhook-subscriptions.getwebhooksubscription
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: updatewebhooksubscription
        description: Update a Webhook Subscription
        call: webhook-subscriptions-webhook-subscriptions.updatewebhooksubscription
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
      - method: DELETE
        name: deletewebhooksubscription
        description: Delete a Webhook Subscription
        call: webhook-subscriptions-webhook-subscriptions.deletewebhooksubscription
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/webhook-subscriptions/{subscriptionid}/actions/rotatesecret
      name: webhook-subscriptions-subscriptionid-actions-rotatesecret
      description: REST surface for webhook_subscriptions-subscriptionId-actions-rotateSecret.
      operations:
      - method: POST
        name: rotatewebhooksecret
        description: Rotate a Webhook Subscription Secret
        call: webhook-subscriptions-webhook-subscriptions.rotatewebhooksecret
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/webhook-subscriptions/{subscriptionid}/actions/sendtestnotification
      name: webhook-subscriptions-subscriptionid-actions-sendtestnotification
      description: REST surface for webhook_subscriptions-subscriptionId-actions-sendTestNotification.
      operations:
      - method: POST
        name: sendtestnotification
        description: Send a Test Notification
        call: webhook-subscriptions-webhook-subscriptions.sendtestnotification
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: webhook-subscriptions-webhook-subscriptions-mcp
    port: 9090
    transport: http
    description: MCP adapter for Squarespace Webhook Subscriptions API — Webhook Subscriptions. One tool per consumed operation,
      routed inline through this capability's consumes block.
    tools:
    - name: retrieve-all-webhook-subscriptions
      description: Retrieve All Webhook Subscriptions
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: webhook-subscriptions-webhook-subscriptions.listwebhooksubscriptions
      outputParameters:
      - type: object
        mapping: $.
    - name: create-webhook-subscription
      description: Create a Webhook Subscription
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: webhook-subscriptions-webhook-subscriptions.createwebhooksubscription
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: retrieve-specific-webhook-subscription
      description: Retrieve a Specific Webhook Subscription
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: webhook-subscriptions-webhook-subscriptions.getwebhooksubscription
      outputParameters:
      - type: object
        mapping: $.
    - name: update-webhook-subscription
      description: Update a Webhook Subscription
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: webhook-subscriptions-webhook-subscriptions.updatewebhooksubscription
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: delete-webhook-subscription
      description: Delete a Webhook Subscription
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: webhook-subscriptions-webhook-subscriptions.deletewebhooksubscription
      outputParameters:
      - type: object
        mapping: $.
    - name: rotate-webhook-subscription-secret
      description: Rotate a Webhook Subscription Secret
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: webhook-subscriptions-webhook-subscriptions.rotatewebhooksecret
      outputParameters:
      - type: object
        mapping: $.
    - name: send-test-notification
      description: Send a Test Notification
      hints:
        readOnly: true
        destructive: false
        idempotent: false
      call: webhook-subscriptions-webhook-subscriptions.sendtestnotification
      outputParameters:
      - type: object
        mapping: $.