API Changelog
Download source
  • JSON OpenAPI specification
  • YAML OpenAPI specification
go-whatsapp-web-multidevice

Topics

  • Introduction

Endpoints

  • app
    • Login to whatsapp server GET
    • Login with pairing code GET
    • Remove database and logout GET
    • Reconnecting to whatsapp server GET
    • Get list connected devices GET
  • user
    • User Info GET
    • User Avatar GET
    • User Change Avatar POST
    • User My Privacy Setting GET
    • User My List Groups GET
    • User My List Groups GET
  • send
    • Send Message POST
    • Send Image POST
    • Send Audio POST
    • Send File POST
    • Send Video POST
    • Send Contact POST
    • Send Link POST
    • Send Location POST
    • Send Poll / Vote POST
    • Send presence status POST
  • message
    • Revoke Message POST
    • Delete Message POST
    • Send reaction to message POST
    • Edit message by message ID before 15 minutes POST
    • Mark as read message POST
  • group
    • Create group and add participant POST
    • Adding more participants to group POST
    • Remove participants from group POST
    • Promote participants to admin POST
    • Demote participants to member POST
    • Join group with link POST
    • Leave group POST
  • newsletter
    • Unfollow newsletter POST
Powered by Bump.sh
API Changelog
Download source
  • JSON OpenAPI specification
  • YAML OpenAPI specification
go-whatsapp-web-multidevice








































































Send Link

POST /send/link
application/json

Body

  • phone string

    Phone number with country code

  • link string

    Link to send

  • caption string

    Caption to send

Responses

  • 200 application/json

    OK

    Hide response attributes Show response attributes object
    • code string
    • message string
    • results object
      Hide results attributes Show results attributes object
      • message_id string
      • status string
  • 400 application/json

    Bad Request

    Hide response attributes Show response attributes object
    • code string

      HTTP Status Code

    • message string

      Detail error message

    • results object

      additional data

  • 500 application/json

    Internal Server Error

    Hide response attributes Show response attributes object
    • code string

      SYSTEM_CODE_ERROR

    • message string

      Detail error message

    • results object

      additional data

POST /send/link
curl \
 --request POST 'http://localhost:3000/send/link' \
 --header "Content-Type: application/json" \
 --data '{"phone":"6289685024051@s.whatsapp.net","link":"https://google.com","caption":"Halo ini contoh caption"}'
Request examples
{
  "phone": "6289685024051@s.whatsapp.net",
  "link": "https://google.com",
  "caption": "Halo ini contoh caption"
}
Response examples (200)
{
  "code": "SUCCESS",
  "message": "Success",
  "results": {
    "message_id": "3EB0B430B6F8F1D0E053AC120E0A9E5C",
    "status": "<feature> success ...."
  }
}
Response examples (400)
{
  "code": 400,
  "message": "field cannot be blank",
  "results": {}
}
Response examples (500)
{
  "code": "INTERNAL_SERVER_ERROR",
  "message": "you are not loggin",
  "results": {}
}