REST API Documentation & Code Snippets
Ready-to-use API code examples for cURL, PHP, JavaScript, and Python
Base API Endpoint URL:
http://localhost:3000/api/v1
Authentication: 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 (Image/Doc/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 admin or user to get JWT token.