naftiko: 1.0.0-alpha2 info: label: WhatsApp Business Management API — Assigned Users description: 'WhatsApp Business Management API — Assigned Users. 3 operations. Lead operation: WhatsApp List Assigned Users. Self-contained Naftiko capability covering one Whatsapp business surface.' tags: - Whatsapp - Assigned Users created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: WHATSAPP_API_KEY: WHATSAPP_API_KEY capability: consumes: - type: http namespace: business-management-assigned-users baseUri: https://graph.facebook.com/v21.0 description: WhatsApp Business Management API — Assigned Users business capability. Self-contained, no shared references. resources: - name: waba-id-assigned_users path: /{waba-id}/assigned_users operations: - name: listassignedusers method: GET description: WhatsApp List Assigned Users outputRawFormat: json outputParameters: - name: result type: object value: $. - name: assignuser method: POST description: WhatsApp Assign User to WABA outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: removeassigneduser method: DELETE description: WhatsApp Remove Assigned User outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true authentication: type: bearer token: '{{env.WHATSAPP_API_KEY}}' exposes: - type: rest namespace: business-management-assigned-users-rest port: 8080 description: REST adapter for WhatsApp Business Management API — Assigned Users. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/{waba-id}/assigned-users name: waba-id-assigned-users description: REST surface for waba-id-assigned_users. operations: - method: GET name: listassignedusers description: WhatsApp List Assigned Users call: business-management-assigned-users.listassignedusers outputParameters: - type: object mapping: $. - method: POST name: assignuser description: WhatsApp Assign User to WABA call: business-management-assigned-users.assignuser with: body: rest.body outputParameters: - type: object mapping: $. - method: DELETE name: removeassigneduser description: WhatsApp Remove Assigned User call: business-management-assigned-users.removeassigneduser with: body: rest.body outputParameters: - type: object mapping: $. - type: mcp namespace: business-management-assigned-users-mcp port: 9090 transport: http description: MCP adapter for WhatsApp Business Management API — Assigned Users. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: whatsapp-list-assigned-users description: WhatsApp List Assigned Users hints: readOnly: true destructive: false idempotent: true call: business-management-assigned-users.listassignedusers outputParameters: - type: object mapping: $. - name: whatsapp-assign-user-waba description: WhatsApp Assign User to WABA hints: readOnly: false destructive: false idempotent: false call: business-management-assigned-users.assignuser with: body: tools.body outputParameters: - type: object mapping: $. - name: whatsapp-remove-assigned-user description: WhatsApp Remove Assigned User hints: readOnly: false destructive: true idempotent: true call: business-management-assigned-users.removeassigneduser with: body: tools.body outputParameters: - type: object mapping: $.