Whatsapp Api using go
1.8K
Go WhatsApp Multi-Device Implementation in REST API
Origin source https://github.com/dimaskiddo/go-whatsapp-multidevice-rest
This repository contains example of implementation go.mau.fi/whatsmeow package with Multi-Session/Account Support. This example is using a labstack/echo version 4.x.
Features:
Multi-Session/Account Support
Multi-Device Support
WhatsApp Authentication (QR Code and Logout)
WhatsApp Messaging Send Text
WhatsApp Messaging Send Media (Document, Image, Audio, Video, Sticker)
WhatsApp Messaging Send Location
WhatsApp Messaging Send Contact
WhatsApp Messaging Send Link
Run the following command on your Terminal or PowerShell
docker run -d -p 3000:3000 --name go-whatsapp-multidevice --restart unless-stopped gerandonk/go-whatsapp-multidevice-rest:latest
by default AUTH_BASIC_PASSWORD is ThisIsPassword, so if you want to custom auth just add environtment
docker run -d -p 3000:3000 --name go-whatsapp-multidevice --restart unless-stopped -e AUTH_BASIC_PASSWORD='ThisIsPassword' gerandonk/go-whatsapp-multidevice-rest:latest
Now it should be accessible in your machine by accessing http://localhost:3000/api/v1/whatsapp or http://127.0.0.1:3000/api/v1/whatsapp
Try to use integrated API docs that accesible in http://localhost:3000/api/v1/whatsapp/docs/ or http://127.0.0.1:3000/api/v1/whatsapp/docs/
Donation:
Content type
Image
Digest
sha256:cb09ba4f1…
Size
45 MB
Last updated
about 15 hours ago
docker pull gerandonk/go-whatsapp-multidevice-rest