Add Domain

POST /wp-json/slswc/v1/add_domain

Add a domain to a license. This will add the domain to the list of activated domains for the license.

license_keyString requiredSs23dhsjhdjshjhfddfrThe license key to be activated. This must be a valid.
slugString requiredtestpluginThe slug of the software. This must be a valid slug unique to each software product
domainString optionalexample.comThe domain the license is activated on.
environmentString optionalliveThe server environment the license is activated on. Expects live or staging, default live

Example Response

	"status": "ok",
	"message": "Domain added to license."
    "domains": {
        "": {
            "domain": "",
            "status": "",
            "version": "",
            "date_time": "2019-06-22 00:00",
            "environment": ""
Was this article helpful?

Related Articles

Need Support?

Can't find the answer you're looking for?
Contact Support
Scroll to Top