omnichannelmessenger
  1. Sent API
omnichannelmessenger
  • Sent API
    • Image
      • URL
      • File Base64
    • Video
      • URL
      • File Base64
    • Audio
      • URL
      • File Base64
    • Document
      • URL
      • File Base64
    • Text
      POST
    • Contact
      POST
    • Sticker
      POST
    • Async Status
      POST
  • Sent Group API
    • Image
      • URL
      • File Base64
    • Video
      • URL
      • File Base64
    • Audio
      • File Base64
      • URL
    • Document
      • URL
      • File Base64
    • Text
      POST
    • Async Status
      POST
  • Administration
    • User Info
      POST
    • API Report
      POST
    • Purge The Report
      POST
    • Change Profile Name
      POST
    • Screenshot
      POST
  • Feature
    • Short URL
      • Generate
      • Query
    • Generate Login by Code
      POST
    • Generate Login QR
      POST
    • Archive All Chats
      POST
    • Chat History
      POST
    • Check Destination Info
      POST
    • Get Group Member
      POST
    • Logout
      POST
  • Scheduler
    • Scheduler Message Info
    • Remove Schedule Message
  1. Sent API

Text

POST
/api/sendText
Sending API (Number)
Sending Message to Phone Number (Number).
Use asyncFlag and fill it with on to enable async request with message id as return
Use scheduler message until minutewise with isScheduler

Request

Body Params application/json
key
string 
required
number
string 
required
Default:
{{targetNumber}}
message
string 
required
isAsync
boolean 
optional
isSchedule
boolean 
optional
date
string 
optional
Example
{
    "number": {{targetNumber}},
    "key": "XXX123XXX",
    "message": "Hello World"
}

Request samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://api.omnichannelmessenger.com/api/sendText' \
--header 'Content-Type: application/json' \
--data-raw '{
    "number": "+62895802170387",
    "key": "XXX123XXX",
    "message": "Hello World"
}'

Responses

🟢200Response
application/json
Body
object {0}
Example
{}
🟠403Key not valid
Previous
File Base64
Next
Contact
Built with