Get STOPs of a campaign

This method allows you to retrieve the STOPs of a campaign.

GET

/campaign/:id/blacklist

Query Parameters

id
required
The campaign id

Examples


GET /campaign/18969398/blacklist HTTP/1.1
Host: api.smsup.ch
Accept: application/json
Authorization: Bearer your.token
      
    

Result Format


{
    "status": 1,
    "message": "OK",
    "stops": [
        {
            "destination": "41781234567",
            "info1": "Ricky",
            "info2": "Gervais",
            "info3": null,
            "info4": null,
            "date": "2024-11-21 09:58:10"
        },
        {
            "destination": "41781234566",
            "info1": "Richard",
            "info2": "Dawkins",
            "info3": null,
            "info4": null,
            "date": "2024-11-21 09:58:10"
        }
    ]
}
          
        

<?xml version="1.0" encoding="UTF-8"?>
<response>
    <status>1</status>
    <message>OK</message>
    <stops>
        <destination>41781234567</destination>
        <info1>Ricky</info1>
        <info2>Gervais</info2>
        <info3>null</info3>
        <info4>null</info4>
        <date>"2024-11-21 09:58:10"</date>
    </stops>
    <stops>
        <destination>41781234566</destination>
        <info1>Richard</info1>
        <info2>Dawkins</info2>
        <info3>null</info3>
        <info4>null</info4>
        <date>"2024-11-21 09:58:10"</date>
    </stops>
</response>