Developer Documentation

Aerostic API Documentation

Everything you need to integrate WhatsApp messaging into your applications. RESTful APIs, webhooks, and AI-powered automation.

Quick Start Endpoints

Base URL: https://api.aerostic.com/v1

POST/api/messages/sendSend a template message
GET/api/messagesList all messages
POST/api/contactsCreate a contact
GET/api/templatesList message templates

Official SDKs

Node.js

stable

v2.1.0

View on npm

Python

stable

v1.8.0

View on npm

PHP

beta

v1.5.0

View on npm

Go

alpha

v0.9.0

View on npm

Quick Example

send-message.js
const Aerostic = require('@aerostic/sdk');

const client = new Aerostic({
  apiKey: 'ak_live_xxxxx'
});

// Send a template message
const response = await client.messages.send({
  to: '+919876543210',
  template: 'order_confirmation',
  variables: ['John', 'ORD-12345']
});

console.log('Message sent:', response.id);
Response
{
  "id": "msg_abc123xyz",
  "status": "sent",
  "to": "+919876543210",
  "template": "order_confirmation",
  "timestamp": "2026-01-30T15:45:00Z",
  "wamid": "wamid.ABG..."
}

Need Help?

Our team is here to help you integrate Aerostic