$dialer.getCampaignToken
This method returns the API token of the current call campaign.
Syntax
The method is called without arguments and returns a string with the call campaign API token:
$dialer.getCampaignToken(); // => Example: "8231.7056.1b131df1"
tip
Through this method, your scripts can make use of all features provided by the Calls API:
add new phone numbers to the campaign, obtain campaign reports, etc.