> ## 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.

# Validate WhatsApp Cloud credentials

> Checks the credentials against the WhatsApp Cloud API and returns what the inbox would be connected to, without creating anything.



## OpenAPI

````yaml /openapi/application.json post /api/v1/accounts/{account_id}/whatsapp/manual/preview
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/manual/preview:
    parameters:
      - $ref: '#/components/parameters/account_id'
        schema:
          type: string
        example: sample
    post:
      tags:
        - Inboxes
      summary: Validate WhatsApp Cloud credentials
      description: >-
        Checks the credentials against the WhatsApp Cloud API and returns what
        the inbox would be connected to, without creating anything.
      operationId: preview-whatsapp-manual-setup
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/whatsapp_manual_setup_payload'
            example:
              waba_id: '104938562847362'
              phone_number_id: '118273645098234'
              access_token: EAAG7ZChZBx0YBO...
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
              example:
                id: 1
                message: Resource saved successfully
        '401':
          description: Unauthorized.
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
              example:
                error: Unauthorized
        '422':
          description: The credentials were refused by the WhatsApp Cloud API.
          content:
            application/json:
              schema:
                type: object
                properties:
                  message:
                    type: string
                  attributes:
                    type: array
                    items:
                      type: string
              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
  schemas:
    whatsapp_manual_setup_payload:
      type: object
      required:
        - waba_id
        - phone_number_id
        - access_token
      description: >-
        Credentials of a WhatsApp Cloud number, taken from the Meta app
        dashboard.
      properties:
        waba_id:
          type: string
          description: WhatsApp Business Account id.
          example: '104938562847362'
        phone_number_id:
          type: string
          description: Id of the phone number inside that account.
          example: '118273645098234'
        access_token:
          type: string
          description: Permanent system user token with whatsapp_business_messaging access.
          example: EAAG7ZChZBx0YBO...
  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.