A modern web interface for testing and interacting with Green-API (WhatsApp Business API). This dashboard provides a sleek interface to test API endpoints without writing code.
-
Four API Methods Implemented:
GetSettings- Get current instance settingsGetStateInstance- Check instance authorization stateSendMessage- Send text messagesSendFileByUrl- Send files via URL
-
Modern 2025 Design:
- Dark theme with WhatsApp green accents
- Responsive layout for all screen sizes
- Smooth animations and transitions
- Real-time API response logging
-
User-Friendly Interface:
- Pre-filled test credentials
- Auto-formatting of chatId
- File name extraction from URLs
- Loading indicators for API calls
- Green-API Account: You need an active Green-API account
- Instance Credentials:
- Instance ID (provided:
1103411672) - API Token (provided:
1da8f9794eeb4d52b424093265b692263c30b30616d84b3792)
- Instance ID (provided:
- Internet Connection: For API calls and loading Font Awesome icons
-
Save the HTML file:
- Copy the entire HTML code
- Save as
whatsapp-api-dashboard.htmlon your computer
-
Open in browser:
- Double-click the HTML file
- It opens in your default browser
-
Make API calls:
- The credentials are pre-filled
- Click buttons to test API methods
- View responses in the right panel
- Access your hosting control panel (cPanel)
- Navigate to File Manager
- Upload the HTML file to your public directory (usually
public_htmlorwww, orpublic) - Access the dashboard at:
https://yourdomain.com/green.html
- Upload via SFTP/SCP:
scp green.html user@yourserver:/var/www/html/