You can easily check a customer email, by setting your publisher token and customer access token. The customer must have purchased at least one of your offers.

Info: Enterprise account required. Contact us if you're interested about opening Enterprise account.


Name Type Description
publisherToken string Required publisher account with special privileges
customerToken string Token that identifies the customer, read more in Must know about API section.

- required parameter


        "method": "getCustomerEmail",
        "params": {
            "publisherToken": "Xlrx-SjTLVMCsaRsOf2q2hvWKOlrF57yHknDRRRMX-13Fz-x",
            "customerToken": "Q5ik8S5iULFfnUwzcX0TvVfhzqBYRsXMGAcUeAIESAVHm1jj"
        "jsonrpc": "2.0",
        "id": 1


        "result": {
            "email": ""
        "id": "1",
        "error": null,
        "jsonrpc": "2.0"


    $cleengApi = new Cleeng_Api();
    $cleengApi->setPublisherToken('VIJYHWzJEP4mt1DZThD7DV_FinBG0Yo3Q9oHfCFAjqA22jXP');//enterprise account required

    $customerEmail = $cleengApi->getCustomerEmail();//PHP SDK takes customerToken automatically from cookies when customer is logged in.

    echo $customerEmail->email;

Remember! you can always check it by yourself using API Console - getCustomerEmail()

Back to Customer API

We use cookies to ensure that we provide you the best service and website experience. Read our Cookie policy for more details.