Partner integration overview

This section describes how SiteLock plans, IP addresses, and supported countries can be retrieved over the API.

The API endpoint is:

https://api.sitelock.com/v1/partner

OAuth 2.0 Client Credentials flow

You can use the OAuth 2.0 Client Credentials flow scheme to securely authenticate your client application with the authorization server. In this method, the client ID and client secret are concatenated with a colon, Base64-encoded, and included in the Authorization header of the HTTP request using the Basic scheme, which is then sent to the token endpoint to request an access token. The access token is included in the Authorization header of subsequent API requests using the Bearer scheme, enabling the client to access protected resources on behalf of the user. This widely supported approach offers a straightforward and effective way to protect client credentials during token requests.

Retrieving a list of SiteLock plans

Call the getPlanList method to retrieve a list of current plans and their details for a partner account.

Retrieving the scan frequency for a plan

Use the getPlanScanFrequency method to retrieve the available scan frequency options for a plan ID.

Retrieving a list of countries

Use the getCountriesList method to retrieve a list of countries and their codes which can be used in a provisionAccount call.

Retrieving a list of SiteLock IP addresses

Call the getSiteLockIPs method to retrieve a list of SiteLock IP addresses. These addresses should be whitelisted on your servers to ensure the best performance and uninterrupted services from SiteLock.