naftiko: 1.0.0-alpha2 info: label: Twilio - Trusthub — EndUsers description: 'Twilio - Trusthub — EndUsers. 5 operations. Lead operation: EndUsers. Self-contained Naftiko capability covering one Twilio business surface.' tags: - Twilio - EndUsers created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: TWILIO_API_KEY: TWILIO_API_KEY capability: consumes: - type: http namespace: trust-hub-endusers baseUri: https://trusthub.twilio.com description: Twilio - Trusthub — EndUsers business capability. Self-contained, no shared references. resources: - name: v1-EndUsers path: /v1/EndUsers operations: - name: createenduser method: POST description: Create a new End User. outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: false - name: listenduser method: GET description: Retrieve a list of all End User for an account. outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: PageSize in: query type: integer description: How many resources to return in each list page. The default is 50, and the maximum is 1000. - name: Page in: query type: integer description: The page index. This value is simply for client state. - name: PageToken in: query type: string description: The page token. This is provided by the API. - name: v1-EndUsers-Sid path: /v1/EndUsers/{Sid} operations: - name: fetchenduser method: GET description: Fetch specific End User Instance. outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: Sid in: path type: string description: The unique string created by Twilio to identify the End User resource. required: true - name: updateenduser method: POST description: Update an existing End User. outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: Sid in: path type: string description: The unique string created by Twilio to identify the End User resource. required: true - name: body in: body type: object description: Request body (JSON). required: false - name: deleteenduser method: DELETE description: Delete a specific End User. outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: Sid in: path type: string description: The unique string created by Twilio to identify the End User resource. required: true authentication: type: basic username: '{{env.TWILIO_USER}}' password: '{{env.TWILIO_PASS}}' exposes: - type: rest namespace: trust-hub-endusers-rest port: 8080 description: REST adapter for Twilio - Trusthub — EndUsers. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/v1/endusers name: v1-endusers description: REST surface for v1-EndUsers. operations: - method: POST name: createenduser description: Create a new End User. call: trust-hub-endusers.createenduser with: body: rest.body outputParameters: - type: object mapping: $. - method: GET name: listenduser description: Retrieve a list of all End User for an account. call: trust-hub-endusers.listenduser with: PageSize: rest.PageSize Page: rest.Page PageToken: rest.PageToken outputParameters: - type: object mapping: $. - path: /v1/v1/endusers/{sid} name: v1-endusers-sid description: REST surface for v1-EndUsers-Sid. operations: - method: GET name: fetchenduser description: Fetch specific End User Instance. call: trust-hub-endusers.fetchenduser with: Sid: rest.Sid outputParameters: - type: object mapping: $. - method: POST name: updateenduser description: Update an existing End User. call: trust-hub-endusers.updateenduser with: Sid: rest.Sid body: rest.body outputParameters: - type: object mapping: $. - method: DELETE name: deleteenduser description: Delete a specific End User. call: trust-hub-endusers.deleteenduser with: Sid: rest.Sid outputParameters: - type: object mapping: $. - type: mcp namespace: trust-hub-endusers-mcp port: 9090 transport: http description: MCP adapter for Twilio - Trusthub — EndUsers. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: create-new-end-user description: Create a new End User. hints: readOnly: false destructive: false idempotent: false call: trust-hub-endusers.createenduser with: body: tools.body outputParameters: - type: object mapping: $. - name: retrieve-list-all-end-user description: Retrieve a list of all End User for an account. hints: readOnly: true destructive: false idempotent: true call: trust-hub-endusers.listenduser with: PageSize: tools.PageSize Page: tools.Page PageToken: tools.PageToken outputParameters: - type: object mapping: $. - name: fetch-specific-end-user-instance description: Fetch specific End User Instance. hints: readOnly: true destructive: false idempotent: true call: trust-hub-endusers.fetchenduser with: Sid: tools.Sid outputParameters: - type: object mapping: $. - name: update-existing-end-user description: Update an existing End User. hints: readOnly: false destructive: false idempotent: false call: trust-hub-endusers.updateenduser with: Sid: tools.Sid body: tools.body outputParameters: - type: object mapping: $. - name: delete-specific-end-user description: Delete a specific End User. hints: readOnly: false destructive: true idempotent: true call: trust-hub-endusers.deleteenduser with: Sid: tools.Sid outputParameters: - type: object mapping: $.