Get started

    API Endpoint

        https://cloudy.email/app/api
                

The Cloudy API provides programmatic access to read/write data to and from your Cloudy account. Add, delete or retrieve a subscriber, etc.

add subscriber


PHP example using cURL

    $list_id = "#"; //Can be retrieved from "View all lists" page

    $name = "John Doe";
    $email = "john.doe@mail.com";

    if (empty($name) || empty($email)) {
        echo "Please fill in all fields.";
        exit;
    }

    $data = [
        "name" => $name,
        "email" => $email,
        "list" => $list_id,
        "boolean" => "true"
    ];

    $headers = [
        "Content-Type: application/x-www-form-urlencoded"
    ];

    $curl = curl_init();

    curl_setopt($curl, CURLOPT_HTTPHEADER, $headers);
    curl_setopt($curl, CURLOPT_URL, "https://cloudy.email/app/subscribe");
    curl_setopt($curl, CURLOPT_POST, true);
    curl_setopt($curl, CURLOPT_POSTFIELDS, http_build_query($data));
    curl_setopt($curl, CURLOPT_RETURNTRANSFER, true);

    $result = curl_exec($curl);

    echo $result;

    curl_close($curl);
        

To add a subscriber to a pre-existing List in your account, you need to make a POST call to the following url:
https://cloudy.email/app/subscribe




Result example:

1
                

QUERY PARAMETERS

Field Type Description
list String Your List ID.
name String Name of your Subscriber.
email String Email address of your Subscriber.