> ## Documentation Index
> Fetch the complete documentation index at: https://docs.base39.com.br/llms.txt
> Use this file to discover all available pages before exploring further.

# Confirm WhatsApp verification

> Confirms a WhatsApp verification code from the signed Meta webhook.



## OpenAPI

````yaml /api-reference/openapi.json post /v2/users/whatsapp-verification/confirm
openapi: 3.1.0
info:
  title: Base39 API
  description: Base39 API
  version: 1.0.0
  contact:
    name: Base39 Team
    url: https://base39.com.br
    email: suporte@base39.com.br
  termsOfService: https://base39.com.br/termos
  license:
    name: Proprietary
    url: https://base39.com.br/termos
servers:
  - url: http://localhost:3000
    description: Local
  - url: https://api.dev.base39.cloud
    description: Development
  - url: https://api.base39.com.br
    description: Production
security:
  - OAuth2: []
tags:
  - name: pages
    description: Profiles and reports pages
  - name: pipelines
    description: Pipeline boards (kanban) of pages
  - name: blocks
    description: Blocks operations
  - name: search
    description: Search across content
  - name: targets
    description: Lookup targets via datasets
  - name: CognitoTriggers
    description: Cognito triggers
paths:
  /v2/users/whatsapp-verification/confirm:
    post:
      tags:
        - users
      summary: Confirm WhatsApp verification
      description: Confirms a WhatsApp verification code from the signed Meta webhook.
      operationId: user_confirm_whatsapp_verification
      parameters: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ConfirmWhatsappVerificationInput'
      responses:
        '201':
          description: WhatsApp verification confirmed
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ConfirmWhatsappVerificationOutput'
        '400':
          description: Invalid or expired code
        '409':
          description: WhatsApp already linked to another user
components:
  schemas:
    ConfirmWhatsappVerificationInput:
      type: object
      properties:
        code:
          type: string
          example: '#B-12345678'
        businessScopedUserId:
          type: string
          example: >-
            user.9373795779eb6441c8adb2eaee5b848e7dd174ddd302d7db62142f4722d574b6
        waId:
          type: string
          example: '5511999999999'
          nullable: true
        username:
          type: string
          example: '@usuario'
          nullable: true
        countryCode:
          type: string
          example: BR
          nullable: true
        profileName:
          type: string
          example: Maria Silva
          nullable: true
        phoneNumberId:
          type: string
          example: '123456789012345'
      required:
        - code
        - businessScopedUserId
        - phoneNumberId
    ConfirmWhatsappVerificationOutput:
      type: object
      properties:
        status:
          type: string
          example: confirmed
      required:
        - status
  securitySchemes:
    OAuth2:
      type: oauth2
      flows:
        authorizationCode:
          authorizationUrl: https://id.local.base39.cloud/oauth2/authorize
          tokenUrl: https://id.local.base39.cloud/oauth2/token
          scopes:
            profile: Read user profile
            email: Read user email
            openid: OpenID authentication
      description: OAuth2 Authorization Code flow

````