ResourcesAPI documentation

API Introduction

Mailkit provides a XML-RPC standard based API for secure remote access and control of some of the functions available in the system.

XML-RPC API accepts connections from permited IPs only. You can see the list of permited IPs and add new ones in integration setup and the API interface is available at https://api.mailkit.eu/rpc.fcgi

Mandatory parameters of all API calls

client_id - User ID can be found in your Mailkit account under menu Profile / Integration / API settings.

client_md5 - MD5 hash can be found in your Mailkit account under menu Profile / Integration / API settings.

Example of failed call:

XML-RPC response

<?xml version="1.0" encoding="utf-8"?>
<methodResponse>
    <params>
        <param>
            <value>
                <string>Unauthorized</string>
            </value>
        </param>
    </params>
</methodResponse>

Failure reason

Unauthorized

  • invalid user ID

and/or

  • invalid MD5 hash used

XML-RPC response

<?xml version="1.0" encoding="utf-8"?>
<methodResponse>
    <params>
        <param>
            <value>
                <string>Disallowed IP xx.yyy.x.zz</string>
            </value>
        </param>
    </params>
</methodResponse>

Failure reason

Disallowed IP

The call has ben initiated from an IP address that is not on the list of permited IPs. Add all the IPs you will be using to initiate API call to the list in your account under menu Profile / Integration / API settings.