- Sent API
- Sent Group API
- Image
- Video
- Audio
- Document
- TextPOST
- Async StatusPOST
- Administration
- Feature
- Scheduler
API Report
POST
/api/report
Administration
Request
Body Params application/json
key
string
required
number
string
required
Default:
{{targetNumber}}
timeType
string
required
Examples:
todayyesterday7daysmonthmonth_back
keyword
string
optional
status
string
optional
Example
{
"key": "XXX123XXX",
"timeType": "today"
}
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/report' \
--header 'Content-Type: application/json' \
--data-raw '{
"key": "XXX123XXX",
"timeType": "today"
}'
Responses
🟢200A User object
application/json
Body
status
string
optional
message
string
optional
wrong_time_choose: time_choose not known
no_data: no transaction at that time
data
array [object {6}]
optional
content
string
optional
msgId
string
optional
messageType
string
optional
number
string
optional
status
string
optional
date
string
optional
Example
{
"status": "string",
"message": "string",
"data": [
{
"content": "string",
"msgId": "string",
"messageType": "string",
"number": "string",
"status": "string",
"date": "string"
}
]
}
🟠403Key not valid