Chat Controller

WhatsApp Numbers

Changed on

Check if numbers are on WhatsApp

post/chat/whatsappNumbers/{instance}

Request

  • Base URL
    https://evolution-example
  • URL
    https://evolution-example/chat/whatsappNumbers/{instance}
  • Auth
    API key in header apikey

Path parameters

instancestring required

Name of the instance

Request body

numbersstring[]

Phone numbers (with country code) to be checked

Response

Ok

existsboolean

Indicates whether the WhatsApp account exists.

jidstring

The JID of the WhatsApp account.

numberstring

The phone number associated with the WhatsApp account.

Example response

[
  {
    "exists": true,
    "jid": "553198296801@s.whatsapp.net",
    "number": "553198296801"
  }
]

Changes

    • info

      api operation id whatsappNumbers was added

    • info

      the endpoint scheme security ApiKeyAuth was added to the API

    • info

      api tag Chat Controller added

    • info

      api tag Chat removed

    • info

      added the new optional request property

    • warning

      removed the request property

    • info

      api operation id whatsappNumbers removed and replaced with

    • info

      the endpoint scheme security ApiKeyAuth was removed from the API

    • info

      api tag Chat added

    • info

      api tag Chat Controller removed