naftiko: 1.0.0-alpha2 info: label: Unified.to API — crm description: 'Unified.to API — crm. 36 operations. Lead operation: List all companies. Self-contained Naftiko capability covering one Unified To business surface.' tags: - Unified To - crm created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: UNIFIED_TO_API_KEY: UNIFIED_TO_API_KEY capability: consumes: - type: http namespace: crm-crm baseUri: https://api.unified.to description: Unified.to API — crm business capability. Self-contained, no shared references. resources: - name: crm-connection_id-company path: /crm/{connection_id}/company operations: - name: listcrmcompanies method: GET description: List all companies outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: limit in: query type: number - name: offset in: query type: number - name: updated_gte in: query type: string description: Return only results whose updated date is equal or greater to this value (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format) - name: sort in: query type: string - name: order in: query type: string - name: query in: query type: string description: Query string to search. eg. email address or name - name: deal_id in: query type: string description: The deal ID to filter by (reference to CrmDeal) - name: contact_id in: query type: string description: The contact ID to filter by (reference to CrmContact) - name: user_id in: query type: string description: The user/employee ID to filter by (reference to HrisEmployee) - name: fields in: query type: array description: Fields to return - name: raw in: query type: string description: 'Raw parameters to include in the 3rd-party request. Encoded as a URL component. eg. raw parameters: foo=bar&zoo=bar -> raw=foo%3Dbar%26zoo%3Dbar' - name: connection_id in: path type: string description: ID of the connection required: true - name: createcrmcompany method: POST description: Create a company outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: fields in: query type: array description: Fields to return - name: raw in: query type: string description: 'Raw parameters to include in the 3rd-party request. Encoded as a URL component. eg. raw parameters: foo=bar&zoo=bar -> raw=foo%3Dbar%26zoo%3Dbar' - name: connection_id in: path type: string description: ID of the connection required: true - name: body in: body type: object description: Request body (JSON). required: true - name: crm-connection_id-company-id path: /crm/{connection_id}/company/{id} operations: - name: removecrmcompany method: DELETE description: Remove a company outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: connection_id in: path type: string description: ID of the connection required: true - name: id in: path type: string description: ID of the Company required: true - name: getcrmcompany method: GET description: Retrieve a company outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: fields in: query type: array description: Fields to return - name: raw in: query type: string description: 'Raw parameters to include in the 3rd-party request. Encoded as a URL component. eg. raw parameters: foo=bar&zoo=bar -> raw=foo%3Dbar%26zoo%3Dbar' - name: connection_id in: path type: string description: ID of the connection required: true - name: id in: path type: string description: ID of the Company required: true - name: patchcrmcompany method: PATCH description: Update a company outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: fields in: query type: array description: Fields to return - name: raw in: query type: string description: 'Raw parameters to include in the 3rd-party request. Encoded as a URL component. eg. raw parameters: foo=bar&zoo=bar -> raw=foo%3Dbar%26zoo%3Dbar' - name: connection_id in: path type: string description: ID of the connection required: true - name: id in: path type: string description: ID of the Company required: true - name: body in: body type: object description: Request body (JSON). required: true - name: updatecrmcompany method: PUT description: Update a company outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: fields in: query type: array description: Fields to return - name: raw in: query type: string description: 'Raw parameters to include in the 3rd-party request. Encoded as a URL component. eg. raw parameters: foo=bar&zoo=bar -> raw=foo%3Dbar%26zoo%3Dbar' - name: connection_id in: path type: string description: ID of the connection required: true - name: id in: path type: string description: ID of the Company required: true - name: body in: body type: object description: Request body (JSON). required: true - name: crm-connection_id-contact path: /crm/{connection_id}/contact operations: - name: listcrmcontacts method: GET description: List all contacts outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: limit in: query type: number - name: offset in: query type: number - name: updated_gte in: query type: string description: Return only results whose updated date is equal or greater to this value (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format) - name: sort in: query type: string - name: order in: query type: string - name: query in: query type: string description: Query string to search. eg. email address or name - name: company_id in: query type: string description: The company ID to filter by (reference to CrmCompany) - name: deal_id in: query type: string description: The deal ID to filter by (reference to CrmDeal) - name: user_id in: query type: string description: The user/employee ID to filter by (reference to HrisEmployee) - name: fields in: query type: array description: Fields to return - name: raw in: query type: string description: 'Raw parameters to include in the 3rd-party request. Encoded as a URL component. eg. raw parameters: foo=bar&zoo=bar -> raw=foo%3Dbar%26zoo%3Dbar' - name: connection_id in: path type: string description: ID of the connection required: true - name: createcrmcontact method: POST description: Create a contact outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: fields in: query type: array description: Fields to return - name: raw in: query type: string description: 'Raw parameters to include in the 3rd-party request. Encoded as a URL component. eg. raw parameters: foo=bar&zoo=bar -> raw=foo%3Dbar%26zoo%3Dbar' - name: connection_id in: path type: string description: ID of the connection required: true - name: body in: body type: object description: Request body (JSON). required: true - name: crm-connection_id-contact-id path: /crm/{connection_id}/contact/{id} operations: - name: removecrmcontact method: DELETE description: Remove a contact outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: connection_id in: path type: string description: ID of the connection required: true - name: id in: path type: string description: ID of the Contact required: true - name: getcrmcontact method: GET description: Retrieve a contact outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: fields in: query type: array description: Fields to return - name: raw in: query type: string description: 'Raw parameters to include in the 3rd-party request. Encoded as a URL component. eg. raw parameters: foo=bar&zoo=bar -> raw=foo%3Dbar%26zoo%3Dbar' - name: connection_id in: path type: string description: ID of the connection required: true - name: id in: path type: string description: ID of the Contact required: true - name: patchcrmcontact method: PATCH description: Update a contact outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: fields in: query type: array description: Fields to return - name: raw in: query type: string description: 'Raw parameters to include in the 3rd-party request. Encoded as a URL component. eg. raw parameters: foo=bar&zoo=bar -> raw=foo%3Dbar%26zoo%3Dbar' - name: connection_id in: path type: string description: ID of the connection required: true - name: id in: path type: string description: ID of the Contact required: true - name: body in: body type: object description: Request body (JSON). required: true - name: updatecrmcontact method: PUT description: Update a contact outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: fields in: query type: array description: Fields to return - name: raw in: query type: string description: 'Raw parameters to include in the 3rd-party request. Encoded as a URL component. eg. raw parameters: foo=bar&zoo=bar -> raw=foo%3Dbar%26zoo%3Dbar' - name: connection_id in: path type: string description: ID of the connection required: true - name: id in: path type: string description: ID of the Contact required: true - name: body in: body type: object description: Request body (JSON). required: true - name: crm-connection_id-deal path: /crm/{connection_id}/deal operations: - name: listcrmdeals method: GET description: List all deals outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: limit in: query type: number - name: offset in: query type: number - name: updated_gte in: query type: string description: Return only results whose updated date is equal or greater to this value (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format) - name: sort in: query type: string - name: order in: query type: string - name: query in: query type: string description: Query string to search. eg. email address or name - name: company_id in: query type: string description: The company ID to filter by (reference to CrmCompany) - name: contact_id in: query type: string description: The contact ID to filter by (reference to CrmContact) - name: user_id in: query type: string description: The user/employee ID to filter by (reference to HrisEmployee) - name: pipeline_id in: query type: string description: The pipeline ID to filter by - name: fields in: query type: array description: Fields to return - name: raw in: query type: string description: 'Raw parameters to include in the 3rd-party request. Encoded as a URL component. eg. raw parameters: foo=bar&zoo=bar -> raw=foo%3Dbar%26zoo%3Dbar' - name: connection_id in: path type: string description: ID of the connection required: true - name: createcrmdeal method: POST description: Create a deal outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: fields in: query type: array description: Fields to return - name: raw in: query type: string description: 'Raw parameters to include in the 3rd-party request. Encoded as a URL component. eg. raw parameters: foo=bar&zoo=bar -> raw=foo%3Dbar%26zoo%3Dbar' - name: connection_id in: path type: string description: ID of the connection required: true - name: body in: body type: object description: Request body (JSON). required: true - name: crm-connection_id-deal-id path: /crm/{connection_id}/deal/{id} operations: - name: removecrmdeal method: DELETE description: Remove a deal outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: connection_id in: path type: string description: ID of the connection required: true - name: id in: path type: string description: ID of the Deal required: true - name: getcrmdeal method: GET description: Retrieve a deal outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: fields in: query type: array description: Fields to return - name: raw in: query type: string description: 'Raw parameters to include in the 3rd-party request. Encoded as a URL component. eg. raw parameters: foo=bar&zoo=bar -> raw=foo%3Dbar%26zoo%3Dbar' - name: connection_id in: path type: string description: ID of the connection required: true - name: id in: path type: string description: ID of the Deal required: true - name: patchcrmdeal method: PATCH description: Update a deal outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: fields in: query type: array description: Fields to return - name: raw in: query type: string description: 'Raw parameters to include in the 3rd-party request. Encoded as a URL component. eg. raw parameters: foo=bar&zoo=bar -> raw=foo%3Dbar%26zoo%3Dbar' - name: connection_id in: path type: string description: ID of the connection required: true - name: id in: path type: string description: ID of the Deal required: true - name: body in: body type: object description: Request body (JSON). required: true - name: updatecrmdeal method: PUT description: Update a deal outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: fields in: query type: array description: Fields to return - name: raw in: query type: string description: 'Raw parameters to include in the 3rd-party request. Encoded as a URL component. eg. raw parameters: foo=bar&zoo=bar -> raw=foo%3Dbar%26zoo%3Dbar' - name: connection_id in: path type: string description: ID of the connection required: true - name: id in: path type: string description: ID of the Deal required: true - name: body in: body type: object description: Request body (JSON). required: true - name: crm-connection_id-event path: /crm/{connection_id}/event operations: - name: listcrmevents method: GET description: List all events outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: limit in: query type: number - name: offset in: query type: number - name: updated_gte in: query type: string description: Return only results whose updated date is equal or greater to this value (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format) - name: sort in: query type: string - name: order in: query type: string - name: query in: query type: string description: Query string to search. eg. email address or name - name: deal_id in: query type: string description: The deal ID to filter by (reference to CrmDeal) - name: contact_id in: query type: string description: The contact ID to filter by (reference to CrmContact) - name: company_id in: query type: string description: The company ID to filter by (reference to CrmCompany) - name: user_id in: query type: string description: The user/employee ID to filter by (reference to HrisEmployee) - name: type in: query type: string - name: lead_id in: query type: string description: The CRM lead ID to filter by (reference to CrmLead) - name: fields in: query type: array description: Fields to return - name: raw in: query type: string description: 'Raw parameters to include in the 3rd-party request. Encoded as a URL component. eg. raw parameters: foo=bar&zoo=bar -> raw=foo%3Dbar%26zoo%3Dbar' - name: connection_id in: path type: string description: ID of the connection required: true - name: createcrmevent method: POST description: Create an event outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: fields in: query type: array description: Fields to return - name: raw in: query type: string description: 'Raw parameters to include in the 3rd-party request. Encoded as a URL component. eg. raw parameters: foo=bar&zoo=bar -> raw=foo%3Dbar%26zoo%3Dbar' - name: connection_id in: path type: string description: ID of the connection required: true - name: body in: body type: object description: Request body (JSON). required: true - name: crm-connection_id-event-id path: /crm/{connection_id}/event/{id} operations: - name: removecrmevent method: DELETE description: Remove an event outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: connection_id in: path type: string description: ID of the connection required: true - name: id in: path type: string description: ID of the Event required: true - name: getcrmevent method: GET description: Retrieve an event outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: fields in: query type: array description: Fields to return - name: raw in: query type: string description: 'Raw parameters to include in the 3rd-party request. Encoded as a URL component. eg. raw parameters: foo=bar&zoo=bar -> raw=foo%3Dbar%26zoo%3Dbar' - name: connection_id in: path type: string description: ID of the connection required: true - name: id in: path type: string description: ID of the Event required: true - name: patchcrmevent method: PATCH description: Update an event outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: fields in: query type: array description: Fields to return - name: raw in: query type: string description: 'Raw parameters to include in the 3rd-party request. Encoded as a URL component. eg. raw parameters: foo=bar&zoo=bar -> raw=foo%3Dbar%26zoo%3Dbar' - name: connection_id in: path type: string description: ID of the connection required: true - name: id in: path type: string description: ID of the Event required: true - name: body in: body type: object description: Request body (JSON). required: true - name: updatecrmevent method: PUT description: Update an event outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: fields in: query type: array description: Fields to return - name: raw in: query type: string description: 'Raw parameters to include in the 3rd-party request. Encoded as a URL component. eg. raw parameters: foo=bar&zoo=bar -> raw=foo%3Dbar%26zoo%3Dbar' - name: connection_id in: path type: string description: ID of the connection required: true - name: id in: path type: string description: ID of the Event required: true - name: body in: body type: object description: Request body (JSON). required: true - name: crm-connection_id-lead path: /crm/{connection_id}/lead operations: - name: listcrmleads method: GET description: List all leads outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: limit in: query type: number - name: offset in: query type: number - name: updated_gte in: query type: string description: Return only results whose updated date is equal or greater to this value (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format) - name: sort in: query type: string - name: order in: query type: string - name: query in: query type: string description: Query string to search. eg. email address or name - name: company_id in: query type: string description: The company ID to filter by (reference to CrmCompany) - name: contact_id in: query type: string description: The contact ID to filter by (reference to CrmContact) - name: user_id in: query type: string description: The user/employee ID to filter by (reference to HrisEmployee) - name: fields in: query type: array description: Fields to return - name: raw in: query type: string description: 'Raw parameters to include in the 3rd-party request. Encoded as a URL component. eg. raw parameters: foo=bar&zoo=bar -> raw=foo%3Dbar%26zoo%3Dbar' - name: connection_id in: path type: string description: ID of the connection required: true - name: createcrmlead method: POST description: Create a lead outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: fields in: query type: array description: Fields to return - name: raw in: query type: string description: 'Raw parameters to include in the 3rd-party request. Encoded as a URL component. eg. raw parameters: foo=bar&zoo=bar -> raw=foo%3Dbar%26zoo%3Dbar' - name: connection_id in: path type: string description: ID of the connection required: true - name: body in: body type: object description: Request body (JSON). required: true - name: crm-connection_id-lead-id path: /crm/{connection_id}/lead/{id} operations: - name: removecrmlead method: DELETE description: Remove a lead outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: connection_id in: path type: string description: ID of the connection required: true - name: id in: path type: string description: ID of the Lead required: true - name: getcrmlead method: GET description: Retrieve a lead outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: fields in: query type: array description: Fields to return - name: raw in: query type: string description: 'Raw parameters to include in the 3rd-party request. Encoded as a URL component. eg. raw parameters: foo=bar&zoo=bar -> raw=foo%3Dbar%26zoo%3Dbar' - name: connection_id in: path type: string description: ID of the connection required: true - name: id in: path type: string description: ID of the Lead required: true - name: patchcrmlead method: PATCH description: Update a lead outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: fields in: query type: array description: Fields to return - name: raw in: query type: string description: 'Raw parameters to include in the 3rd-party request. Encoded as a URL component. eg. raw parameters: foo=bar&zoo=bar -> raw=foo%3Dbar%26zoo%3Dbar' - name: connection_id in: path type: string description: ID of the connection required: true - name: id in: path type: string description: ID of the Lead required: true - name: body in: body type: object description: Request body (JSON). required: true - name: updatecrmlead method: PUT description: Update a lead outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: fields in: query type: array description: Fields to return - name: raw in: query type: string description: 'Raw parameters to include in the 3rd-party request. Encoded as a URL component. eg. raw parameters: foo=bar&zoo=bar -> raw=foo%3Dbar%26zoo%3Dbar' - name: connection_id in: path type: string description: ID of the connection required: true - name: id in: path type: string description: ID of the Lead required: true - name: body in: body type: object description: Request body (JSON). required: true - name: crm-connection_id-pipeline path: /crm/{connection_id}/pipeline operations: - name: listcrmpipelines method: GET description: List all pipelines outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: limit in: query type: number - name: offset in: query type: number - name: updated_gte in: query type: string description: Return only results whose updated date is equal or greater to this value (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format) - name: sort in: query type: string - name: order in: query type: string - name: query in: query type: string description: Query string to search. eg. email address or name - name: fields in: query type: array description: Fields to return - name: raw in: query type: string description: 'Raw parameters to include in the 3rd-party request. Encoded as a URL component. eg. raw parameters: foo=bar&zoo=bar -> raw=foo%3Dbar%26zoo%3Dbar' - name: connection_id in: path type: string description: ID of the connection required: true - name: createcrmpipeline method: POST description: Create a pipeline outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: fields in: query type: array description: Fields to return - name: raw in: query type: string description: 'Raw parameters to include in the 3rd-party request. Encoded as a URL component. eg. raw parameters: foo=bar&zoo=bar -> raw=foo%3Dbar%26zoo%3Dbar' - name: connection_id in: path type: string description: ID of the connection required: true - name: body in: body type: object description: Request body (JSON). required: true - name: crm-connection_id-pipeline-id path: /crm/{connection_id}/pipeline/{id} operations: - name: removecrmpipeline method: DELETE description: Remove a pipeline outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: connection_id in: path type: string description: ID of the connection required: true - name: id in: path type: string description: ID of the Pipeline required: true - name: getcrmpipeline method: GET description: Retrieve a pipeline outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: fields in: query type: array description: Fields to return - name: raw in: query type: string description: 'Raw parameters to include in the 3rd-party request. Encoded as a URL component. eg. raw parameters: foo=bar&zoo=bar -> raw=foo%3Dbar%26zoo%3Dbar' - name: connection_id in: path type: string description: ID of the connection required: true - name: id in: path type: string description: ID of the Pipeline required: true - name: patchcrmpipeline method: PATCH description: Update a pipeline outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: fields in: query type: array description: Fields to return - name: raw in: query type: string description: 'Raw parameters to include in the 3rd-party request. Encoded as a URL component. eg. raw parameters: foo=bar&zoo=bar -> raw=foo%3Dbar%26zoo%3Dbar' - name: connection_id in: path type: string description: ID of the connection required: true - name: id in: path type: string description: ID of the Pipeline required: true - name: body in: body type: object description: Request body (JSON). required: true - name: updatecrmpipeline method: PUT description: Update a pipeline outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: fields in: query type: array description: Fields to return - name: raw in: query type: string description: 'Raw parameters to include in the 3rd-party request. Encoded as a URL component. eg. raw parameters: foo=bar&zoo=bar -> raw=foo%3Dbar%26zoo%3Dbar' - name: connection_id in: path type: string description: ID of the connection required: true - name: id in: path type: string description: ID of the Pipeline required: true - name: body in: body type: object description: Request body (JSON). required: true authentication: type: apikey key: authorization value: '{{env.UNIFIED_TO_API_KEY}}' placement: header exposes: - type: rest namespace: crm-crm-rest port: 8080 description: REST adapter for Unified.to API — crm. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/crm/{connection-id}/company name: crm-connection-id-company description: REST surface for crm-connection_id-company. operations: - method: GET name: listcrmcompanies description: List all companies call: crm-crm.listcrmcompanies with: limit: rest.limit offset: rest.offset updated_gte: rest.updated_gte sort: rest.sort order: rest.order query: rest.query deal_id: rest.deal_id contact_id: rest.contact_id user_id: rest.user_id fields: rest.fields raw: rest.raw connection_id: rest.connection_id outputParameters: - type: object mapping: $. - method: POST name: createcrmcompany description: Create a company call: crm-crm.createcrmcompany with: fields: rest.fields raw: rest.raw connection_id: rest.connection_id body: rest.body outputParameters: - type: object mapping: $. - path: /v1/crm/{connection-id}/company/{id} name: crm-connection-id-company-id description: REST surface for crm-connection_id-company-id. operations: - method: DELETE name: removecrmcompany description: Remove a company call: crm-crm.removecrmcompany with: connection_id: rest.connection_id id: rest.id outputParameters: - type: object mapping: $. - method: GET name: getcrmcompany description: Retrieve a company call: crm-crm.getcrmcompany with: fields: rest.fields raw: rest.raw connection_id: rest.connection_id id: rest.id outputParameters: - type: object mapping: $. - method: PATCH name: patchcrmcompany description: Update a company call: crm-crm.patchcrmcompany with: fields: rest.fields raw: rest.raw connection_id: rest.connection_id id: rest.id body: rest.body outputParameters: - type: object mapping: $. - method: PUT name: updatecrmcompany description: Update a company call: crm-crm.updatecrmcompany with: fields: rest.fields raw: rest.raw connection_id: rest.connection_id id: rest.id body: rest.body outputParameters: - type: object mapping: $. - path: /v1/crm/{connection-id}/contact name: crm-connection-id-contact description: REST surface for crm-connection_id-contact. operations: - method: GET name: listcrmcontacts description: List all contacts call: crm-crm.listcrmcontacts with: limit: rest.limit offset: rest.offset updated_gte: rest.updated_gte sort: rest.sort order: rest.order query: rest.query company_id: rest.company_id deal_id: rest.deal_id user_id: rest.user_id fields: rest.fields raw: rest.raw connection_id: rest.connection_id outputParameters: - type: object mapping: $. - method: POST name: createcrmcontact description: Create a contact call: crm-crm.createcrmcontact with: fields: rest.fields raw: rest.raw connection_id: rest.connection_id body: rest.body outputParameters: - type: object mapping: $. - path: /v1/crm/{connection-id}/contact/{id} name: crm-connection-id-contact-id description: REST surface for crm-connection_id-contact-id. operations: - method: DELETE name: removecrmcontact description: Remove a contact call: crm-crm.removecrmcontact with: connection_id: rest.connection_id id: rest.id outputParameters: - type: object mapping: $. - method: GET name: getcrmcontact description: Retrieve a contact call: crm-crm.getcrmcontact with: fields: rest.fields raw: rest.raw connection_id: rest.connection_id id: rest.id outputParameters: - type: object mapping: $. - method: PATCH name: patchcrmcontact description: Update a contact call: crm-crm.patchcrmcontact with: fields: rest.fields raw: rest.raw connection_id: rest.connection_id id: rest.id body: rest.body outputParameters: - type: object mapping: $. - method: PUT name: updatecrmcontact description: Update a contact call: crm-crm.updatecrmcontact with: fields: rest.fields raw: rest.raw connection_id: rest.connection_id id: rest.id body: rest.body outputParameters: - type: object mapping: $. - path: /v1/crm/{connection-id}/deal name: crm-connection-id-deal description: REST surface for crm-connection_id-deal. operations: - method: GET name: listcrmdeals description: List all deals call: crm-crm.listcrmdeals with: limit: rest.limit offset: rest.offset updated_gte: rest.updated_gte sort: rest.sort order: rest.order query: rest.query company_id: rest.company_id contact_id: rest.contact_id user_id: rest.user_id pipeline_id: rest.pipeline_id fields: rest.fields raw: rest.raw connection_id: rest.connection_id outputParameters: - type: object mapping: $. - method: POST name: createcrmdeal description: Create a deal call: crm-crm.createcrmdeal with: fields: rest.fields raw: rest.raw connection_id: rest.connection_id body: rest.body outputParameters: - type: object mapping: $. - path: /v1/crm/{connection-id}/deal/{id} name: crm-connection-id-deal-id description: REST surface for crm-connection_id-deal-id. operations: - method: DELETE name: removecrmdeal description: Remove a deal call: crm-crm.removecrmdeal with: connection_id: rest.connection_id id: rest.id outputParameters: - type: object mapping: $. - method: GET name: getcrmdeal description: Retrieve a deal call: crm-crm.getcrmdeal with: fields: rest.fields raw: rest.raw connection_id: rest.connection_id id: rest.id outputParameters: - type: object mapping: $. - method: PATCH name: patchcrmdeal description: Update a deal call: crm-crm.patchcrmdeal with: fields: rest.fields raw: rest.raw connection_id: rest.connection_id id: rest.id body: rest.body outputParameters: - type: object mapping: $. - method: PUT name: updatecrmdeal description: Update a deal call: crm-crm.updatecrmdeal with: fields: rest.fields raw: rest.raw connection_id: rest.connection_id id: rest.id body: rest.body outputParameters: - type: object mapping: $. - path: /v1/crm/{connection-id}/event name: crm-connection-id-event description: REST surface for crm-connection_id-event. operations: - method: GET name: listcrmevents description: List all events call: crm-crm.listcrmevents with: limit: rest.limit offset: rest.offset updated_gte: rest.updated_gte sort: rest.sort order: rest.order query: rest.query deal_id: rest.deal_id contact_id: rest.contact_id company_id: rest.company_id user_id: rest.user_id type: rest.type lead_id: rest.lead_id fields: rest.fields raw: rest.raw connection_id: rest.connection_id outputParameters: - type: object mapping: $. - method: POST name: createcrmevent description: Create an event call: crm-crm.createcrmevent with: fields: rest.fields raw: rest.raw connection_id: rest.connection_id body: rest.body outputParameters: - type: object mapping: $. - path: /v1/crm/{connection-id}/event/{id} name: crm-connection-id-event-id description: REST surface for crm-connection_id-event-id. operations: - method: DELETE name: removecrmevent description: Remove an event call: crm-crm.removecrmevent with: connection_id: rest.connection_id id: rest.id outputParameters: - type: object mapping: $. - method: GET name: getcrmevent description: Retrieve an event call: crm-crm.getcrmevent with: fields: rest.fields raw: rest.raw connection_id: rest.connection_id id: rest.id outputParameters: - type: object mapping: $. - method: PATCH name: patchcrmevent description: Update an event call: crm-crm.patchcrmevent with: fields: rest.fields raw: rest.raw connection_id: rest.connection_id id: rest.id body: rest.body outputParameters: - type: object mapping: $. - method: PUT name: updatecrmevent description: Update an event call: crm-crm.updatecrmevent with: fields: rest.fields raw: rest.raw connection_id: rest.connection_id id: rest.id body: rest.body outputParameters: - type: object mapping: $. - path: /v1/crm/{connection-id}/lead name: crm-connection-id-lead description: REST surface for crm-connection_id-lead. operations: - method: GET name: listcrmleads description: List all leads call: crm-crm.listcrmleads with: limit: rest.limit offset: rest.offset updated_gte: rest.updated_gte sort: rest.sort order: rest.order query: rest.query company_id: rest.company_id contact_id: rest.contact_id user_id: rest.user_id fields: rest.fields raw: rest.raw connection_id: rest.connection_id outputParameters: - type: object mapping: $. - method: POST name: createcrmlead description: Create a lead call: crm-crm.createcrmlead with: fields: rest.fields raw: rest.raw connection_id: rest.connection_id body: rest.body outputParameters: - type: object mapping: $. - path: /v1/crm/{connection-id}/lead/{id} name: crm-connection-id-lead-id description: REST surface for crm-connection_id-lead-id. operations: - method: DELETE name: removecrmlead description: Remove a lead call: crm-crm.removecrmlead with: connection_id: rest.connection_id id: rest.id outputParameters: - type: object mapping: $. - method: GET name: getcrmlead description: Retrieve a lead call: crm-crm.getcrmlead with: fields: rest.fields raw: rest.raw connection_id: rest.connection_id id: rest.id outputParameters: - type: object mapping: $. - method: PATCH name: patchcrmlead description: Update a lead call: crm-crm.patchcrmlead with: fields: rest.fields raw: rest.raw connection_id: rest.connection_id id: rest.id body: rest.body outputParameters: - type: object mapping: $. - method: PUT name: updatecrmlead description: Update a lead call: crm-crm.updatecrmlead with: fields: rest.fields raw: rest.raw connection_id: rest.connection_id id: rest.id body: rest.body outputParameters: - type: object mapping: $. - path: /v1/crm/{connection-id}/pipeline name: crm-connection-id-pipeline description: REST surface for crm-connection_id-pipeline. operations: - method: GET name: listcrmpipelines description: List all pipelines call: crm-crm.listcrmpipelines with: limit: rest.limit offset: rest.offset updated_gte: rest.updated_gte sort: rest.sort order: rest.order query: rest.query fields: rest.fields raw: rest.raw connection_id: rest.connection_id outputParameters: - type: object mapping: $. - method: POST name: createcrmpipeline description: Create a pipeline call: crm-crm.createcrmpipeline with: fields: rest.fields raw: rest.raw connection_id: rest.connection_id body: rest.body outputParameters: - type: object mapping: $. - path: /v1/crm/{connection-id}/pipeline/{id} name: crm-connection-id-pipeline-id description: REST surface for crm-connection_id-pipeline-id. operations: - method: DELETE name: removecrmpipeline description: Remove a pipeline call: crm-crm.removecrmpipeline with: connection_id: rest.connection_id id: rest.id outputParameters: - type: object mapping: $. - method: GET name: getcrmpipeline description: Retrieve a pipeline call: crm-crm.getcrmpipeline with: fields: rest.fields raw: rest.raw connection_id: rest.connection_id id: rest.id outputParameters: - type: object mapping: $. - method: PATCH name: patchcrmpipeline description: Update a pipeline call: crm-crm.patchcrmpipeline with: fields: rest.fields raw: rest.raw connection_id: rest.connection_id id: rest.id body: rest.body outputParameters: - type: object mapping: $. - method: PUT name: updatecrmpipeline description: Update a pipeline call: crm-crm.updatecrmpipeline with: fields: rest.fields raw: rest.raw connection_id: rest.connection_id id: rest.id body: rest.body outputParameters: - type: object mapping: $. - type: mcp namespace: crm-crm-mcp port: 9090 transport: http description: MCP adapter for Unified.to API — crm. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: list-all-companies description: List all companies hints: readOnly: true destructive: false idempotent: true call: crm-crm.listcrmcompanies with: limit: tools.limit offset: tools.offset updated_gte: tools.updated_gte sort: tools.sort order: tools.order query: tools.query deal_id: tools.deal_id contact_id: tools.contact_id user_id: tools.user_id fields: tools.fields raw: tools.raw connection_id: tools.connection_id outputParameters: - type: object mapping: $. - name: create-company description: Create a company hints: readOnly: false destructive: false idempotent: false call: crm-crm.createcrmcompany with: fields: tools.fields raw: tools.raw connection_id: tools.connection_id body: tools.body outputParameters: - type: object mapping: $. - name: remove-company description: Remove a company hints: readOnly: false destructive: true idempotent: true call: crm-crm.removecrmcompany with: connection_id: tools.connection_id id: tools.id outputParameters: - type: object mapping: $. - name: retrieve-company description: Retrieve a company hints: readOnly: true destructive: false idempotent: true call: crm-crm.getcrmcompany with: fields: tools.fields raw: tools.raw connection_id: tools.connection_id id: tools.id outputParameters: - type: object mapping: $. - name: update-company description: Update a company hints: readOnly: false destructive: false idempotent: true call: crm-crm.patchcrmcompany with: fields: tools.fields raw: tools.raw connection_id: tools.connection_id id: tools.id body: tools.body outputParameters: - type: object mapping: $. - name: update-company-2 description: Update a company hints: readOnly: false destructive: false idempotent: true call: crm-crm.updatecrmcompany with: fields: tools.fields raw: tools.raw connection_id: tools.connection_id id: tools.id body: tools.body outputParameters: - type: object mapping: $. - name: list-all-contacts description: List all contacts hints: readOnly: true destructive: false idempotent: true call: crm-crm.listcrmcontacts with: limit: tools.limit offset: tools.offset updated_gte: tools.updated_gte sort: tools.sort order: tools.order query: tools.query company_id: tools.company_id deal_id: tools.deal_id user_id: tools.user_id fields: tools.fields raw: tools.raw connection_id: tools.connection_id outputParameters: - type: object mapping: $. - name: create-contact description: Create a contact hints: readOnly: false destructive: false idempotent: false call: crm-crm.createcrmcontact with: fields: tools.fields raw: tools.raw connection_id: tools.connection_id body: tools.body outputParameters: - type: object mapping: $. - name: remove-contact description: Remove a contact hints: readOnly: false destructive: true idempotent: true call: crm-crm.removecrmcontact with: connection_id: tools.connection_id id: tools.id outputParameters: - type: object mapping: $. - name: retrieve-contact description: Retrieve a contact hints: readOnly: true destructive: false idempotent: true call: crm-crm.getcrmcontact with: fields: tools.fields raw: tools.raw connection_id: tools.connection_id id: tools.id outputParameters: - type: object mapping: $. - name: update-contact description: Update a contact hints: readOnly: false destructive: false idempotent: true call: crm-crm.patchcrmcontact with: fields: tools.fields raw: tools.raw connection_id: tools.connection_id id: tools.id body: tools.body outputParameters: - type: object mapping: $. - name: update-contact-2 description: Update a contact hints: readOnly: false destructive: false idempotent: true call: crm-crm.updatecrmcontact with: fields: tools.fields raw: tools.raw connection_id: tools.connection_id id: tools.id body: tools.body outputParameters: - type: object mapping: $. - name: list-all-deals description: List all deals hints: readOnly: true destructive: false idempotent: true call: crm-crm.listcrmdeals with: limit: tools.limit offset: tools.offset updated_gte: tools.updated_gte sort: tools.sort order: tools.order query: tools.query company_id: tools.company_id contact_id: tools.contact_id user_id: tools.user_id pipeline_id: tools.pipeline_id fields: tools.fields raw: tools.raw connection_id: tools.connection_id outputParameters: - type: object mapping: $. - name: create-deal description: Create a deal hints: readOnly: false destructive: false idempotent: false call: crm-crm.createcrmdeal with: fields: tools.fields raw: tools.raw connection_id: tools.connection_id body: tools.body outputParameters: - type: object mapping: $. - name: remove-deal description: Remove a deal hints: readOnly: false destructive: true idempotent: true call: crm-crm.removecrmdeal with: connection_id: tools.connection_id id: tools.id outputParameters: - type: object mapping: $. - name: retrieve-deal description: Retrieve a deal hints: readOnly: true destructive: false idempotent: true call: crm-crm.getcrmdeal with: fields: tools.fields raw: tools.raw connection_id: tools.connection_id id: tools.id outputParameters: - type: object mapping: $. - name: update-deal description: Update a deal hints: readOnly: false destructive: false idempotent: true call: crm-crm.patchcrmdeal with: fields: tools.fields raw: tools.raw connection_id: tools.connection_id id: tools.id body: tools.body outputParameters: - type: object mapping: $. - name: update-deal-2 description: Update a deal hints: readOnly: false destructive: false idempotent: true call: crm-crm.updatecrmdeal with: fields: tools.fields raw: tools.raw connection_id: tools.connection_id id: tools.id body: tools.body outputParameters: - type: object mapping: $. - name: list-all-events description: List all events hints: readOnly: true destructive: false idempotent: true call: crm-crm.listcrmevents with: limit: tools.limit offset: tools.offset updated_gte: tools.updated_gte sort: tools.sort order: tools.order query: tools.query deal_id: tools.deal_id contact_id: tools.contact_id company_id: tools.company_id user_id: tools.user_id type: tools.type lead_id: tools.lead_id fields: tools.fields raw: tools.raw connection_id: tools.connection_id outputParameters: - type: object mapping: $. - name: create-event description: Create an event hints: readOnly: false destructive: false idempotent: false call: crm-crm.createcrmevent with: fields: tools.fields raw: tools.raw connection_id: tools.connection_id body: tools.body outputParameters: - type: object mapping: $. - name: remove-event description: Remove an event hints: readOnly: false destructive: true idempotent: true call: crm-crm.removecrmevent with: connection_id: tools.connection_id id: tools.id outputParameters: - type: object mapping: $. - name: retrieve-event description: Retrieve an event hints: readOnly: true destructive: false idempotent: true call: crm-crm.getcrmevent with: fields: tools.fields raw: tools.raw connection_id: tools.connection_id id: tools.id outputParameters: - type: object mapping: $. - name: update-event description: Update an event hints: readOnly: false destructive: false idempotent: true call: crm-crm.patchcrmevent with: fields: tools.fields raw: tools.raw connection_id: tools.connection_id id: tools.id body: tools.body outputParameters: - type: object mapping: $. - name: update-event-2 description: Update an event hints: readOnly: false destructive: false idempotent: true call: crm-crm.updatecrmevent with: fields: tools.fields raw: tools.raw connection_id: tools.connection_id id: tools.id body: tools.body outputParameters: - type: object mapping: $. - name: list-all-leads description: List all leads hints: readOnly: true destructive: false idempotent: true call: crm-crm.listcrmleads with: limit: tools.limit offset: tools.offset updated_gte: tools.updated_gte sort: tools.sort order: tools.order query: tools.query company_id: tools.company_id contact_id: tools.contact_id user_id: tools.user_id fields: tools.fields raw: tools.raw connection_id: tools.connection_id outputParameters: - type: object mapping: $. - name: create-lead description: Create a lead hints: readOnly: false destructive: false idempotent: false call: crm-crm.createcrmlead with: fields: tools.fields raw: tools.raw connection_id: tools.connection_id body: tools.body outputParameters: - type: object mapping: $. - name: remove-lead description: Remove a lead hints: readOnly: false destructive: true idempotent: true call: crm-crm.removecrmlead with: connection_id: tools.connection_id id: tools.id outputParameters: - type: object mapping: $. - name: retrieve-lead description: Retrieve a lead hints: readOnly: true destructive: false idempotent: true call: crm-crm.getcrmlead with: fields: tools.fields raw: tools.raw connection_id: tools.connection_id id: tools.id outputParameters: - type: object mapping: $. - name: update-lead description: Update a lead hints: readOnly: false destructive: false idempotent: true call: crm-crm.patchcrmlead with: fields: tools.fields raw: tools.raw connection_id: tools.connection_id id: tools.id body: tools.body outputParameters: - type: object mapping: $. - name: update-lead-2 description: Update a lead hints: readOnly: false destructive: false idempotent: true call: crm-crm.updatecrmlead with: fields: tools.fields raw: tools.raw connection_id: tools.connection_id id: tools.id body: tools.body outputParameters: - type: object mapping: $. - name: list-all-pipelines description: List all pipelines hints: readOnly: true destructive: false idempotent: true call: crm-crm.listcrmpipelines with: limit: tools.limit offset: tools.offset updated_gte: tools.updated_gte sort: tools.sort order: tools.order query: tools.query fields: tools.fields raw: tools.raw connection_id: tools.connection_id outputParameters: - type: object mapping: $. - name: create-pipeline description: Create a pipeline hints: readOnly: false destructive: false idempotent: false call: crm-crm.createcrmpipeline with: fields: tools.fields raw: tools.raw connection_id: tools.connection_id body: tools.body outputParameters: - type: object mapping: $. - name: remove-pipeline description: Remove a pipeline hints: readOnly: false destructive: true idempotent: true call: crm-crm.removecrmpipeline with: connection_id: tools.connection_id id: tools.id outputParameters: - type: object mapping: $. - name: retrieve-pipeline description: Retrieve a pipeline hints: readOnly: true destructive: false idempotent: true call: crm-crm.getcrmpipeline with: fields: tools.fields raw: tools.raw connection_id: tools.connection_id id: tools.id outputParameters: - type: object mapping: $. - name: update-pipeline description: Update a pipeline hints: readOnly: false destructive: false idempotent: true call: crm-crm.patchcrmpipeline with: fields: tools.fields raw: tools.raw connection_id: tools.connection_id id: tools.id body: tools.body outputParameters: - type: object mapping: $. - name: update-pipeline-2 description: Update a pipeline hints: readOnly: false destructive: false idempotent: true call: crm-crm.updatecrmpipeline with: fields: tools.fields raw: tools.raw connection_id: tools.connection_id id: tools.id body: tools.body outputParameters: - type: object mapping: $.