naftiko: 1.0.0-alpha2 info: label: Apideck CRM API — Companies description: 'Apideck CRM API — Companies. 5 operations. Lead operation: Apideck List companies. Self-contained Naftiko capability covering one Apideck business surface.' tags: - Apideck - Companies created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: APIDECK_API_KEY: APIDECK_API_KEY capability: consumes: - type: http namespace: crm-companies baseUri: https://unify.apideck.com description: Apideck CRM API — Companies business capability. Self-contained, no shared references. resources: - name: crm-companies path: /crm/companies operations: - name: companiesall method: GET description: Apideck List companies outputRawFormat: json outputParameters: - name: result type: object value: $. - name: companiesadd method: POST description: Apideck Create company outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: crm-companies-id path: /crm/companies/{id} operations: - name: companiesone method: GET description: Apideck Get company outputRawFormat: json outputParameters: - name: result type: object value: $. - name: companiesupdate method: PATCH description: Apideck Update company outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: companiesdelete method: DELETE description: Apideck Delete company outputRawFormat: json outputParameters: - name: result type: object value: $. authentication: type: apikey key: Authorization value: '{{env.APIDECK_API_KEY}}' placement: header exposes: - type: rest namespace: crm-companies-rest port: 8080 description: REST adapter for Apideck CRM API — Companies. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/crm/companies name: crm-companies description: REST surface for crm-companies. operations: - method: GET name: companiesall description: Apideck List companies call: crm-companies.companiesall outputParameters: - type: object mapping: $. - method: POST name: companiesadd description: Apideck Create company call: crm-companies.companiesadd with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/crm/companies/{id} name: crm-companies-id description: REST surface for crm-companies-id. operations: - method: GET name: companiesone description: Apideck Get company call: crm-companies.companiesone outputParameters: - type: object mapping: $. - method: PATCH name: companiesupdate description: Apideck Update company call: crm-companies.companiesupdate with: body: rest.body outputParameters: - type: object mapping: $. - method: DELETE name: companiesdelete description: Apideck Delete company call: crm-companies.companiesdelete outputParameters: - type: object mapping: $. - type: mcp namespace: crm-companies-mcp port: 9090 transport: http description: MCP adapter for Apideck CRM API — Companies. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: apideck-list-companies description: Apideck List companies hints: readOnly: true destructive: false idempotent: true call: crm-companies.companiesall outputParameters: - type: object mapping: $. - name: apideck-create-company description: Apideck Create company hints: readOnly: false destructive: false idempotent: false call: crm-companies.companiesadd with: body: tools.body outputParameters: - type: object mapping: $. - name: apideck-get-company description: Apideck Get company hints: readOnly: true destructive: false idempotent: true call: crm-companies.companiesone outputParameters: - type: object mapping: $. - name: apideck-update-company description: Apideck Update company hints: readOnly: false destructive: false idempotent: true call: crm-companies.companiesupdate with: body: tools.body outputParameters: - type: object mapping: $. - name: apideck-delete-company description: Apideck Delete company hints: readOnly: false destructive: true idempotent: true call: crm-companies.companiesdelete outputParameters: - type: object mapping: $.