checkDomain — Checking if a domain already exists
The checkDomain
method checks if a domain already exists on SiteLock.
The API endpoint is:
https://api.sitelock.com/v1/partner
Request format
-
SiteLockOnlineRequest: This element is used to delineate the full API request.
-
authentication: The partner’s username, password, and branding
-
username: The partner’s API username
-
password: The partner’s API password
-
partner: (Optional) The brand name to use in messaging
-
-
checkDomain: The method name
-
domain: The domain name to check. A naked domain (
example.com
) and a domain with thewww
part (www.example.com
) are treated as the same domain.
-
-
Response format
-
SiteLockOnlineResponse: This element is used to delineate the full API response.
-
checkDomain: The method name
-
domain: The domain name that was checked
-
message: The detailed success or error message
-
status: The status of the request. The value can be one of the following:
-
ok: The request was successful. In the given context, this means no such domain exists on SiteLock.
-
error: An error occurred. The
message
element provides more detail.
-
-
-