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