POST
Spintax Dynamic Variation
Send randomized message variations using standard `{option1|option2|option3}` syntax to make every message unique and prevent WhatsApp anti-spam fingerprinting.
Spintax Evaluation
The engine evaluates nested Spintax tags server-side before queueing the message into the dispatch stream.
HTTP Endpoint
POSThttps://api-wa.hidessh.com/api/v1/wa/messages/send
Authentication
This endpoint requires Bearer authentication via your secret API Key.
| Header Key | Value | Required |
|---|---|---|
| Authorization | Bearer <your_api_key> | Required |
| Content-Type | application/json | Required |
Request Parameters
The request body must be formatted as JSON with the following parameters:
| Parameter | Type | Required | Description |
|---|---|---|---|
phone | string | Required | Target phone number. example: 628123456789 |
message | string | Required | Spintax formatted message string using `{option1|option2}` syntax. example: {Hello|Hi|Good day} {Kak|Bro}, {thank you for your order|your order has been received}! |
Code Examples
request.sh
curl -X POST "https://api-wa.hidessh.com/api/v1/wa/messages/send" \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"phone": "628123456789",
"message": "{Hello|Hi|Greetings} {John|Partner}, {hope you have a great week|wishing you high productivity}!"
}'Response Formats
Spintax processed and sent.
application/json • 200 OK
On this page