Twilio · Capability

Twilio Verify API — Webhooks

Twilio Verify API — Webhooks. 2 operations. Lead operation: Twilio List Webhooks. Self-contained Naftiko capability covering one Twilio business surface.

Run with Naftiko TwilioWebhooks

What You Can Do

GET
Listwebhooks — Twilio List Webhooks
/v1/services/{servicesid}/webhooks
POST
Createwebhook — Twilio Create a Webhook
/v1/services/{servicesid}/webhooks

MCP Tools

twilio-list-webhooks

Twilio List Webhooks

read-only idempotent
twilio-create-webhook

Twilio Create a Webhook

Capability Spec

verify-webhooks.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Twilio Verify API — Webhooks
  description: 'Twilio Verify API — Webhooks. 2 operations. Lead operation: Twilio List Webhooks. Self-contained Naftiko capability
    covering one Twilio business surface.'
  tags:
  - Twilio
  - Webhooks
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    TWILIO_API_KEY: TWILIO_API_KEY
capability:
  consumes:
  - type: http
    namespace: verify-webhooks
    baseUri: https://verify.twilio.com/v2
    description: Twilio Verify API — Webhooks business capability. Self-contained, no shared references.
    resources:
    - name: Services-ServiceSid-Webhooks
      path: /Services/{ServiceSid}/Webhooks
      operations:
      - name: listwebhooks
        method: GET
        description: Twilio List Webhooks
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: createwebhook
        method: POST
        description: Twilio Create a Webhook
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    authentication:
      type: basic
      username: '{{env.TWILIO_USER}}'
      password: '{{env.TWILIO_PASS}}'
  exposes:
  - type: rest
    namespace: verify-webhooks-rest
    port: 8080
    description: REST adapter for Twilio Verify API — Webhooks. One Spectral-compliant resource per consumed operation, prefixed
      with /v1.
    resources:
    - path: /v1/services/{servicesid}/webhooks
      name: services-servicesid-webhooks
      description: REST surface for Services-ServiceSid-Webhooks.
      operations:
      - method: GET
        name: listwebhooks
        description: Twilio List Webhooks
        call: verify-webhooks.listwebhooks
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: createwebhook
        description: Twilio Create a Webhook
        call: verify-webhooks.createwebhook
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: verify-webhooks-mcp
    port: 9090
    transport: http
    description: MCP adapter for Twilio Verify API — Webhooks. One tool per consumed operation, routed inline through this
      capability's consumes block.
    tools:
    - name: twilio-list-webhooks
      description: Twilio List Webhooks
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: verify-webhooks.listwebhooks
      outputParameters:
      - type: object
        mapping: $.
    - name: twilio-create-webhook
      description: Twilio Create a Webhook
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: verify-webhooks.createwebhook
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.