Prerequisites
- A Cawme account — sign up at cawme.com
- Your Bearer token from the dashboard
Step 1: Create an instance
An instance represents a WhatsApp number. You must create one before placing any calls.Step 2: Pair your WhatsApp number
Fetch the QR code and scan it with WhatsApp on your phone to link the number:qrCodeBase64 into an image and scan it. Once scanned, your instance status will move to CONFIGURED and eventually ACTIVE.
Step 3: Make a call
Place a Text-to-Speech (TTS) call:Step 4: Check call status
status field progresses: QUEUED → RINGING → IN_PROGRESS → COMPLETED.