Download OpenAPI specification:Download
An API that interacts with PhishingTackle to provide data to MSPs for your organisation
Success
Bad Request
{- "id": 0,
- "organisationId": 0,
- "description": "string",
- "statusId": 0,
- "startDateTime": "2019-08-24T14:15:22Z",
- "scheduledStartDateTime": "2019-08-24T14:15:22Z",
- "scheduledEndDateTime": "2019-08-24T14:15:22Z",
- "timeZoneId": "string",
- "frequencyId": 0,
- "sendingDurationUnit": 0,
- "sendingDurationPeriodId": 0,
- "sendAllOnCampaignStart": true,
- "emailTemplateRandomTypeId": 0,
- "businessTimeStart": "2019-08-24T14:15:22Z",
- "businessTimeEnd": "2019-08-24T14:15:22Z",
- "businessDayMonday": true,
- "businessDayTuesday": true,
- "businessDayWednesday": true,
- "businessDayThursday": true,
- "businessDayFriday": true,
- "businessDaySaturday": true,
- "businessDaySunday": true,
- "trackReplies": true,
- "keepReplies": true,
- "trackRepliesDurationUnit": 0,
- "trackRepliesDurationPeriodId": 0,
- "trackOutOfOfficeReplies": true,
- "replyToAddress": "string",
- "replyToSubDomain": "string",
- "replyToDomainId": 0,
- "difficultyRating": 0,
- "phishLinkDomainId": 0,
- "landingPageId": 0,
- "clickersGroupId": 0,
- "sendReport": true,
- "excludeCampaignFromStatistics": true,
- "selectedEmailTemplateId": 0,
- "campaignTypeId": 0,
- "runCount": 0,
- "sendToAllRecipients": true,
- "previousStatusId": 0,
- "hidden": true,
- "trackCredentialReuse": true,
- "trackCredentialReuseUserName": true,
- "trackCredentialReusePassword": true,
- "trackCredentialReuseLandingPage": true,
- "emailSendingMethod": 0,
- "createAutomatedReport": true,
- "automatedReportId": 0,
- "campaignEventResults": [
- {
- "id": 0,
- "organisationId": 0,
- "campaignId": 0,
- "recipients": 0,
- "delivered": 0,
- "opened": 0,
- "clicked": 0,
- "replied": 0,
- "openedAttachment": 0,
- "attachmentLinkClicked": 0,
- "dataEntered": 0,
- "bounced": 0,
- "reported": 0,
- "sent": 0,
- "credentialReuse": 0,
- "riskScore": 0,
- "clickProne": 0,
- "campaign": { }
}
], - "campaignEvents": [
- {
- "id": 0,
- "organisationId": 0,
- "campaignId": 0,
- "description": "string",
- "statusId": 0,
- "startedDateTime": "2019-08-24T14:15:22Z",
- "endDateTime": "2019-08-24T14:15:22Z",
- "recipientCount": 0,
- "riskScore": 0,
- "clickProne": 0,
- "trackingEndDateTime": "2019-08-24T14:15:22Z",
- "campaign": { },
- "recipientFailureScores": [
- {
- "id": 0,
- "organisationId": 0,
- "campaignEventId": 0,
- "recipientId": 0,
- "dateTime": "2019-08-24T14:15:22Z",
- "emailFailureCount": 0,
- "totalEmailsReceived": 0,
- "runningFailurePercentage": 0,
- "campaignEvent": { }
}
]
}
], - "phishingCampaignEventResults": [
- {
- "id": 0,
- "organisationId": 0,
- "campaignId": 0,
- "campaignEventId": 0,
- "recipients": 0,
- "delivered": 0,
- "opened": 0,
- "clicked": 0,
- "replied": 0,
- "openedAttachment": 0,
- "attachmentLinkClicked": 0,
- "dataEntered": 0,
- "bounced": 0,
- "reported": 0,
- "sent": 0,
- "credentialReuse": 0,
- "riskScore": 0,
- "clickProne": 0,
- "campaign": { }
}
], - "phishingCampaignRecipientResults": [
- {
- "id": 0,
- "organisationId": 0,
- "campaignId": 0,
- "recipientId": 0,
- "emailOpenedCount": 0,
- "emailRepliedCount": 0,
- "emailLinkClickedCount": 0,
- "attachmentOpenedCount": 0,
- "emailReported": 0,
- "attachmentLinkClickedCount": 0,
- "attachmentMacroEnabled": true,
- "detailsEnteredCount": 0,
- "emailBouncedCount": 0,
- "statusMessage": "string",
- "sentCount": 0,
- "deliveredCount": 0,
- "credentialReuse": 0,
- "riskScore": 0,
- "clickProne": 0,
- "campaign": { }
}
], - "sendQueues": [
- {
- "id": 0,
- "campaignId": 0,
- "recipientId": 0,
- "emailId": 0,
- "scheduledDateTime": "2019-08-24T14:15:22Z",
- "timeZoneId": 0,
- "status": 0,
- "campaignEventId": 0,
- "campaignTypeId": 0,
- "repeatIntervalInDays": 0,
- "sendTo": 0,
- "emailTypeId": 0,
- "version": 0,
- "notificationSendingMethod": 0,
- "campaign": { }
}
], - "sentItems": [
- {
- "id": 0,
- "organisationId": 0,
- "timeStamp": "2019-08-24T14:15:22Z",
- "statusId": 0,
- "campaignId": 0,
- "campaignEventId": 0,
- "recipientId": 0,
- "sentEmailId": 0,
- "emailOpenedCount": 0,
- "emailRepliedCount": 0,
- "emailLinkClickedCount": 0,
- "attachmentOpenedCount": 0,
- "emailReported": 0,
- "attachmentLinkClickedCount": 0,
- "attachmentMacroEnabled": true,
- "detailsEnteredCount": 0,
- "emailBouncedCount": 0,
- "credentialReuse": 0,
- "statusMessage": "string",
- "campaign": { },
- "sentItemActions": [
- {
- "id": 0,
- "organisationId": 0,
- "sentItemId": 0,
- "actionId": 0,
- "ipv4": "string",
- "ipv6": "string",
- "latitute": 0,
- "longitude": 0,
- "browserFamily": "string",
- "browserVersion": "string",
- "deviceFamily": "string",
- "deviceBrand": "string",
- "deviceModel": "string",
- "osfamily": "string",
- "osversion": "string",
- "timeStamp": "2019-08-24T14:15:22Z",
- "linkId": "string",
- "city": "string",
- "country": "string",
- "flagLink": "string",
- "flagEmoji": "string",
- "flagEmojiUnicode": "string",
- "inEu": true,
- "countryCode": "string",
- "isp": "string",
- "asn": "string",
- "isBot": true,
- "isCloudProvider": true,
- "isThreat": true,
- "sentItem": { }
}
], - "sentItemLinks": [
- {
- "id": 0,
- "sentItemId": 0,
- "type": 0,
- "linkId": "string",
- "sentItem": { }
}
]
}
]
}
Request body
Success
Bad Request
{- "campaignId": 0,
- "subAccountOrgIds": [
- 0
], - "startDate": "string",
- "timezone": "string",
- "dateTimeFormat": "string",
- "staggerIntervalUnit": "string",
- "staggerIntervalValue": 0,
- "staggerStartTime": "string",
- "staggerEndTime": "string",
- "excludeDateTags": [
- 0
], - "repeatInterval": "string",
- "daysSelected": {
- "monday": true,
- "tuesday": true,
- "wednesday": true,
- "thursday": true,
- "friday": true,
- "saturday": true,
- "sunday": true
}, - "startAsPaused": true
}
"string"
Success
Bad Request
{- "organisationId": 0,
- "campaignId": 0,
- "delivered": 0,
- "opened": 0,
- "clicked": 0,
- "replied": 0,
- "openedAttachment": 0,
- "attachmentLinkClicked": 0,
- "dataEntered": 0,
- "bounced": 0,
- "reported": 0,
- "sent": 0
}
Success
Bad Request
[- {
- "id": 0,
- "organisationName": "string",
- "description": "string",
- "status": 0,
- "start": "2019-08-24T14:15:22Z",
- "end": "2019-08-24T14:15:22Z"
}
]
Success
Bad Request
{- "campaigns": [
- {
- "description": "string",
- "scheduledStart": "2019-08-24T14:15:22Z",
- "scheduledEnd": "2019-08-24T14:15:22Z",
- "sendingDuration": 0,
- "sendingPeriodUnit": "string",
- "trackActivityPeriodUnit": "string",
- "trackActivityUnit": 0,
- "status": 0,
- "clickPronePercenet": 0,
- "recipientTags": [
- {
- "id": 0,
- "organisationId": 0,
- "typeId": 0,
- "description": "string",
- "isActiveDirectoryManaged": true,
- "statusId": 0,
- "managedId": "string"
}
], - "templateTags": [
- {
- "id": 0,
- "organisationId": 0,
- "typeId": 0,
- "description": "string",
- "isActiveDirectoryManaged": true,
- "statusId": 0,
- "managedId": "string"
}
], - "clickedPercentage": 0,
- "clickedCount": 0,
- "repliedPercentage": 0,
- "repliedCount": 0,
- "attachmentOpenedPercentage": 0,
- "attachmentOpenedCount": 0,
- "attachmentLinkClickedPercentage": 0,
- "attachmentLinkClickedCount": 0,
- "dataEnteredPercentage": 0,
- "dataEnteredCount": 0,
- "reportedPercentage": 0,
- "reportedCount": 0,
- "bouncedPercentage": 0,
- "bouncedCount": 0
}
], - "page": 0,
- "totalPages": 0
}
Success
Bad Request
{- "organisationId": 0,
- "termInMonths": 0,
- "startDate": "2019-08-24T14:15:22Z",
- "endDate": "2019-08-24T14:15:22Z",
- "inTrialPeriod": true,
- "trialEndDate": "2019-08-24T14:15:22Z",
- "seatCount": 0,
- "includedSeats": 0,
- "status": 0
}
Success
Bad Request
{- "recipientCount": 0,
- "deliveredPercent": 0,
- "deliveredCount": 0,
- "openedPercent": 0,
- "openedCount": 0,
- "clickedPercent": 0,
- "clickedCount": 0,
- "repliedPercent": 0,
- "repliedCount": 0,
- "attachmentOpenedPercent": 0,
- "attachmentOpenedCount": 0,
- "dataEnteredPercent": 0,
- "dataEnteredCount": 0,
- "bouncedPercent": 0,
- "bouncedCount": 0,
- "failureCount": 0
}
Success
Bad Request
{- "recipientCount": 0,
- "deliveredPercent": 0,
- "deliveredCount": 0,
- "openedPercent": 0,
- "openedCount": 0,
- "clickedPercent": 0,
- "clickedCount": 0,
- "repliedPercent": 0,
- "repliedCount": 0,
- "attachmentOpenedPercent": 0,
- "attachmentOpenedCount": 0,
- "dataEnteredPercent": 0,
- "dataEnteredCount": 0,
- "bouncedPercent": 0,
- "bouncedCount": 0,
- "failureCount": 0
}
Success
Bad Request
{- "totalPages": 0,
- "currentPage": 0,
- "recipientStats": [
- {
- "firstName": "string",
- "lastName": "string",
- "email": "string",
- "clickPronePercent": 0,
- "emailsReceived": 0,
- "courseStats": {
- "enrolled": 0,
- "inProgress": 0,
- "completed": 0
}, - "campaignStats": {
- "campaignCount": 0,
- "campaignEventCount": 0
}, - "addedAt": "2019-08-24T14:15:22Z"
}
]
}
{- "id": 0,
- "name": "string",
- "primaryDomain": "string",
- "joinedAt": "string",
- "logo": "string"
}
Success
Bad Request
[- {
- "id": 0,
- "image": "string",
- "description": "string",
- "organisationId": 0,
- "organisationName": "string",
- "status": 0,
- "start": "2019-08-24T14:15:22Z",
- "end": "2019-08-24T14:15:22Z"
}
]
Request body
Success
Bad Request
{- "campaignId": 0,
- "startDate": "string",
- "timezone": "string",
- "endDate": "string",
- "endDateType": 0,
- "relativeEndDatePeriod": "string",
- "relativeEndDateUnit": 0,
- "organisationIds": [
- 0
], - "orgDateFormat": "string"
}
"string"
Success
Bad Request
{- "campaigns": [
- {
- "id": 0,
- "image": "string",
- "description": "string",
- "organisationId": 0,
- "organisationName": "string",
- "status": 0,
- "start": "2019-08-24T14:15:22Z",
- "end": "2019-08-24T14:15:22Z"
}
], - "page": 0,
- "totalPages": 0
}
Success
Bad Request
{- "courseName": "string",
- "courseId": 0,
- "totalPages": 0,
- "currentPage": 0,
- "recipientStats": [
- {
- "fullName": "string",
- "emailAddress": "string",
- "recipientId": 0,
- "campaignContentsStats": [
- {
- "id": 0,
- "title": "string",
- "enrollmentDate": "2019-08-24T14:15:22Z",
- "started": true,
- "completed": true,
- "timeSpent": "string",
- "timeLeft": "string",
- "status": "string",
- "completionDate": "2019-08-24T14:15:22Z"
}
]
}
]
}