Messages
Send a message
Send a WhatsApp message to a recipient.
Supports all WhatsApp message types:
- text: Plain text messages with optional URL preview
- image: Images with optional caption
- video: Videos with optional caption
- audio: Audio files
- document: Documents with optional caption and filename
- sticker: Stickers
- location: Location sharing
- contacts: Contact cards
- interactive: Interactive messages (buttons, lists, flows)
- template: Message templates
- reaction: Emoji reactions to messages
POST
Authorizations
Project API key for authentication. This is the recommended authentication method.
Get your API key from the Kapso dashboard under Integrations > API keys.
Path Parameters
WhatsApp Business Phone Number ID
Body
application/json
- Option 1
- Option 2
Always "whatsapp"
Available options:
whatsapp Example:
"whatsapp"
Recipient WhatsApp ID
Example:
"15551234567"
Type of WhatsApp message
Available options:
text, image, video, audio, document, sticker, location, contacts, interactive, template, reaction Recipient type. Use individual for 1:1, group for group messages.
When group, to must be a Group ID obtained via the Groups API.
Available options:
individual, group Arbitrary string for tracking (echoed in webhooks)
Maximum string length:
512Reply context

