dChats MessengerdChats Messenger

Features

Calling
Messaging
Groups
Channels
AI Assistant
Status
Security
PricingHelp CenterFor Business
Log inGet it on Google Play
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
Messaging API
GETSend Text MessageGETSend Template Button Message
Auth API
GETSMS Verification
GEThttps://graph-api.v4-0.dchats.org/outsource/v4/

Send Text Message

Send a plain text dChats message to any recipient.

Query Parameters

ParameterTypeRequiredDescription
sender_uuidstringrequiredYour dChats Messenger sender UUID from Settings
tostringrequiredRecipient phone number with country code (no + sign). E.g. 919876543210
type"text"requiredMust be "text" for plain messages
bodystringrequiredThe message text to send
contentstringoptionalSame as body (legacy compatibility)
send_msg"true"requiredMust be "true" to actually deliver the message

Code Examples

curl "https://graph-api.v4-0.dchats.org/outsource/v4/?sender_uuid=ntc1mjc-xxx&to=919876543210&type=text&body=Hello+World&send_msg=true"

Responses

200Message sent successfully
{"success":true,"message_id":"msg_xxx","status":"sent"}
400Missing or invalid parameters
{"success":false,"error":"sender_uuid is required"}
401Unauthorized / invalid token
{"success":false,"error":"Invalid auth token"}
GEThttps://graph-api.v4-0.dchats.org/outsource/v4/

Send Template Button Message

Send an interactive message with header, body, optional media image, URL buttons, and quick reply buttons.

Query Parameters

ParameterTypeRequiredDescription
sender_uuidstringrequiredYour dChats Messenger sender UUID
tostringrequiredRecipient phone number (country code, no +)
type"template_button"requiredMust be "template_button"
headerstringoptionalBold header text shown above body
bodystringrequiredMain message body text
media_urlstring (URL)optionalURL of image to display above header
url_buttons[]stringoptionalFormat: "Label|URL". Repeat for multiple buttons.
buttons[]stringoptionalQuick reply button label. Repeat for multiple.
send_msg"true"requiredMust be "true"

Code Examples

curl "https://graph-api.v4-0.dchats.org/outsource/v4/?send_msg=true&sender_uuid=xxx&to=919876543210&type=template_button&header=Limited+Time%21&body=Get+20%25+off+this+weekend%21&url_buttons[]=Shop+Now|https://shop.com&buttons[]=Remind+Me+Later"

Responses

200Template message sent
{"success":true,"type":"template_button","status":"sent"}
400Invalid params
{"success":false,"error":"body is required"}

SMS Verification API

Used internally by the login page for phone-based QR verification. Base URL: https://accounts.devsecit.com/sms/

GEThttps://accounts.devsecit.com/sms/?GET_TOKEN=true

Generate a new SMS verification token. Returns code, receiver phone, and validity timestamp.

{"code":"base64token==","ip":"x.x.x.x","validity":1775413299,"receiver":"+919876543210"}
GEThttps://accounts.devsecit.com/sms/?CHECK_STATUS={token}

Check if the token has been verified via SMS. Returns "Pending" or "Verified".

{"status":"Verified","message":"SMS verified successfully!"}

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!"
}