naftiko: 1.0.0-alpha2 info: label: Twilio Verify API — Challenges description: 'Twilio Verify API — Challenges. 2 operations. Lead operation: Twilio List Challenges for an Entity. Self-contained Naftiko capability covering one Twilio business surface.' tags: - Twilio - Challenges created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: TWILIO_API_KEY: TWILIO_API_KEY capability: consumes: - type: http namespace: verify-challenges baseUri: https://verify.twilio.com/v2 description: Twilio Verify API — Challenges business capability. Self-contained, no shared references. resources: - name: Services-ServiceSid-Entities-Identity-Challenges path: /Services/{ServiceSid}/Entities/{Identity}/Challenges operations: - name: listchallenges method: GET description: Twilio List Challenges for an Entity outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: Identity in: path type: string required: true - name: FactorSid in: query type: string - name: Status in: query type: string - name: createchallenge method: POST description: Twilio Create a Challenge outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: Identity in: path type: string required: true - 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-challenges-rest port: 8080 description: REST adapter for Twilio Verify API — Challenges. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/services/{servicesid}/entities/{identity}/challenges name: services-servicesid-entities-identity-challenges description: REST surface for Services-ServiceSid-Entities-Identity-Challenges. operations: - method: GET name: listchallenges description: Twilio List Challenges for an Entity call: verify-challenges.listchallenges with: Identity: rest.Identity FactorSid: rest.FactorSid Status: rest.Status outputParameters: - type: object mapping: $. - method: POST name: createchallenge description: Twilio Create a Challenge call: verify-challenges.createchallenge with: Identity: rest.Identity body: rest.body outputParameters: - type: object mapping: $. - type: mcp namespace: verify-challenges-mcp port: 9090 transport: http description: MCP adapter for Twilio Verify API — Challenges. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: twilio-list-challenges-entity description: Twilio List Challenges for an Entity hints: readOnly: true destructive: false idempotent: true call: verify-challenges.listchallenges with: Identity: tools.Identity FactorSid: tools.FactorSid Status: tools.Status outputParameters: - type: object mapping: $. - name: twilio-create-challenge description: Twilio Create a Challenge hints: readOnly: false destructive: false idempotent: false call: verify-challenges.createchallenge with: Identity: tools.Identity body: tools.body outputParameters: - type: object mapping: $.