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

# Resolve the conversation of a Wavoip call

> Returns the conversation of the given phone number in this inbox, creating the contact and the conversation when the call comes from a number that is not known yet.



## OpenAPI

````yaml /openapi/application.json post /api/v1/accounts/{account_id}/inboxes/{inbox_id}/wavoip/conversation
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}/inboxes/{inbox_id}/wavoip/conversation:
    parameters:
      - $ref: '#/components/parameters/account_id'
        schema:
          type: string
        example: sample
      - $ref: '#/components/parameters/inbox_id'
        schema:
          type: string
        example: sample
    post:
      tags:
        - Inboxes
      summary: Resolve the conversation of a Wavoip call
      description: >-
        Returns the conversation of the given phone number in this inbox,
        creating the contact and the conversation when the call comes from a
        number that is not known yet.
      operationId: resolve-wavoip-conversation
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
                - phone
              properties:
                phone:
                  type: string
                  description: Phone number of the other party, in international format.
                  example: '+5491122334455'
            example:
              phone: '+5491122334455'
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                type: object
                properties:
                  conversation_id:
                    type: integer
                    example: 42
              example:
                conversation_id: 42
        '401':
          description: Unauthorized.
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
              example:
                error: Unauthorized
        '404':
          description: Inbox not found.
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
              example:
                error: Resource not found
        '422':
          description: The phone number is missing or cannot be resolved.
          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
    inbox_id:
      in: path
      name: inbox_id
      schema:
        type: integer
      required: true
      description: The ID of the Inbox
  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.