This article will guide you through the steps to find your phishing campaign and training course IDs. Locating these IDs is important as they are required when making an API call.
To learn how to create a training course or a phishing campaign, you can read our knowledge base articles below:
Where to locate your phishing campaign or training course ID
The steps below can be followed to locate the ID of any phishing campaign in your account. As the steps to find an ID are similar, the following steps can also be used to locate a training course ID.
-
To locate a Campaign ID: In the platform, under Phishing, select Campaigns to find the Campaign ID.
To locate a Course ID: In the platform, under Training, select Courses to find the Course ID. -
Select the name of the Campaign/Course for which you wish to know the ID.
-
Then, view the URL that is displayed in your browser. The ID of the training course or campaign will follow 'Id='. Here is an example: https://app.phishingtackle.com/EmailCampaign/Actions?Id=1012 At the end of the URL, you can see 'Id=1012'; your ID will be 1012.
- Now that you know your Campaign ID, you can enter this when making an API call for specific information. For example, if you wish to make an API call for 'GetEmailCampaignStats,' you can replace campaignId=0 with the correct ID to get the information you require.
https://mspapi.phishingtackle.com/api/PhishingCampaignStats?campaignId=1012
Please let us know if you require any further assistance, you can contact our support team by clicking here. Or by sending an email to support@phishingtackle.com