Add a domain to an existing license without full activation.
Authentication: Valid license_key
Parameters:
| Name | Type | Required | Description |
|---|---|---|---|
license_key | string | Yes | The license key |
domain | string | Yes | Domain to add |
version | string | No | Software version |
status | string | No | Domain status |
date_time | string | No | Timestamp |
environment | string | No | live or staging |
Example Request:
curl -X POST https://your-site.com/wp-json/slswc/v1/add_domain \
-d license_key=ABCD-1234-EFGH-5678 \
-d domain=https://new-site.com \
-d environment=live
Success Response (200):
{
"status": "added",
"message": "The domain has been added to the license",
"domains": {
"https://new-site.com": {
"domain": "https://new-site.com",
"status": "active",
"environment": "live",
"date_time": "2026-04-09 14:00:00"
}
}
}
Already Active Response (200):
{
"status": "already_active",
"domains": {
"https://new-site.com": {
"domain": "https://new-site.com",
"status": "active",
"environment": "live",
"date_time": "2026-03-01 10:00:00"
}
},
"message": "License already active for this domain"
}
Back to License Endpoints.