Antworten einer Kampagne abrufen

Mit dieser Methode können Sie die Antworten einer Kampagne abrufen.

GET

/campaign/:id/mo

Abfrage-Parameter

id
notwendig
ID der Kampagne

Beispiele


GET /campaign/18969398/mo HTTP/1.1
Host: api.smsfactor.com
Accept: application/json
Authorization: Bearer your.token
      
    

Ergebnisformat


{
    "status": 1,
    "message": "OK",
    "replies": [
        {
            "destination": 33612345678,
            "message": "First response"
            "info1": "Ricky",
            "info2": "Gervais"
            "date": "2024-11-21 10:29:58"
        },
        {
            "destination": 33612345677,
            "message": "Second repsonse"
            "info1": "Richard",
            "info2": "Dawkins"
            "date": "2024-11-21 10:29:58"
        }
    ]
}
          
        

<?xml version="1.0" encoding="UTF-8"?>
<response>
    <status>1</status>
    <message>OK</message>
    <replies>
        <id>5ec25b532b10f90a592fa942</id>
        <destination>33612345678</destination>
        <info1>Ricky</info1>
        <info2>Gervais</info2>
        <message>First response</message>
        <date>"2024-11-21 10:29:58"</date>
    </replies>
    <replies>
        <id>5ec286d22b10f90a592fa943</id>
        <destination>33612345677</destination>
        <info1>Richard</info1>
        <info2>Dawkins</info2>
        <message>Second repsonse</message>
        <date>"2024-11-21 10:29:58"</date>
    </replies>
</response>