IDEN
Wacommerce

Send Text

Send a plain text message within the 24-hour service window.

Text messages can only be sent within the 24-hour service window after the customer’s last message. Outside it, use a template. Send to `POST /messages`.

pythonimport requests

requests.post(
    "https://dashboard.wacommerce.id/api/public/v1/messages",
    headers={"Authorization": "Bearer nxk_live_xxx"},
    json={"to": "+628123456789", "type": "text", "text": {"body": "Halo dari Wacommerce"}},
)