Skip to main content
POST
/
send
/
cta
Dispatch Call to Action (CTA) Formats
curl --request POST \
  --url https://app.wachat.net/api/v1/send/cta \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "instanceName": "<string>",
  "number": "<string>",
  "type": "interactive",
  "interactive": {
    "type": "cta",
    "body": "Kunjungi landing page kami atau hubungi tim sales sekarang.",
    "buttons": [
      {
        "index": 1,
        "urlButton": {
          "displayText": "Buka Website",
          "url": "https://feyebu.com"
        }
      },
      {
        "index": 2,
        "callButton": {
          "displayText": "Hubungi Kami",
          "phoneNumber": "+62812345678"
        }
      }
    ],
    "title": "Layanan Baru Wachat.net",
    "footer": "Powered by Wachat"
  },
  "delay": 123
}
'

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

Target instance configuration identity path label.

number
string
required

Target destination phone string with international parameters.

type
enum<string>
required

Configure core layout envelope to interactive.

Available options:
interactive
Example:

"interactive"

interactive
object
required
delay
integer

Simulated system typing simulation latency config defined in milliseconds.

Response

200

Call-to-Action transactional button modules successfully deployed.