naftiko: 1.0.0-alpha2 info: label: Twilio - Trusthub — CustomerProfiles description: 'Twilio - Trusthub — CustomerProfiles. 16 operations. Lead operation: CustomerProfiles. Self-contained Naftiko capability covering one Twilio business surface.' tags: - Twilio - CustomerProfiles 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-customerprofiles baseUri: https://trusthub.twilio.com description: Twilio - Trusthub — CustomerProfiles business capability. Self-contained, no shared references. resources: - name: v1-CustomerProfiles path: /v1/CustomerProfiles operations: - name: createcustomerprofile 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: listcustomerprofile 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-CustomerProfiles-CustomerProfileSid-ChannelEndpointAssignments path: /v1/CustomerProfiles/{CustomerProfileSid}/ChannelEndpointAssignments operations: - name: createcustomerprofilechannelendpointassignment method: POST description: Create a new Assigned Item. outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: CustomerProfileSid 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: listcustomerprofilechannelendpointassignment method: GET description: Retrieve a list of all Assigned Items for an account. outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: CustomerProfileSid 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-CustomerProfiles-CustomerProfileSid-ChannelEndpointAssignments-Sid path: /v1/CustomerProfiles/{CustomerProfileSid}/ChannelEndpointAssignments/{Sid} operations: - name: fetchcustomerprofilechannelendpointassignment method: GET description: Fetch specific Assigned Item Instance. outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: CustomerProfileSid 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: deletecustomerprofilechannelendpointassignment method: DELETE description: Remove an Assignment Item Instance. outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: CustomerProfileSid 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-CustomerProfiles-CustomerProfileSid-EntityAssignments path: /v1/CustomerProfiles/{CustomerProfileSid}/EntityAssignments operations: - name: createcustomerprofileentityassignment method: POST description: Create a new Assigned Item. outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: CustomerProfileSid 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: listcustomerprofileentityassignment method: GET description: Retrieve a list of all Assigned Items for an account. outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: CustomerProfileSid in: path type: string description: The unique string that we created to identify the CustomerProfile 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-CustomerProfiles-CustomerProfileSid-EntityAssignments-Sid path: /v1/CustomerProfiles/{CustomerProfileSid}/EntityAssignments/{Sid} operations: - name: fetchcustomerprofileentityassignment method: GET description: Fetch specific Assigned Item Instance. outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: CustomerProfileSid 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 Identity resource. required: true - name: deletecustomerprofileentityassignment method: DELETE description: Remove an Assignment Item Instance. outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: CustomerProfileSid 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 Identity resource. required: true - name: v1-CustomerProfiles-CustomerProfileSid-Evaluations path: /v1/CustomerProfiles/{CustomerProfileSid}/Evaluations operations: - name: createcustomerprofileevaluation method: POST description: Create a new Evaluation outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: CustomerProfileSid 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: listcustomerprofileevaluation method: GET description: Retrieve a list of Evaluations associated to the customer_profile resource. outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: CustomerProfileSid in: path type: string description: The unique string that we created to identify the CustomerProfile 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-CustomerProfiles-CustomerProfileSid-Evaluations-Sid path: /v1/CustomerProfiles/{CustomerProfileSid}/Evaluations/{Sid} operations: - name: fetchcustomerprofileevaluation method: GET description: Fetch specific Evaluation Instance. outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: CustomerProfileSid in: path type: string description: The unique string that we created to identify the customer_profile resource. required: true - name: Sid in: path type: string description: The unique string that identifies the Evaluation resource. required: true - name: v1-CustomerProfiles-Sid path: /v1/CustomerProfiles/{Sid} operations: - name: fetchcustomerprofile 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: updatecustomerprofile 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: deletecustomerprofile 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 authentication: type: basic username: '{{env.TWILIO_USER}}' password: '{{env.TWILIO_PASS}}' exposes: - type: rest namespace: trust-hub-customerprofiles-rest port: 8080 description: REST adapter for Twilio - Trusthub — CustomerProfiles. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/v1/customerprofiles name: v1-customerprofiles description: REST surface for v1-CustomerProfiles. operations: - method: POST name: createcustomerprofile description: Create a new Customer-Profile. call: trust-hub-customerprofiles.createcustomerprofile with: body: rest.body outputParameters: - type: object mapping: $. - method: GET name: listcustomerprofile description: Retrieve a list of all Customer-Profiles for an account. call: trust-hub-customerprofiles.listcustomerprofile 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/customerprofiles/{customerprofilesid}/channelendpointassignments name: v1-customerprofiles-customerprofilesid-channelendpointassignments description: REST surface for v1-CustomerProfiles-CustomerProfileSid-ChannelEndpointAssignments. operations: - method: POST name: createcustomerprofilechannelendpointassignment description: Create a new Assigned Item. call: trust-hub-customerprofiles.createcustomerprofilechannelendpointassignment with: CustomerProfileSid: rest.CustomerProfileSid body: rest.body outputParameters: - type: object mapping: $. - method: GET name: listcustomerprofilechannelendpointassignment description: Retrieve a list of all Assigned Items for an account. call: trust-hub-customerprofiles.listcustomerprofilechannelendpointassignment with: CustomerProfileSid: rest.CustomerProfileSid ChannelEndpointSid: rest.ChannelEndpointSid ChannelEndpointSids: rest.ChannelEndpointSids PageSize: rest.PageSize Page: rest.Page PageToken: rest.PageToken outputParameters: - type: object mapping: $. - path: /v1/v1/customerprofiles/{customerprofilesid}/channelendpointassignments/{sid} name: v1-customerprofiles-customerprofilesid-channelendpointassignments-sid description: REST surface for v1-CustomerProfiles-CustomerProfileSid-ChannelEndpointAssignments-Sid. operations: - method: GET name: fetchcustomerprofilechannelendpointassignment description: Fetch specific Assigned Item Instance. call: trust-hub-customerprofiles.fetchcustomerprofilechannelendpointassignment with: CustomerProfileSid: rest.CustomerProfileSid Sid: rest.Sid outputParameters: - type: object mapping: $. - method: DELETE name: deletecustomerprofilechannelendpointassignment description: Remove an Assignment Item Instance. call: trust-hub-customerprofiles.deletecustomerprofilechannelendpointassignment with: CustomerProfileSid: rest.CustomerProfileSid Sid: rest.Sid outputParameters: - type: object mapping: $. - path: /v1/v1/customerprofiles/{customerprofilesid}/entityassignments name: v1-customerprofiles-customerprofilesid-entityassignments description: REST surface for v1-CustomerProfiles-CustomerProfileSid-EntityAssignments. operations: - method: POST name: createcustomerprofileentityassignment description: Create a new Assigned Item. call: trust-hub-customerprofiles.createcustomerprofileentityassignment with: CustomerProfileSid: rest.CustomerProfileSid body: rest.body outputParameters: - type: object mapping: $. - method: GET name: listcustomerprofileentityassignment description: Retrieve a list of all Assigned Items for an account. call: trust-hub-customerprofiles.listcustomerprofileentityassignment with: CustomerProfileSid: rest.CustomerProfileSid PageSize: rest.PageSize Page: rest.Page PageToken: rest.PageToken outputParameters: - type: object mapping: $. - path: /v1/v1/customerprofiles/{customerprofilesid}/entityassignments/{sid} name: v1-customerprofiles-customerprofilesid-entityassignments-sid description: REST surface for v1-CustomerProfiles-CustomerProfileSid-EntityAssignments-Sid. operations: - method: GET name: fetchcustomerprofileentityassignment description: Fetch specific Assigned Item Instance. call: trust-hub-customerprofiles.fetchcustomerprofileentityassignment with: CustomerProfileSid: rest.CustomerProfileSid Sid: rest.Sid outputParameters: - type: object mapping: $. - method: DELETE name: deletecustomerprofileentityassignment description: Remove an Assignment Item Instance. call: trust-hub-customerprofiles.deletecustomerprofileentityassignment with: CustomerProfileSid: rest.CustomerProfileSid Sid: rest.Sid outputParameters: - type: object mapping: $. - path: /v1/v1/customerprofiles/{customerprofilesid}/evaluations name: v1-customerprofiles-customerprofilesid-evaluations description: REST surface for v1-CustomerProfiles-CustomerProfileSid-Evaluations. operations: - method: POST name: createcustomerprofileevaluation description: Create a new Evaluation call: trust-hub-customerprofiles.createcustomerprofileevaluation with: CustomerProfileSid: rest.CustomerProfileSid body: rest.body outputParameters: - type: object mapping: $. - method: GET name: listcustomerprofileevaluation description: Retrieve a list of Evaluations associated to the customer_profile resource. call: trust-hub-customerprofiles.listcustomerprofileevaluation with: CustomerProfileSid: rest.CustomerProfileSid PageSize: rest.PageSize Page: rest.Page PageToken: rest.PageToken outputParameters: - type: object mapping: $. - path: /v1/v1/customerprofiles/{customerprofilesid}/evaluations/{sid} name: v1-customerprofiles-customerprofilesid-evaluations-sid description: REST surface for v1-CustomerProfiles-CustomerProfileSid-Evaluations-Sid. operations: - method: GET name: fetchcustomerprofileevaluation description: Fetch specific Evaluation Instance. call: trust-hub-customerprofiles.fetchcustomerprofileevaluation with: CustomerProfileSid: rest.CustomerProfileSid Sid: rest.Sid outputParameters: - type: object mapping: $. - path: /v1/v1/customerprofiles/{sid} name: v1-customerprofiles-sid description: REST surface for v1-CustomerProfiles-Sid. operations: - method: GET name: fetchcustomerprofile description: Fetch a specific Customer-Profile instance. call: trust-hub-customerprofiles.fetchcustomerprofile with: Sid: rest.Sid outputParameters: - type: object mapping: $. - method: POST name: updatecustomerprofile description: Updates a Customer-Profile in an account. call: trust-hub-customerprofiles.updatecustomerprofile with: Sid: rest.Sid body: rest.body outputParameters: - type: object mapping: $. - method: DELETE name: deletecustomerprofile description: Delete a specific Customer-Profile. call: trust-hub-customerprofiles.deletecustomerprofile with: Sid: rest.Sid outputParameters: - type: object mapping: $. - type: mcp namespace: trust-hub-customerprofiles-mcp port: 9090 transport: http description: MCP adapter for Twilio - Trusthub — CustomerProfiles. 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-customerprofiles.createcustomerprofile 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-customerprofiles.listcustomerprofile with: Status: tools.Status FriendlyName: tools.FriendlyName PolicySid: tools.PolicySid PageSize: tools.PageSize Page: tools.Page PageToken: tools.PageToken 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-customerprofiles.createcustomerprofilechannelendpointassignment with: CustomerProfileSid: tools.CustomerProfileSid 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-customerprofiles.listcustomerprofilechannelendpointassignment with: CustomerProfileSid: tools.CustomerProfileSid 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-customerprofiles.fetchcustomerprofilechannelendpointassignment with: CustomerProfileSid: tools.CustomerProfileSid 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-customerprofiles.deletecustomerprofilechannelendpointassignment with: CustomerProfileSid: tools.CustomerProfileSid 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-customerprofiles.createcustomerprofileentityassignment with: CustomerProfileSid: tools.CustomerProfileSid 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-customerprofiles.listcustomerprofileentityassignment with: CustomerProfileSid: tools.CustomerProfileSid 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-customerprofiles.fetchcustomerprofileentityassignment with: CustomerProfileSid: tools.CustomerProfileSid 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-customerprofiles.deletecustomerprofileentityassignment with: CustomerProfileSid: tools.CustomerProfileSid 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-customerprofiles.createcustomerprofileevaluation with: CustomerProfileSid: tools.CustomerProfileSid body: tools.body outputParameters: - type: object mapping: $. - name: retrieve-list-evaluations-associated-customer description: Retrieve a list of Evaluations associated to the customer_profile resource. hints: readOnly: true destructive: false idempotent: true call: trust-hub-customerprofiles.listcustomerprofileevaluation with: CustomerProfileSid: tools.CustomerProfileSid 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-customerprofiles.fetchcustomerprofileevaluation with: CustomerProfileSid: tools.CustomerProfileSid Sid: tools.Sid 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-customerprofiles.fetchcustomerprofile 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-customerprofiles.updatecustomerprofile 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-customerprofiles.deletecustomerprofile with: Sid: tools.Sid outputParameters: - type: object mapping: $.