API documentation
Base URL: https://wa.dynamicsoft.biz/api/v1. Authenticate with your API key as a Bearer token (or X-Api-Key header).
Send a text message
curl -X POST https://wa.dynamicsoft.biz/api/v1/send \
-H "Authorization: Bearer wak_xxxxxxxx_yourkey" \
-H "Content-Type: application/json" \
-d '{ "to": "923001234567", "text": "Hello from DSS WhatsApp API" }'Send a PDF (receipt)
Pass a public file URL (mediaUrl) or a base64 string (mediaBase64).
curl -X POST https://wa.dynamicsoft.biz/api/v1/send-media \
-H "Authorization: Bearer wak_xxxxxxxx_yourkey" \
-H "Content-Type: application/json" \
-d '{ "to": "923001234567",
"mediaUrl": "https://yourserver.com/receipt_123.pdf",
"filename": "Receipt-123.pdf",
"caption": "Your receipt is attached" }'Check status
curl https://wa.dynamicsoft.biz/api/v1/status -H "Authorization: Bearer wak_xxxxxxxx_yourkey"
Numbers are addressed in international format, digits only (e.g. 923001234567). Sending requires an active subscription and a connected WhatsApp number.