Skip to main content
POST
/
send
/
text
Dispatch Conversational Text Message
curl --request POST \
  --url https://app.wachat.net/api/v1/send/text \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "instanceName": "my-instance-01",
  "number": "628123456789",
  "type": "text",
  "message": "Halo, terima kasih telah menghubungi kami!",
  "delay": 3000
}
'

Documentation Index

Fetch the complete documentation index at: https://docs.wachat.net/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Authenticate your integration payloads by injecting your premium secure Wachat Account API Private Secret Key inside standard Authorization Bearer header vectors.

Body

application/json
instanceName
string
required

The specific active connection token identifying your WhatsApp instance.

Example:

"my-instance-01"

number
string
required

Target phone number with international country code routing.

Example:

"628123456789"

type
enum<string>
required

Explicit message category specifier. Must be set strictly to text.

Available options:
text
Example:

"text"

message
string
required

Textual content body supporting emojis and system message parameters.

Example:

"Halo, terima kasih telah menghubungi kami!"

delay
integer

Simulated human typing duration configured in milliseconds. If omitted, the engine automatically defaults to a natural 3000ms to 5000ms randomized interval.

Example:

3000

Response

200

Conversational text message successfully processed and queued for dispatch.