WhatsApp · Capability

WhatsApp Cloud API — Business Profile

WhatsApp Cloud API — Business Profile. 2 operations. Lead operation: WhatsApp Get Business Profile. Self-contained Naftiko capability covering one Whatsapp business surface.

Run with Naftiko WhatsappBusiness Profile

What You Can Do

GET
Getbusinessprofile — WhatsApp Get Business Profile
/v1/{phone-number-id}/whatsapp-business-profile
POST
Updatebusinessprofile — WhatsApp Update Business Profile
/v1/{phone-number-id}/whatsapp-business-profile

MCP Tools

whatsapp-get-business-profile

WhatsApp Get Business Profile

read-only idempotent
whatsapp-update-business-profile

WhatsApp Update Business Profile

Capability Spec

cloud-business-profile.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: WhatsApp Cloud API — Business Profile
  description: 'WhatsApp Cloud API — Business Profile. 2 operations. Lead operation: WhatsApp Get Business Profile. Self-contained
    Naftiko capability covering one Whatsapp business surface.'
  tags:
  - Whatsapp
  - Business Profile
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    WHATSAPP_API_KEY: WHATSAPP_API_KEY
capability:
  consumes:
  - type: http
    namespace: cloud-business-profile
    baseUri: https://graph.facebook.com/v21.0
    description: WhatsApp Cloud API — Business Profile business capability. Self-contained, no shared references.
    resources:
    - name: phone-number-id-whatsapp_business_profile
      path: /{phone-number-id}/whatsapp_business_profile
      operations:
      - name: getbusinessprofile
        method: GET
        description: WhatsApp Get Business Profile
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: fields
          in: query
          type: string
          description: Comma-separated fields to return
          required: true
      - name: updatebusinessprofile
        method: POST
        description: WhatsApp Update Business Profile
        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: cloud-business-profile-rest
    port: 8080
    description: REST adapter for WhatsApp Cloud API — Business Profile. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - path: /v1/{phone-number-id}/whatsapp-business-profile
      name: phone-number-id-whatsapp-business-profile
      description: REST surface for phone-number-id-whatsapp_business_profile.
      operations:
      - method: GET
        name: getbusinessprofile
        description: WhatsApp Get Business Profile
        call: cloud-business-profile.getbusinessprofile
        with:
          fields: rest.fields
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: updatebusinessprofile
        description: WhatsApp Update Business Profile
        call: cloud-business-profile.updatebusinessprofile
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: cloud-business-profile-mcp
    port: 9090
    transport: http
    description: MCP adapter for WhatsApp Cloud API — Business Profile. One tool per consumed operation, routed inline through
      this capability's consumes block.
    tools:
    - name: whatsapp-get-business-profile
      description: WhatsApp Get Business Profile
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: cloud-business-profile.getbusinessprofile
      with:
        fields: tools.fields
      outputParameters:
      - type: object
        mapping: $.
    - name: whatsapp-update-business-profile
      description: WhatsApp Update Business Profile
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: cloud-business-profile.updatebusinessprofile
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.