Creates new customer account in Cleeng database and generates customerToken.
Note: customerToken expires after 60 days. Expiration time can be extended using extendTokenExpiration method.

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


Name Type Description
publisherToken string Your publisher token. To open enterprise account contact us.
customerData object Required customer data
-email string Customer's email
-locale string Defines language and text formatting for the user. E.g. "en_US", "fr_FR"
-country string 2-letter country code
-currency string Choose one: USD, EUR, GBP, CAD, AUD, NZD, SEK, DKK, NOK, TRL, ZAR, XOF
-password string Customer's password
-facebookId string Customer's FacebookId

- required parameter

Response Parameters:

Name Type Description
token string Customer token used to identify the user

Error Codes:

Code Description
3 Invalid publisher token
5 Access denied
11 Invalid arguments
13 Customer already exists


        "method": "registerCustomer",
        "params": {
            "publisherToken": "Ilrx-SjTLVMCsaRsOf2q2hvWKOlrF57yHknDRRRMX-13Fz-x",
            "customerData": {
                "email": "",
                "locale": "pl_PL",
                "country": "PL",
                "currency": "EUR",
                "password": "password",
                "facebookId": "123456789012345"
        "jsonrpc": "2.0",
        "id": 1


        "result": {
            "token": "AKr47GhD_tF7yWoKHinzfHjG7Ad_gta-TezKwyHVkxRHOYHs"
        "id": "1",
        "jsonrpc": "2.0"

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

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.