naftiko: 1.0.0-alpha2 info: label: Twilio - Trusthub — TrustProducts description: 'Twilio - Trusthub — TrustProducts. 16 operations. Lead operation: TrustProducts. Self-contained Naftiko capability covering one Twilio business surface.' tags: - Twilio - TrustProducts 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-trustproducts baseUri: https://trusthub.twilio.com description: Twilio - Trusthub — TrustProducts business capability. Self-contained, no shared references. resources: - name: v1-TrustProducts path: /v1/TrustProducts operations: - name: createtrustproduct method: POST description: Create a new Customer-Profile. outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: false - name: listtrustproduct method: GET description: Retrieve a list of all Customer-Profiles for an account. outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: Status in: query type: string description: The verification status of the Customer-Profile resource. - name: FriendlyName in: query type: string description: The string that you assigned to describe the resource. - name: PolicySid in: query type: string description: The unique string of a policy that is associated to the Customer-Profile resource. - 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-TrustProducts-Sid path: /v1/TrustProducts/{Sid} operations: - name: fetchtrustproduct method: GET description: Fetch a specific Customer-Profile instance. outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: Sid in: path type: string description: The unique string that we created to identify the Customer-Profile resource. required: true - name: updatetrustproduct method: POST description: Updates a Customer-Profile in an account. outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: Sid in: path type: string description: The unique string that we created to identify the Customer-Profile resource. required: true - name: body in: body type: object description: Request body (JSON). required: false - name: deletetrustproduct method: DELETE description: Delete a specific Customer-Profile. outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: Sid in: path type: string description: The unique string that we created to identify the Customer-Profile resource. required: true - name: v1-TrustProducts-TrustProductSid-ChannelEndpointAssignments path: /v1/TrustProducts/{TrustProductSid}/ChannelEndpointAssignments operations: - name: createtrustproductchannelendpointassignment method: POST description: Create a new Assigned Item. outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: TrustProductSid in: path type: string description: The unique string that we created to identify the CustomerProfile resource. required: true - name: body in: body type: object description: Request body (JSON). required: false - name: listtrustproductchannelendpointassignment method: GET description: Retrieve a list of all Assigned Items for an account. outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: TrustProductSid in: path type: string description: The unique string that we created to identify the CustomerProfile resource. required: true - name: ChannelEndpointSid in: query type: string description: The SID of an channel endpoint - name: ChannelEndpointSids in: query type: string description: comma separated list of channel endpoint sids - 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-TrustProducts-TrustProductSid-ChannelEndpointAssignments-Sid path: /v1/TrustProducts/{TrustProductSid}/ChannelEndpointAssignments/{Sid} operations: - name: fetchtrustproductchannelendpointassignment method: GET description: Fetch specific Assigned Item Instance. outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: TrustProductSid in: path type: string description: The unique string that we created to identify the CustomerProfile resource. required: true - name: Sid in: path type: string description: The unique string that we created to identify the resource. required: true - name: deletetrustproductchannelendpointassignment method: DELETE description: Remove an Assignment Item Instance. outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: TrustProductSid in: path type: string description: The unique string that we created to identify the CustomerProfile resource. required: true - name: Sid in: path type: string description: The unique string that we created to identify the resource. required: true - name: v1-TrustProducts-TrustProductSid-EntityAssignments path: /v1/TrustProducts/{TrustProductSid}/EntityAssignments operations: - name: createtrustproductentityassignment method: POST description: Create a new Assigned Item. outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: TrustProductSid in: path type: string description: The unique string that we created to identify the TrustProduct resource. required: true - name: body in: body type: object description: Request body (JSON). required: false - name: listtrustproductentityassignment method: GET description: Retrieve a list of all Assigned Items for an account. outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: TrustProductSid in: path type: string description: The unique string that we created to identify the TrustProduct resource. required: true - 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-TrustProducts-TrustProductSid-EntityAssignments-Sid path: /v1/TrustProducts/{TrustProductSid}/EntityAssignments/{Sid} operations: - name: fetchtrustproductentityassignment method: GET description: Fetch specific Assigned Item Instance. outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: TrustProductSid in: path type: string description: The unique string that we created to identify the TrustProduct resource. required: true - name: Sid in: path type: string description: The unique string that we created to identify the Identity resource. required: true - name: deletetrustproductentityassignment method: DELETE description: Remove an Assignment Item Instance. outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: TrustProductSid in: path type: string description: The unique string that we created to identify the TrustProduct resource. required: true - name: Sid in: path type: string description: The unique string that we created to identify the Identity resource. required: true - name: v1-TrustProducts-TrustProductSid-Evaluations path: /v1/TrustProducts/{TrustProductSid}/Evaluations operations: - name: createtrustproductevaluation method: POST description: Create a new Evaluation outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: TrustProductSid in: path type: string description: The unique string that we created to identify the trust_product resource. required: true - name: body in: body type: object description: Request body (JSON). required: false - name: listtrustproductevaluation method: GET description: Retrieve a list of Evaluations associated to the trust_product resource. outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: TrustProductSid in: path type: string description: The unique string that we created to identify the trust_product resource. required: true - 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-TrustProducts-TrustProductSid-Evaluations-Sid path: /v1/TrustProducts/{TrustProductSid}/Evaluations/{Sid} operations: - name: fetchtrustproductevaluation method: GET description: Fetch specific Evaluation Instance. outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: TrustProductSid in: path type: string description: The unique string that we created to identify the trust_product resource. required: true - name: Sid in: path type: string description: The unique string that identifies the Evaluation resource. required: true authentication: type: basic username: '{{env.TWILIO_USER}}' password: '{{env.TWILIO_PASS}}' exposes: - type: rest namespace: trust-hub-trustproducts-rest port: 8080 description: REST adapter for Twilio - Trusthub — TrustProducts. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/v1/trustproducts name: v1-trustproducts description: REST surface for v1-TrustProducts. operations: - method: POST name: createtrustproduct description: Create a new Customer-Profile. call: trust-hub-trustproducts.createtrustproduct with: body: rest.body outputParameters: - type: object mapping: $. - method: GET name: listtrustproduct description: Retrieve a list of all Customer-Profiles for an account. call: trust-hub-trustproducts.listtrustproduct with: Status: rest.Status FriendlyName: rest.FriendlyName PolicySid: rest.PolicySid PageSize: rest.PageSize Page: rest.Page PageToken: rest.PageToken outputParameters: - type: object mapping: $. - path: /v1/v1/trustproducts/{sid} name: v1-trustproducts-sid description: REST surface for v1-TrustProducts-Sid. operations: - method: GET name: fetchtrustproduct description: Fetch a specific Customer-Profile instance. call: trust-hub-trustproducts.fetchtrustproduct with: Sid: rest.Sid outputParameters: - type: object mapping: $. - method: POST name: updatetrustproduct description: Updates a Customer-Profile in an account. call: trust-hub-trustproducts.updatetrustproduct with: Sid: rest.Sid body: rest.body outputParameters: - type: object mapping: $. - method: DELETE name: deletetrustproduct description: Delete a specific Customer-Profile. call: trust-hub-trustproducts.deletetrustproduct with: Sid: rest.Sid outputParameters: - type: object mapping: $. - path: /v1/v1/trustproducts/{trustproductsid}/channelendpointassignments name: v1-trustproducts-trustproductsid-channelendpointassignments description: REST surface for v1-TrustProducts-TrustProductSid-ChannelEndpointAssignments. operations: - method: POST name: createtrustproductchannelendpointassignment description: Create a new Assigned Item. call: trust-hub-trustproducts.createtrustproductchannelendpointassignment with: TrustProductSid: rest.TrustProductSid body: rest.body outputParameters: - type: object mapping: $. - method: GET name: listtrustproductchannelendpointassignment description: Retrieve a list of all Assigned Items for an account. call: trust-hub-trustproducts.listtrustproductchannelendpointassignment with: TrustProductSid: rest.TrustProductSid ChannelEndpointSid: rest.ChannelEndpointSid ChannelEndpointSids: rest.ChannelEndpointSids PageSize: rest.PageSize Page: rest.Page PageToken: rest.PageToken outputParameters: - type: object mapping: $. - path: /v1/v1/trustproducts/{trustproductsid}/channelendpointassignments/{sid} name: v1-trustproducts-trustproductsid-channelendpointassignments-sid description: REST surface for v1-TrustProducts-TrustProductSid-ChannelEndpointAssignments-Sid. operations: - method: GET name: fetchtrustproductchannelendpointassignment description: Fetch specific Assigned Item Instance. call: trust-hub-trustproducts.fetchtrustproductchannelendpointassignment with: TrustProductSid: rest.TrustProductSid Sid: rest.Sid outputParameters: - type: object mapping: $. - method: DELETE name: deletetrustproductchannelendpointassignment description: Remove an Assignment Item Instance. call: trust-hub-trustproducts.deletetrustproductchannelendpointassignment with: TrustProductSid: rest.TrustProductSid Sid: rest.Sid outputParameters: - type: object mapping: $. - path: /v1/v1/trustproducts/{trustproductsid}/entityassignments name: v1-trustproducts-trustproductsid-entityassignments description: REST surface for v1-TrustProducts-TrustProductSid-EntityAssignments. operations: - method: POST name: createtrustproductentityassignment description: Create a new Assigned Item. call: trust-hub-trustproducts.createtrustproductentityassignment with: TrustProductSid: rest.TrustProductSid body: rest.body outputParameters: - type: object mapping: $. - method: GET name: listtrustproductentityassignment description: Retrieve a list of all Assigned Items for an account. call: trust-hub-trustproducts.listtrustproductentityassignment with: TrustProductSid: rest.TrustProductSid PageSize: rest.PageSize Page: rest.Page PageToken: rest.PageToken outputParameters: - type: object mapping: $. - path: /v1/v1/trustproducts/{trustproductsid}/entityassignments/{sid} name: v1-trustproducts-trustproductsid-entityassignments-sid description: REST surface for v1-TrustProducts-TrustProductSid-EntityAssignments-Sid. operations: - method: GET name: fetchtrustproductentityassignment description: Fetch specific Assigned Item Instance. call: trust-hub-trustproducts.fetchtrustproductentityassignment with: TrustProductSid: rest.TrustProductSid Sid: rest.Sid outputParameters: - type: object mapping: $. - method: DELETE name: deletetrustproductentityassignment description: Remove an Assignment Item Instance. call: trust-hub-trustproducts.deletetrustproductentityassignment with: TrustProductSid: rest.TrustProductSid Sid: rest.Sid outputParameters: - type: object mapping: $. - path: /v1/v1/trustproducts/{trustproductsid}/evaluations name: v1-trustproducts-trustproductsid-evaluations description: REST surface for v1-TrustProducts-TrustProductSid-Evaluations. operations: - method: POST name: createtrustproductevaluation description: Create a new Evaluation call: trust-hub-trustproducts.createtrustproductevaluation with: TrustProductSid: rest.TrustProductSid body: rest.body outputParameters: - type: object mapping: $. - method: GET name: listtrustproductevaluation description: Retrieve a list of Evaluations associated to the trust_product resource. call: trust-hub-trustproducts.listtrustproductevaluation with: TrustProductSid: rest.TrustProductSid PageSize: rest.PageSize Page: rest.Page PageToken: rest.PageToken outputParameters: - type: object mapping: $. - path: /v1/v1/trustproducts/{trustproductsid}/evaluations/{sid} name: v1-trustproducts-trustproductsid-evaluations-sid description: REST surface for v1-TrustProducts-TrustProductSid-Evaluations-Sid. operations: - method: GET name: fetchtrustproductevaluation description: Fetch specific Evaluation Instance. call: trust-hub-trustproducts.fetchtrustproductevaluation with: TrustProductSid: rest.TrustProductSid Sid: rest.Sid outputParameters: - type: object mapping: $. - type: mcp namespace: trust-hub-trustproducts-mcp port: 9090 transport: http description: MCP adapter for Twilio - Trusthub — TrustProducts. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: create-new-customer-profile description: Create a new Customer-Profile. hints: readOnly: false destructive: false idempotent: false call: trust-hub-trustproducts.createtrustproduct with: body: tools.body outputParameters: - type: object mapping: $. - name: retrieve-list-all-customer-profiles description: Retrieve a list of all Customer-Profiles for an account. hints: readOnly: true destructive: false idempotent: true call: trust-hub-trustproducts.listtrustproduct with: Status: tools.Status FriendlyName: tools.FriendlyName PolicySid: tools.PolicySid PageSize: tools.PageSize Page: tools.Page PageToken: tools.PageToken outputParameters: - type: object mapping: $. - name: fetch-specific-customer-profile-instance description: Fetch a specific Customer-Profile instance. hints: readOnly: true destructive: false idempotent: true call: trust-hub-trustproducts.fetchtrustproduct with: Sid: tools.Sid outputParameters: - type: object mapping: $. - name: updates-customer-profile-account description: Updates a Customer-Profile in an account. hints: readOnly: false destructive: false idempotent: false call: trust-hub-trustproducts.updatetrustproduct with: Sid: tools.Sid body: tools.body outputParameters: - type: object mapping: $. - name: delete-specific-customer-profile description: Delete a specific Customer-Profile. hints: readOnly: false destructive: true idempotent: true call: trust-hub-trustproducts.deletetrustproduct with: Sid: tools.Sid outputParameters: - type: object mapping: $. - name: create-new-assigned-item description: Create a new Assigned Item. hints: readOnly: false destructive: false idempotent: false call: trust-hub-trustproducts.createtrustproductchannelendpointassignment with: TrustProductSid: tools.TrustProductSid body: tools.body outputParameters: - type: object mapping: $. - name: retrieve-list-all-assigned-items description: Retrieve a list of all Assigned Items for an account. hints: readOnly: true destructive: false idempotent: true call: trust-hub-trustproducts.listtrustproductchannelendpointassignment with: TrustProductSid: tools.TrustProductSid ChannelEndpointSid: tools.ChannelEndpointSid ChannelEndpointSids: tools.ChannelEndpointSids PageSize: tools.PageSize Page: tools.Page PageToken: tools.PageToken outputParameters: - type: object mapping: $. - name: fetch-specific-assigned-item-instance description: Fetch specific Assigned Item Instance. hints: readOnly: true destructive: false idempotent: true call: trust-hub-trustproducts.fetchtrustproductchannelendpointassignment with: TrustProductSid: tools.TrustProductSid Sid: tools.Sid outputParameters: - type: object mapping: $. - name: remove-assignment-item-instance description: Remove an Assignment Item Instance. hints: readOnly: false destructive: true idempotent: true call: trust-hub-trustproducts.deletetrustproductchannelendpointassignment with: TrustProductSid: tools.TrustProductSid Sid: tools.Sid outputParameters: - type: object mapping: $. - name: create-new-assigned-item-2 description: Create a new Assigned Item. hints: readOnly: false destructive: false idempotent: false call: trust-hub-trustproducts.createtrustproductentityassignment with: TrustProductSid: tools.TrustProductSid body: tools.body outputParameters: - type: object mapping: $. - name: retrieve-list-all-assigned-items-2 description: Retrieve a list of all Assigned Items for an account. hints: readOnly: true destructive: false idempotent: true call: trust-hub-trustproducts.listtrustproductentityassignment with: TrustProductSid: tools.TrustProductSid PageSize: tools.PageSize Page: tools.Page PageToken: tools.PageToken outputParameters: - type: object mapping: $. - name: fetch-specific-assigned-item-instance-2 description: Fetch specific Assigned Item Instance. hints: readOnly: true destructive: false idempotent: true call: trust-hub-trustproducts.fetchtrustproductentityassignment with: TrustProductSid: tools.TrustProductSid Sid: tools.Sid outputParameters: - type: object mapping: $. - name: remove-assignment-item-instance-2 description: Remove an Assignment Item Instance. hints: readOnly: false destructive: true idempotent: true call: trust-hub-trustproducts.deletetrustproductentityassignment with: TrustProductSid: tools.TrustProductSid Sid: tools.Sid outputParameters: - type: object mapping: $. - name: create-new-evaluation description: Create a new Evaluation hints: readOnly: false destructive: false idempotent: false call: trust-hub-trustproducts.createtrustproductevaluation with: TrustProductSid: tools.TrustProductSid body: tools.body outputParameters: - type: object mapping: $. - name: retrieve-list-evaluations-associated-trust description: Retrieve a list of Evaluations associated to the trust_product resource. hints: readOnly: true destructive: false idempotent: true call: trust-hub-trustproducts.listtrustproductevaluation with: TrustProductSid: tools.TrustProductSid PageSize: tools.PageSize Page: tools.Page PageToken: tools.PageToken outputParameters: - type: object mapping: $. - name: fetch-specific-evaluation-instance description: Fetch specific Evaluation Instance. hints: readOnly: true destructive: false idempotent: true call: trust-hub-trustproducts.fetchtrustproductevaluation with: TrustProductSid: tools.TrustProductSid Sid: tools.Sid outputParameters: - type: object mapping: $.