For security and maintainability reasons, we don't want to create permanent tokens for the customers. This API method allows us to extend tokens expiration date for up to 60 days


Name Type Description
publisherToken string You can find your publisher token at api-keys page.
customerToken string Token that identifies the customer, read more in Must know about API section.
extensionTime integer number of seconds added to the current token expiration time. Tokens can be extended by no more than 60 days.

- required parameter


        "method": "extendTokenExpiration",
        "params": {
            "publisherToken": " If13hAEe7gQjhN_nUr_vRwFrXrfdVOaNdfs9vDQ1nz8cCLzb",
            "customerToken": "a6Yrd0ppps0ZOCABdMOc-QhiSIFjJ7tOG_cofAJAETUidkx3",
            "extensionTime": "1234"
        "jsonrpc": "2.0",
        "id": 1


        "result": {
            "success": true
        "id": "1",
        "jsonrpc": "2.0"

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

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.