Replace number, type, message, instance id and access token accordingly.
1. Below is the sample code for python:
import requests
url = "https://whatsapponcloud.com/api/send"params = {"number": "9199XXXXXXXX","type": "text","message": "test message","instance_id": "6616XXXXX","access_token": "661XXXXXX"}
try:response = requests.get(url, params=params)response.raise_for_status() # Raise an exception for 4xx and 5xx status codesprint('API response:', response.text)except requests.exceptions.RequestException as e:print('Error sending request:', e)
