sentMessages
GET
/sentMessages/APIKEYThis method displays all the sent messages in pagination
Request
Query Params
page
string
required
Optional: If not sent, page number 1 will be displayed by default
Example:
1
phonenumber
string
required
Optional: All or part of the phone numberو If not sent, it will display all sent messages
Example:
1555
Request samples
Responses
sentMessages(200)
HTTP Code: 200
Content Type : JSONapplication/json
Data Schema
count
integer
required
pageCount
integer
required
page
string
required
data
array [object {9}]
required
status
string | null
required
statusInfo
string | null
required
id
string
required
phonenumber
string
required
message
string
required
created
string
required
url
string
required
execute
string
required
delivery
string
required
ExamplesentMessages
{
"count": 3,
"pageCount": 1,
"page": "page 1 from 1",
"data": [
{
"status": null,
"statusInfo": null,
"id": "566",
"phonenumber": "+15551234567",
"message": "This is a test message",
"created": "2024/04/14 19:08:11",
"url": "",
"execute": "// ",
"delivery": ""
},
{
"status": null,
"statusInfo": null,
"id": "567",
"phonenumber": "+15557654321",
"message": "This is a test message",
"created": "2024/04/14 19:08:11",
"url": "",
"execute": "// ",
"delivery": ""
},
{
"status": "In the send queue",
"statusInfo": "Pending",
"id": "565",
"phonenumber": "+15551234567",
"message": "This is a test message",
"created": "2024/04/14 19:05:19",
"url": "",
"execute": "// ",
"delivery": ""
}
]
}
Last modified: 5 months ago