Domain Whitelisting API
Instructions on how to use our RESTful API for whitelisting your domains.
GET:
v1/Login/{customer_email}/{customer_key}/{api_private_key}
This endpoint creates a customer token for next API calls. The token is dynamically created server side and it has an expiration of 5 minutes. The token must be added to the apitoken
field of headers of the following calls.
Reply:
Example:
v1/Domains/List
This endpoint returns a list of all domains linked to the account.
Reply:
Example:
v1/ApiStatus/{customer_email}/{customer_key}/{api_private_key}
This endpoint returns the current status of the API.
Reply:
Example:
POST:
v1/Domains/Add
This endpoint adds a new whitelisted domain to the account.
Reply:
Example:
DELETE:
v1/Domains/{domain}
This endpoint deletes a whitelisted domain from the account.
Reply:
Example:
Last updated