Getting Credentials for lead alliance
The required credentials are the following:
- AccessToken and RefreshToken (string) - a pair of public and private API keys. Login to your Lead Alliance account to get a pair of public and private API keys. Click "Account" in the upper right corner of the web page, then select "My data", a pop-up window with API data will appear. These parameters will be named in the connector parameters as AccessToken (for the public key) and RefreshToken (for the private key);
- prid (integer) - program id. This is the number you can get from the URL;
- is_subaccount (boolean) - whether a sub-account is used. Lead Alliance provides different endpoints for the primary account and sub-accounts, and this boolean parameter shows this difference. If you are not sure whether you are using a sub-account or not, you can skip this parameter and receive an error message stating that you should use a sub-account, if the approach was incorrect and this parameter should be enabled.