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