Comodo cwatch. Partners API Documentation. Comodo Security Solutions 1255 Broad Street Clifton, NJ 07013

Similar documents
Comodo cwatch. Partners API Documentation. Comodo Security Solutions 1255 Broad Street Clifton, NJ 07013

Comodo IT and Security Manager Software Version 6.15

Comodo Accounts Management Software Version 17.0

Comodo Internet Security Essentials Software Version 1.3

Comodo One Software Version 3.18

Comodo cwatch Web Security Software Version 1.6

Comodo cwatch Network Software Version 1.4

Comodo SecureBox Management Console Software Version 1.9

Comodo One Software Version 3.20

Comodo One Home Edition - FAQ

Comodo cwatch Web Security

rat ITarian Software Version 3.26 Network Assessment Tool Quick Start Guide Guide Version Broad Street Clifton, NJ 07013

nuwire Quick Start Guide

Comodo One Software Version 3.26

Remote Access Software Version 1.0

Comodo Web Application Firewall for Plesk Software Version 2.11

Comodo Endpoint Manager Software Version 6.25

Comodo Endpoint Manager Software Version 6.25

Comodo Endpoint Manager Software Version 6.26

Comodo Accounts Management Software Version 23.0

nuwire - FAQ What is nuwire?

Comodo TrustConnect Software Version 1.72

rat ITarian Service Desk End-User Guide Software version 4.16 Guide version ITarian 1255 Broad Street Clifton, NJ 07013

rat ITarian Remote Access User Guide Software version 1.0 Guide version ITarian 1255 Broad Street Clifton, NJ 07013

Comodo Endpoint Security Manager Software Version 3.4

Online Security Software Version 1.2

Comodo Auto Discovery and Deployment Tool Software Version 1.0

Comodo Endpoint Manager Software Version 6.26

Comodo One Software Version 3.26

Office 365 Integration Guide Software Version 6.7

Comodo cwatch Office Software Version 1.0

Comodo Internet Security Software Version 10.1

Comodo cwatch Web Security Software Version 2.9

Comodo Device Manager Software Version 4.0

Comodo cwatch Web Security Software Version 1.0

Comodo Unknown File Hunter Software Version 5.0

Auto Discovery and Deployment Tool Software Version 1.0

Comodo Unknown File Hunter Software Version 2.1

Comodo Certificate Manager

Comodo Internet Security Software Version 10.0

Comodo One Software Version 3.3

Comodo Dome Data Protection Software Version 3.1. Endpoint Installation Guide Guide Version

Comodo cwatch Network Software Version 2.23

Comodo Accounts Management Software Version 15.0

Comodo Certificate Manager Software Version 5.0

Comodo cwatch Web Security Software Version 1.1

Importing and Using your or Personal Authentication certificate with Mac OS X Mail / Apple Mail

Importing and exporting your or Personal Authentication certificate using Mozilla Firefox

Comodo Web Application Firewall for Plesk Software Version 2.11

Comodo One Software Version 3.16

Comodo Certificate Manager Version 5.7

Comodo Internet Security Software Version 10.1

Comodo One Software Version 3.3

Comodo One Software Version 3.23

Comodo Certificate Manager Version 5.7

Comodo ONE Software Version 1.8

Importing and Using your or Personal Authentication certificate with The Bat!

Importing and exporting your or Personal Authentication certificate using Internet Explorer

Importing your or Personal Authentication certificate to Android Devices

Comodo IT and Security Manager Software Version 6.6

Comodo Certificate Manager

Comodo IT and Security Manager Software Version 6.9

Comodo Certificate Manager Version 5.4

Comodo One Software Version 3.8

Comodo Certificate Manager Version 5.5

Comodo Endpoint Security Manager Professional Edition Software Version 3.3

Comodo Certificate Manager Software Version 5.7

Comodo Certificate Manager Version 5.7

Comodo Certificate Manager

Comodo APT Assessment Tool

Comodo IT and Security Manager Software Version 6.9

Comodo SiteInspector Software Version 3.3

Importing and exporting your or Personal Authentication certificate with Opera

Comodo SecureBox Management Console Software Version 1.9

Importing and Using your or Personal Authentication certificate with Windows Live Mail

Comodo Device Manager Software Version 4.0

Importing and Using your or Personal Authentication certificate with Mozilla SeaMonkey Client (PC)

Importing and exporting your or Personal Authentication certificate using Google Chrome

Comodo LoginPro Software Version 1.0

Comodo Certificate Manager

Comodo Certificate Manager

Comodo IT and Security Manager Software Version 5.4

Rat. Service Desk. Quick Start Guide. Software version 4.16 Guide version ITarian 1255 Broad Street Clifton, NJ 07013

Importing and Using your or Personal Authentication Certificate with Outlook 2010 / 2013

Comodo IT and Security Manager Software Version 6.4

Comodo One Home Edition - FAQ

Domain Control Validation in Comodo Certificate Manager

Comodo GeekBuddy Software Version 4.25

Comodo Certificate Manager

CCloud for ios Devices

Comodo Dome Data Protection Software Version 3.8

Comodo Certificate Manager

Comodo Internet Security Software Version 11.0

Comodo SecureBox Management Console Software Version 1.8

Comodo One Software Version 3.16

Comodo ONE Software Version 3.3

Comodo Certificate Manager Version 5.7

Domain Control Validation in Comodo Certificate Manager

rat Comodo Valkyrie Software Version 1.1 Administrator Guide Guide Version Comodo Security Solutions 1255 Broad Street Clifton, NJ 07013

Comodo Offline Updater Utility Software Version

Transcription:

Comodo cwatch Partners API Documentation Comodo Security Solutions 1255 Broad Street Clifton, NJ 07013

Table of Contents 1. Introduction to Comodo cwatch Web Partner API...3 2.cWatch Web login API...3 3.cWatch Customer Controller API...3 4.cWatch Web deactivatelicense API...8 5.cWatch Web distributelicense API...9 6.cWatch Web listcustomerslicense API...12 7.cWatch Web Partner Click To Buy Controller API...14 About Comodo Security Solutions...17 Comodo cwatch Web Partner API 2018 Comodo Security Solutions Inc. All rights reserved 2

1. Introduction to Comodo cwatch Web Partner API Overview This document explains how partners can use the Comodo cwatch Web Partners API to manage customers, distribute licenses to their customers, obtain a list of distributed licenses and deactivate licenses. 2.cWatch Web login API login Summary: Authenticates partner and returns JWT token in response header Description: Authenticates Partner and Returns JWT Token in Response Header POST /login Name Description Example Value Credentials (body) CAM Username and password information "password": "string", "username": "string" Parameter Content Type: application/json Code Description 200 OK 201 Created 3.cWatch Customer Controller API add Summary: Adds a Customer Comodo cwatch Web Partner API 2018 Comodo Security Solutions Inc. All rights reserved 3

Distribution: Adds a Single Customer to DB POST /customer/add Name Description Example Value customerform (body) customerform "country": "string", "email": "string", "name": "string", "surname": "string" Parameter Content Type: application/json deletecustomer Summary: Delete a Customer Code Description Example Value 201 Created 400 Bad Request "message": "Required x parameter 'x' is not present", "timestamp": 1499428605974 500 Internal Server Error Distribution: Delete a Single Customer from DB DELETE /customer/deletecustomer Comodo cwatch Web Partner API 2018 Comodo Security Solutions Inc. All rights reserved 4

Name Description Data Type email*required Customer's email (e.g. john.doe@mail.com) string deletecustomers Code Description Example Value 204 No Content 400 Bad Request 500 Internal Server Error Summary: Delete several Customers Distribution: Delete a list of Customers from DB POST /customer/deletecustomers Name Description Data Type emails*required (body) List of Customers' email (e.g. john.doe@mail.com) Array(string) Parameter Content Type: application/json Code Description Example Value 201 Created 400 Bad Request Comodo cwatch Web Partner API 2018 Comodo Security Solutions Inc. All rights reserved 5

importcustomers 500 Internal Server Error Summary: Import several Customers Distribution: Import a list of Customers to DB from a CSV file POST /customer/import Name Description Data Type csvcontent*required (formdata) CSV File whose columns are Name, Surname, Email, Country ISO seperated by ','. CSV file should contain maximum of 1000 rows. file Code Description Example Value 200 Success "numberoflines": 5, "numberofvalidcustomers": 2, "validationerrors": [ "errorline": 77, "field": "email", "invalidvalue": "invalid@invalid", "message": "Please enter a valid Comodo cwatch Web Partner API 2018 Comodo Security Solutions Inc. All rights reserved 6

list 201 Created 400 Bad Request email address" ] 500 Internal Server Error Summary: Returns list of customers Distribution: Returns list of customers in the DB GET /customer/list Code Description Example Value 200 Success [ "country": "US", "customerlicenses": [ "domaincount": 12, "licensekey": "da6737f1-6640- 4fae-8b52-702465f168eb", "orderdate": "2017-07- 06T07:49:59Z", "pricingterm": "BASIC", Comodo cwatch Web Partner API 2018 Comodo Security Solutions Inc. All rights reserved 7

"producttitle": "cwatch Web Security - Premium", "status": "Valid", "term": "MONTH_1" ], "email": "johnny.depp@email.com", "name": "Johnny", "partneremail": "partner@partner.email.com", "surname": "Depp" ] 500 Internal Server Error 4.cWatch Web deactivatelicense API deactivate Summary: Deactivate Distributed Licenses Description: Deactivate Distributed Licenses PUT /customer/deactivatelicense Name Description Data Type licenses *required (body) Customers' licenses to be deactivated Array(string) Parameter Content Type: application/json Code Description Sample Value 200 Success [ "license": "ac48b822-e560-471c-96cd- Comodo cwatch Web Partner API 2018 Comodo Security Solutions Inc. All rights reserved 8

201 Created 5c03ecf90668", "message": "License key already deactivated", ] "success": false 500 Internal Server Error 5.cWatch Web distributelicense API distribute Summary: Allows partners to buys, activate and distribute customer licenses Description: Distributes licenses to customers. Customer list should be provided in a.csv file. The API also requires product, term and domainquantity strings to be supplied. CsvContent *required File (formdata) Product *required String Term *required String DomainQuantity *required Name POST /customer/distribute Description CSV File whose columns are Email, Name, Surname, Country ISO separated by ',. CSV file should contain maximum of 100 rows. Product name License term Number of domains user can add Comodo cwatch Web Partner API 2018 Comodo Security Solutions Inc. All rights reserved 9

Integer Code Description Sample Value 200 Success "csvresult": "numberoflines": 5, "numberofvalidcustomers": 2, "validationerrors": [ "errorline": 77, "field": "email", "invalidvalue": "invalid@invalid", "message": "Please enter a valid email address" ], "distributionresult": [ "email": "johnny.depp@gmail.com", "message": "Success" ], "domainquantity": 12, "pricingterm": "BASIC", "term": "MONTH_1" 201 Created Created 400 Bad Request 'x' is not present", Unauthorized Forbidden Not Found distributelicenseforcustomers Summary: Allows partners to buys, activate and distribute license for specific customers Description: Distributes license to specific customers. The API also requires customers' email addresses, product, term and domainquantity strings to be supplied. POST /customer/distributelicenseforcustomers Comodo cwatch Web Partner API 2018 Comodo Security Solutions Inc. All rights reserved 10

Name Description Sample Type distributelicenseforcustomersform *required (body) Details of customers, domain quantity, license type and term. "customers": [ "country": "US", "email": "johnny.depp@email.com", "name": "Johnny", "surname": "Depp" ], "domainquantity": 0, "product": "BASIC", "term": "MONTH_1" Parameter Content Type: application/json Code Description Sample Value 200 Success "csvresult": "numberoflines": 5, "numberofvalidcustomers": 2, "validationerrors": [ "errorline": 77, "field": "email", "invalidvalue": "invalid@invalid", "message": "Please enter a valid email address", ] "distributionresult": [ "decsription": "Invalid number of domains", "email": "johnny.depp@gmail.com", "message": "Success" Comodo cwatch Web Partner API 2018 Comodo Security Solutions Inc. All rights reserved 11

201 Created ], "domainquantity": 12, "pricingterm": "BASIC", "term": "MONTH_1" 400 Bad Request 'x' is not present", 6.cWatch Web listcustomerslicense API listlicense Summary: Returns list of distributed licenses Description: Returns list of licenses distributed to customers within a given period GET /customer/listlicense Name Description Sample Type startdate *required enddate *required License distribution Start Date (e.g. 2017-07-16) License distribution End Date (e.g. 2017-10-16) date-time date-time Code Description Sample Value 200 Success [ "country": "US", "customerlicenses": [ Comodo cwatch Web Partner API 2018 Comodo Security Solutions Inc. All rights reserved 12

listlicencebyemail "domaincount": 12, "licensekey": "da6737f1-6640-4fae- 8b52-702465f168eb", "orderdate": "2017-07- 06T07:49:59Z", "pricingterm": "BASIC", "producttitle": "cwatch Web Security - Premium", ], "status": "Valid", "term": "MONTH_1" "email": "johnny.depp@email.com", "name": "Johnny", "partneremail": "partner@partner.email.com", ] "surname": "Depp" 500 Internal Server Error Summary: Returns license(s) distributed to a specific customer Description: Returns license(s) distributed to a specific customer based on customer's email with license details. GET /customer/listlicensebyemail Comodo cwatch Web Partner API 2018 Comodo Security Solutions Inc. All rights reserved 13

Name Description Data Type email *required Customer's email (e.g. john@doe.com) string Code Description Sample Value 200 Success [ "domaincount": 12, "licensekey": "da6737f1-6640-4fae- 8b52-702465f168eb", "orderdate": "2017-07-06T07:49:59Z", "pricingterm": "BASIC", "producttitle": "cwatch Web Security - Premium", ] "status": "Valid", "term": "MONTH_1" 500 Internal Server Error 7.cWatch Web Partner Click To Buy Controller API clicktobuy/add Summary: Add a custom 'Click to Buy' link in the interface for the customer to buy license from the reseller. Comodo cwatch Web Partner API 2018 Comodo Security Solutions Inc. All rights reserved 14

POST clicktobuy/add Name Description Sample Value partnerclicktobuylink *required Add a 'Click to Buy' link in the interface "clicktobuylink": "https://example.com/clicktobuy/", "partneremail": "godady.mail.com" Parameter Content Type: application/json Code Description Sample Value 200 Success 201 Created 400 Bad Request 500 Internal Server Error clicktobuy/get Summary: Returns the details of 'Click to Buy' link for the reseller from the DB. GET clicktobuy/get Comodo cwatch Web Partner API 2018 Comodo Security Solutions Inc. All rights reserved 15

Name Description Data Type partneremailaddress *required partner email (e.g. john.doe@mail.com) string Code Description Sample Value 200 Success string 400 Bad Request 500 Internal Server Error Comodo cwatch Web Partner API 2018 Comodo Security Solutions Inc. All rights reserved 16

About Comodo Security Solutions Comodo Security Solutions is a global innovator of cybersecurity solutions, protecting critical information across the digital landscape. Comodo provides complete, end-to-end security solutions across the boundary, internal network and endpoint with innovative technologies solving the most advanced malware threats. With over 80 million installations of its threat prevention products, Comodo provides an extensive suite of endpoint, website and network security products for MSPs, enterprises and consumers. The Comodo Threat Research Labs is a global team of IT security professionals, ethical hackers, computer scientists and engineers analyzing and filtering input from across the globe. The team analyzes millions of potential pieces of malware, phishing, spam or other malicious/unwanted files and emails every day, using the insights and findings to secure and protect its current customer base and the at-large public, enterprise and internet community. Continual innovation and a commitment to reversing the growth of zero-day malware, ransomware, data-breaches and internet-crime distinguish Comodo Security Solutions as a vital player in today s enterprise and home security markets. With offices in the US, China, Turkey, India, Romania and Ukraine, Comodo secures the online and offline eco-systems of thousands of clients worldwide. Comodo Security Solutions, Inc 1255 Broad Street Clifton, NJ 07013 United States Tel : +1.888.266.6361 Tel : +1.703.581.6361 Email: EnterpriseSolutions@Comodo.com For additional information on Comodo - visit https://www.comodo.com Comodo cwatch Web Partner API 2018 Comodo Security Solutions Inc. All rights reserved 17