✨ Subscripe Now ✨ Unlock 2025 with Pro Plan for just €1
  • Support
  • Community
    LoginStart Free
    🎁 Get 1 year of Wawp Pro for just $12 Use coupon: 12MW

    WhatsApp API Documentation

    Wawp WhatsApp API allows you to send WhatsApp messages, with no approval and waiting to activate.

    How to Use

    To Get started using Wawp WhatsApp, you can follow our 3 simple steps:

    1. Create a new account on https://wawp.net/signup.
    2. Connect your WhatsApp by scanning the QR code on https://wawp.net/account/connect.
    3. Copy your instance id and access token.

    1. Instance Api

    POST Create Instance

    Create a new Instance ID

    https://app.wawp.net/api/create_instance?access_token=671f38e9xxxxx

    Parameters:

    access_token 671f38e9xxxxx

    POST Get QR Code

    Display QR code to login to Whatsapp web. You can get the results returned via Webhook

    https://app.wawp.net/api/get_qrcode?instance_id=609ACF283XXXX&access_token=671f38e9xxxxx

    Parameters:

    instance_id 609ACF283XXXX
    access_token 671f38e9xxxxx

    POST Reboot Instance

    Logout Whatsapp web and do a fresh scan

    https://app.wawp.net/api/reboot?instance_id=609ACF283XXXX&access_token=671f38e9xxxxx

    Parameters:

    instance_id 609ACF283XXXX
    access_token 671f38e9xxxxx

    POST Reset Instance

    This will logout Whatsapp web, Change Instance ID, Delete all old instance data

    https://app.wawp.net/api/reset_instance?instance_id=609ACF283XXXX&access_token=671f38e9xxxxx

    Parameters:

    instance_id 609ACF283XXXX
    access_token 671f38e9xxxxx

    POST Reconnect

    Re-initiate connection from app to Whatsapp web when lost connection

    https://app.wawp.net/api/reconnect?instance_id=609ACF283XXXX&access_token=671f38e9xxxxx

    Parameters:

    instance_id 609ACF283XXXX
    access_token 671f38e9xxxxx

    2. Send Direct Message Api

    POST Send Text

    Send a text message to a WhatsApp phone number through the app

    Resource URL:

    https://app.wawp.net/api/send

    Structure of the POST request body:
    Content-Type: application/json

    {
    "number": "{int}",
    "type": "text",
    "message": "{string}",
    "instance_id": "{string}",
    "access_token": "671f38e9xxxxx"
    }

    Parameters:

    number 84933313xxx
    type text
    message test message
    instance_id 609ACF283XXXX
    access_token 671f38e9xxxxx

    POST Send Media & File

    Send a media or file with message to a phone number through the app

    Resource URL:

    https://app.wawp.net/api/send

    Structure of the POST request body:
    Content-Type: application/json

    {
    "number": "{int}",
    "type": "media",
    "message": "{string}",
    "media_url": "{string}",
    "instance_id": "{string}",
    "access_token": "671f38e9xxxx"
    }

    Parameters:

    number 84933313xxx
    type media
    message test message
    media_url https://i.pravatar.cc
    filename (Just use for send document) file_test.pdf
    instance_id 609ACF283XXXX
    access_token 671f38e9xxxxx

    3. Group Api

    POST Send Text to Group

    Send a text message to a group through the app

    Resource URL:

    https://app.wawp.net/api/send_group

    Structure of the POST request body:
    Content-Type: application/json

    {
    "group_id": "8498761xxxxxxxx@g.us",
    "type": "text",
    "message": "{string}",
    "instance_id": "{string}",
    "access_token": "671f38e9xxxxx"
    }

    Parameters:

    group_id 8498761xxxxxxxx@g.us
    type text
    message test message
    instance_id 609ACF283XXXX
    access_token 671f38e9xxxxx

    POST Send Media & File to Group

    Send a media or file with message to a group through the app

    Resource URL:

    https://app.wawp.net/api/send_group

    Structure of the POST request body:
    Content-Type: application/json

    {
    "group_id": "8498761xxxxxxxx@g.us",
    "type": "media",
    "message": "{string}",
    "media_url": "{string}",
    "instance_id": "{string}",
    "access_token": "671f38e9xxxxx"
    }

    Parameters:

    group_id 8498761xxxxxxxx@g.us
    type media
    message test message
    media_url https://i.pravatar.cc
    filename (Just use for send document) file_test.pdf
    instance_id 609ACF283XXXX
    access_token 671f38e9xxxxx
    Table of Content:
    Avatar
    Let's chat πŸ‘‹
    How may we help you?
    Usually responded within one business day
    Avatar
    Wawp Care Support

    Powered by Wawp logo