REST API
Secure messaging from external apps
How to Use the API Feature in Botassium
The Botassium API allows you to send WhatsApp messages directly from your own systems using a simple HTTP POST
request. Each bot has its own unique API endpoint, which can be found inside the bot’s API settings tab.
With just a few lines of JSON, you can trigger text messages, media, locations, contact cards, polls, and even button list messages from your website, CRM, backend system, or any third-party platform.
What You Can Do With the API
Send transactional messages like order confirmations or shipping updates
Trigger alerts and reminders from your internal systems
Send rich content including documents, images, and locations
Fully automate WhatsApp communication from any external app
Supported Message Formats & Examples
Text Message
Media Message (images, videos, documents, etc.)
Attachments file names and types are pulled automatically from the attachment link, but if you want to customize it, extend the attachment link into an object with the "url", "type" and "name" parameters, where the "type" is an (image, video, audio, or document):
Contact Card Message
Sends a contact card. The number
field must be in international format.
Location Message
You can use \n
in the name
field to insert a line break or description.
Poll Message
You can allow single or multiple selections using the "multiple"
field.
Button List Message
Creates an expandable menu of choices with brief descriptions.
Authentication & Endpoint
Each bot has a private API endpoint (visible in the API tab under the bot’s settings).
Authentication is enforced—make sure your requests are sent securely.
Always use HTTP
POST
method andContent-Type: application/json
.
Summary
The Botassium API is a powerful and flexible way to integrate WhatsApp messaging into your existing business systems. From simple text replies to dynamic media and interactive message types, it enables real-time communication at scale—all triggered programmatically with just a few lines of JSON.
Use it to power up your sales funnels, customer service workflows, marketing automations, and internal notifications.