API Reference v4.0
API Documentation
Complete reference for the dChats Messenger messaging API. Examples in cURL, JavaScript, Python, and PHP.
Base URL: graph-api.v4-0.dchats.org
REST over HTTPS · No OAuth required for testing
Pro Tip: Use the Portal Proxy
Instead of calling the dChats Messenger API directly, you can use the built-in portal proxy at /api/send-message. This keeps your Auth Bearer Token server-side and accepts JSON POST requests.
POST /api/send-message
Content-Type: application/json
{
"sender_uuid": "your-uuid",
"to": "919876543210",
"type": "text",
"body": "Hello from the portal proxy!"
}