WhatsApp Messages
POST /v1/whatsapp/messages
Send a WhatsApp message to a recipient. Supports text, media, and interactive messages.
# Request { "to": "911234567890", "type": "text", "text": { "body": "Hello from THEITBULLS!" } } # Response { "id": "msg_abc123", "status": "sent", "timestamp": "2025-06-20T14:30:00Z" }
GET /v1/whatsapp/messages
Retrieve a list of messages with optional filtering and pagination.
# Response { "data": [ { "id": "msg_123", "from": "911234567890", "text": "Hello", "timestamp": "2025-06-20T14:30:00Z" } ], "pagination": { "next": "cursor_xyz", "limit": 25 } }
Email Campaigns
POST /v1/email/campaigns
Create a new email campaign with content, recipients, and scheduling.
# Request { "name": "Welcome Campaign", "subject": "Welcome to our platform!", "content": "HTML content here...", "recipients": ["user@example.com"], "schedule": "2025-06-25T10:00:00Z" }