Salesloft · Capability

Salesloft — Webhook Subscriptions

Salesloft — Webhook Subscriptions. 5 operations. Lead operation: Salesloft List Webhook Subscriptions. Self-contained Naftiko capability covering one Salesloft business surface.

Run with Naftiko SalesloftWebhook Subscriptions

What You Can Do

GET
Get — Salesloft List Webhook Subscriptions
/v1/webhook-subscriptions
POST
Post — Salesloft Create a Webhook Subscription
/v1/webhook-subscriptions
GET
Get — Salesloft Fetch a Webhook Subscription
/v1/webhook-subscriptions/{id}
PUT
Put — Salesloft Update a Webhook Subscription
/v1/webhook-subscriptions/{id}
DELETE
Delete — Salesloft Delete a Webhook Subscription
/v1/webhook-subscriptions/{id}

MCP Tools

salesloft-list-webhook-subscriptions

Salesloft List Webhook Subscriptions

read-only idempotent
salesloft-create-webhook-subscription

Salesloft Create a Webhook Subscription

salesloft-fetch-webhook-subscription

Salesloft Fetch a Webhook Subscription

read-only idempotent
salesloft-update-webhook-subscription

Salesloft Update a Webhook Subscription

idempotent
salesloft-delete-webhook-subscription

Salesloft Delete a Webhook Subscription

idempotent

Capability Spec

salesloft-webhook-subscriptions.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Salesloft — Webhook Subscriptions
  description: 'Salesloft — Webhook Subscriptions. 5 operations. Lead operation: Salesloft List Webhook Subscriptions. Self-contained
    Naftiko capability covering one Salesloft business surface.'
  tags:
  - Salesloft
  - Webhook Subscriptions
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    SALESLOFT_API_KEY: SALESLOFT_API_KEY
capability:
  consumes:
  - type: http
    namespace: salesloft-webhook-subscriptions
    baseUri: http://{{salesloft_api_base_url}}
    description: Salesloft — Webhook Subscriptions business capability. Self-contained, no shared references.
    resources:
    - name: webhook_subscriptions
      path: /webhook_subscriptions
      operations:
      - name: get
        method: GET
        description: Salesloft List Webhook Subscriptions
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: enabled
          in: query
          type: string
      - name: post
        method: POST
        description: Salesloft Create a Webhook Subscription
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: false
    - name: webhook_subscriptions-id
      path: /webhook_subscriptions/{id}
      operations:
      - name: get
        method: GET
        description: Salesloft Fetch a Webhook Subscription
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: id
          in: path
          type: string
          required: true
      - name: put
        method: PUT
        description: Salesloft Update a Webhook Subscription
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: id
          in: path
          type: string
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: false
      - name: delete
        method: DELETE
        description: Salesloft Delete a Webhook Subscription
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: id
          in: path
          type: string
          required: true
    authentication:
      type: bearer
      token: '{{env.SALESLOFT_API_KEY}}'
  exposes:
  - type: rest
    namespace: salesloft-webhook-subscriptions-rest
    port: 8080
    description: REST adapter for Salesloft — 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: get
        description: Salesloft List Webhook Subscriptions
        call: salesloft-webhook-subscriptions.get
        with:
          enabled: rest.enabled
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: post
        description: Salesloft Create a Webhook Subscription
        call: salesloft-webhook-subscriptions.post
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/webhook-subscriptions/{id}
      name: webhook-subscriptions-id
      description: REST surface for webhook_subscriptions-id.
      operations:
      - method: GET
        name: get
        description: Salesloft Fetch a Webhook Subscription
        call: salesloft-webhook-subscriptions.get
        with:
          id: rest.id
        outputParameters:
        - type: object
          mapping: $.
      - method: PUT
        name: put
        description: Salesloft Update a Webhook Subscription
        call: salesloft-webhook-subscriptions.put
        with:
          id: rest.id
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
      - method: DELETE
        name: delete
        description: Salesloft Delete a Webhook Subscription
        call: salesloft-webhook-subscriptions.delete
        with:
          id: rest.id
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: salesloft-webhook-subscriptions-mcp
    port: 9090
    transport: http
    description: MCP adapter for Salesloft — Webhook Subscriptions. One tool per consumed operation, routed inline through
      this capability's consumes block.
    tools:
    - name: salesloft-list-webhook-subscriptions
      description: Salesloft List Webhook Subscriptions
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: salesloft-webhook-subscriptions.get
      with:
        enabled: tools.enabled
      outputParameters:
      - type: object
        mapping: $.
    - name: salesloft-create-webhook-subscription
      description: Salesloft Create a Webhook Subscription
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: salesloft-webhook-subscriptions.post
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: salesloft-fetch-webhook-subscription
      description: Salesloft Fetch a Webhook Subscription
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: salesloft-webhook-subscriptions.get
      with:
        id: tools.id
      outputParameters:
      - type: object
        mapping: $.
    - name: salesloft-update-webhook-subscription
      description: Salesloft Update a Webhook Subscription
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: salesloft-webhook-subscriptions.put
      with:
        id: tools.id
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: salesloft-delete-webhook-subscription
      description: Salesloft Delete a Webhook Subscription
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: salesloft-webhook-subscriptions.delete
      with:
        id: tools.id
      outputParameters:
      - type: object
        mapping: $.