# loginWithCode

## OpenAPI Specification

```yaml
openapi: 3.0.1
info:
  title: ''
  description: ''
  version: 1.0.0
paths:
  /module/loginWithCode/SrviceAPIKEY:
    get:
      summary: loginWithCode
      deprecated: false
      description: >-
        This endpoint is used to **log in a WhatsApp account** by generating a
        unique pairing code.


        When this API is called, a **login request** is automatically sent to
        the WhatsApp application on the device associated with the provided
        phone number.


        The user must then **enter the pairing code (pairCode)** shown in the
        API response **inside their WhatsApp mobile app** to complete the login
        process successfully.
      tags:
        - Partner
      parameters:
        - name: phoneNumber
          in: query
          description: ''
          required: true
          example: '44740073341'
          schema:
            type: string
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    type: string
                  message:
                    type: string
                  pairCode:
                    type: string
                  apiKey:
                    type: string
                required:
                  - status
                  - message
                  - pairCode
                  - apiKey
                x-apidog-orders:
                  - status
                  - message
                  - pairCode
                  - apiKey
              example:
                status: 'true'
                message: Success
                pairCode: D2Z8-9ZRY
                apiKey: ServiceApiKey
          headers: {}
          x-apidog-name: loginWithCode
      security: []
      x-apidog-folder: Partner
      x-apidog-status: released
      x-run-in-apidog: https://app.apidog.com/web/project/545232/apis/api-23335395-run
components:
  schemas: {}
  securitySchemes: {}
servers:
  - url: https://api.whatsiplus.com
    description: WhatsApp API - WhatsiPlus Documentation
security: []

```
