Get replies of a campaign
This method allows you to retrieve the replies of a campaign.
GET
/campaign/:id/mo
Query Parameters
id
required
|
The campaign id |
Examples
GET /campaign/18969398/mo HTTP/1.1
Host: api.smsup.ch
Accept: application/json
Authorization: Bearer your.token
Result Format
Can I retrieve my campaigns created on the platform ?
Our platform uses another API (not available to users). You cannot use the API to retrieve campaigns created on the platform.
{
"status": 1,
"message": "OK",
"replies": [
{
"destination": 41781234567,
"message": "First response"
"info1": "Ricky",
"info2": "Gervais"
"date": "2024-12-22 01:39:16"
},
{
"destination": 41781234566,
"message": "Second repsonse"
"info1": "Richard",
"info2": "Dawkins"
"date": "2024-12-22 01:39:16"
}
]
}
<?xml version="1.0" encoding="UTF-8"?>
<response>
<status>1</status>
<message>OK</message>
<replies>
<id>5ec25b532b10f90a592fa942</id>
<destination>41781234567</destination>
<info1>Ricky</info1>
<info2>Gervais</info2>
<message>First response</message>
<date>"2024-12-22 01:39:16"</date>
</replies>
<replies>
<id>5ec286d22b10f90a592fa943</id>
<destination>41781234566</destination>
<info1>Richard</info1>
<info2>Dawkins</info2>
<message>Second repsonse</message>
<date>"2024-12-22 01:39:16"</date>
</replies>
</response>