msg logo
python icon

كيف ترسل رسالة واتساب باستخدام ال api Python

أرسل رسالة واتساب بسهولة باستخدام ال api إبدأ خلال دقائق

الكود الكامل
import requests response = requests.post( "https://api.sendmsg.dev/message/batch", json={ "to": ["+1234567890", "+0987654321"], "message": "Hello from MSG!", # "token": "YOUR_API_TOKEN" # Optional, gives full access } ) result = response.json()
لغات أخرى متاحة