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

# Verify WhatsApp phone ownership

> Verifies ownership using the six-digit code received by SMS or voice. This does not register the phone or change its two-step verification PIN. After verification, complete registration separately. Requires inbox update permission; coexistence numbers do not use this flow.



## OpenAPI

````yaml /openapi/application.json post /api/v1/accounts/{account_id}/whatsapp/phone_registrations/verify_code
openapi: 3.1.0
info:
  title: WiseApp API — Aplicação
  description: >-
    Referência completa da API do WiseApp: plataforma (provisionamento),
    aplicação (conta), cliente (canais públicos) e MCP.
  version: 1.1.0
servers:
  - url: https://chat.wiseapp360.com
    description: Sua instalação WiseApp
security: []
paths:
  /api/v1/accounts/{account_id}/whatsapp/phone_registrations/verify_code:
    parameters:
      - $ref: '#/components/parameters/account_id'
        schema:
          type: string
        example: sample
    post:
      tags:
        - Inboxes
      summary: Verify WhatsApp phone ownership
      description: >-
        Verifies ownership using the six-digit code received by SMS or voice.
        This does not register the phone or change its two-step verification
        PIN. After verification, complete registration separately. Requires
        inbox update permission; coexistence numbers do not use this flow.
      operationId: post-api-v1-accounts-account-id-whatsapp-phone-registrations-verify-code
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
                - inbox_id
                - code
              properties:
                inbox_id:
                  type: integer
                  example: 1
                code:
                  type: string
                  pattern: ^[0-9]{6}$
                  example: '123830'
            example:
              inbox_id: 1
              code: '123830'
      responses:
        '200':
          description: Operation completed
          content:
            application/json:
              schema:
                type: object
                properties:
                  success:
                    type: boolean
                  status:
                    type: string
                  message:
                    type: string
              example:
                success: true
                status: verified
                message: Phone number verified
        '401':
          description: Authentication or inbox update permission required
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
              example:
                error: Unauthorized
        '403':
          description: Account API access disabled
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
              example:
                error: Forbidden
        '404':
          description: Inbox not found in this account
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
              example:
                error: Resource not found
        '422':
          description: Invalid input, unsupported channel, or Meta rejection
          content:
            application/json:
              schema:
                type: object
                properties:
                  success:
                    type: boolean
                  error:
                    type: string
                  error_code:
                    type: string
                  can_request_new_code:
                    type: boolean
              example:
                message: Validation failed
                attributes:
                  - name cannot be blank
      security:
        - userApiKey: []
components:
  parameters:
    account_id:
      in: path
      name: account_id
      schema:
        type: integer
      required: true
      description: The numeric ID of the account
  securitySchemes:
    userApiKey:
      type: apiKey
      in: header
      name: api_access_token
      description: >-
        Token de acesso do usuário (Perfil → Token de acesso). Dá acesso
        conforme o papel do usuário e age em nome dele.

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.