API Reference

Get detailed information and statistics of a campaign identified by a UID code.

Parameters


api_token string
Your API token. You can find it in your API main page when logged in.


uid string
Campaign's uid

$client = new Acelle\Client(
    'https://app.sastamail.com/api/v1',
    '*|api_token|*'
);
$client->campaign()->find('5fb48ff221b27');
{
    "campaign": {
        "uid":"5fb48ff221b27",
        "name":"Untitled",
        "list":"",
        "segment":"",
        "default_subject":null,
        "from_email":"[email protected]",
        "from_name":"Marketing Department",
        "remind_message":null,
        "status":"new",
        "created_at":[],
        "updated_at":[]
    },
    "statistics": {
        "subscriber_count":4,
        "uniq_open_rate":0,
        "delivered_rate":0,
        "open_count":0,
        "uniq_open_count":0,
        "last_open":"",
        "click_rate":0,
        "click_per_uniq_open":0,
        "click_count":0,
        "abuse_feedback_count":0,
        "last_click":"",
        "bounce_count":0,
        "unsubscribe_count":0,
        "links":[],
        "top_locations":[],
        "top_open_subscribers":[]
    }
}