Light Mode
List Message Logs
GET
/messages/logsLast modified: a day ago
Request
Body Params application/json
channel
string
required
sms, whatsapp
keyword
string
required
type
string
required
all, all_except_campaigns
from
string
optional
datetime
to
string
optional
datetime
Example
{
"keyword": "966553416765",
"type": "all",
"from": "15-09-2024",
"to": "18-09-2024",
"channel": "sms"
}
Request samples
Responses
OK - SMS(200)
HTTP Code: 200
Content Type : JSONapplication/json
Data Schema
status
integer
required
success
boolean
required
data
array [object {11}]
required
id
integer
required
message
string
required
sender
string
required
to
string
required
status
string
required
message_count
integer
required
provider
string
required
type
string
required
reference_id
null
required
billing_account
string
required
created_at
string
required
Example
{
"status": 200,
"success": true,
"data": [
{
"id": 58,
"message": "كود التفعيل في سلة: 8134 . تجارة ممتعة!",
"sender": "Salla",
"to": "+966598084006",
"status": "sent",
"message_count": 1,
"provider": "unifonic",
"type": "notification",
"reference_id": null,
"billing_account": "merchant",
"created_at": "2019-10-02 20:11:44"
},
{
"id": 59,
"message": "كود التفعيل في سلة: 8222 . تجارة ممتعة!",
"sender": "Salla",
"to": "+966598084006",
"status": "sent",
"message_count": 1,
"provider": "unifonic",
"type": "notification",
"reference_id": null,
"billing_account": "merchant",
"created_at": "2019-10-02 20:17:56"
},
{
"id": 60,
"message": "كود التفعيل في سلة: 3002 . تجارة ممتعة!",
"sender": "Salla",
"to": "+966598084006",
"status": "sent",
"message_count": 1,
"provider": "unifonic",
"type": "notification",
"reference_id": null,
"billing_account": "merchant",
"created_at": "2019-10-02 20:41:09"
}
]
}
Last modified: a day ago