REST API Documentation

Ready-to-use API code examples for cURL, PHP, JavaScript, and Python

Base API Endpoint URL: http://localhost:3000/api/v1
Auth: Header x-api-key or Bearer JWT
Authentication
Login / Auth Token POST
WhatsApp Sessions
List All Sessions GET
Create Session POST
Get QR Code GET
Get Pairing Code GET
Messaging Engine
Send Text Message POST
Send Media (Doc/Image/Audio) POST
Pre-Print Queue
List Print Orders GET
Create Print Order POST
Update Status / Notify PUT
AI Memory & Profile
Fetch User History GET
Get Long-Term AI Profile GET
Re-Summarize User POST
POST /api/v1/auth/login
Public / No Auth

Authenticate user with username and password to get a Bearer JWT Token.


          
Example JSON Response (200 OK)