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: $.