Brandsight API (1.0.0)
The following section will walk you through the steps and endpoints necessary to get started with basic domain name management functions via the Brandsight Domain API. A full list of available endpoints is available in the Domain Endpoints section.
Your API Key and Secret are used to authenticate every request to the Brandsight Domain API. You can create them yourself in Brandsight:
- Go to Settings > API and click Enable API access if you have the appropriate access.
- Choose a role: Read-Only to view data only, or Write for full access to manage your domains.
- Copy your API Key and Secret and save them somewhere secure. Your Secret is shown only once.
If you lose your credentials, you can regenerate them from the same page using Regenerate key & secret. Your account can have one active key at a time, so a new key replaces the old one. These credentials are for Production. For OT&E (test) access, please contact your Client Success Manager.
To check the availability and price for specific domain names:
Check if a domain name is available using the single domain availability endpoint.
Note: SPEED checks do not connect to registry and are local checks to determine the outcome of the availability calls whereas ACCURACY checks connects to the registry, are more reliable and are recommended.Check if a list of domain names is available using the bulk domains availability endpoint.
To register an available domain name:
Different TLDs require different payloads to be able to register a schema. Retrieve the Registration Schema for a specific TLD using the register schema endpoint and passing the
tld. For example, sendcomto get the schema required for a .com registration.Validate the registration payload using the validation endpoint.
Once the payload is validated, request to register the domain name using the register endpoint.
Check status of the registration request using the actions endpoint and passing the
typevalue asREGISTER.
To renew a managed domain name for a specified period:
Retrieve the price for your specified registration term using the single domain availability endpoint and passing the
typetoRENEWALand specifying theperiodin years.Include the exact amounts retrieved previously to renew an active domain name using renew endpoint.
Check status of the renewal request using the actions endpoint and passing the
typevalue asRENEW.
To raise a transfer in request for a specific domain name:
Determine transfer in availability of a domain name with AuthCode using the transferAvailable endpoint.
Purchase and start or restart transfer in request for a domain name using the transfer endpoint.
Cancel a transfer in request for a domain name using the TransferInCancel endpoint.
To retrieve the list of managed domain names in your account with/without the given filters:
Retrieve a list all the domain names in the account using the get domain endpoint. There are multiple filters that can be applied to filter the list. This endpoint will return a maximum of 500 domain names at a time.
Retrieve additional details about a domain name using the get domain details endpoint such as
DNSSEC,contactsandauthcode.
To regenerate an AuthCode for a specific managed domain name:
Regenerate an AuthCode for a domain name using the regenerate endpoint.
Check status of the AuthCode update request using the actions endpoint and passing the
typevalue asAUTH_CODE_REGENERATE.
To check for trademark claim on a specific domain name:
- Check for any trademark claim on a domain name using the trademark endpoint.
To retrieve a list of legal agreements for a specific TLD:
- Retrieve the list of legal agreements for a specific TLD using the agreements endpoint.
To update the registrar lock or auto-renew status of a specific managed domain name:
Update the locked status or auto-renew status of a domain name using the update domain endpoint.
Check status of the update request using the actions endpoint and passing the
typevalue asDOMAIN_UPDATE.Cancel a specific action for a domain using the actions cancel endpoint.
To update the nameservers of a specific managed domain name:
- Request to update the nameservers using the update nameserver endpoint. note: To delete nameservers, pass the list of name servers as an empty list.
- Check status of the nameserver update request using the actions endpoint and passing the
typevalue asDOMAIN_UPDATE_NAME_SERVERS.
It is only possible to toggle between "Brandsight Privacy"(Enable Privacy) and "GDPR"(Disable Privacy). For setting it to "Full Whois" option, please use the UI. To enable Brandsight Privacy Service for a specific managed domain name
Enable privacy service for a domain name using the privacy on endpoint and passing the agreement keys that can be discovered using the agreements endpoint.
Check status of the privacy service update request using the actions endpoint and passing the
typevalue asPRIVACY_PURCHASE.
To disable Brandsight Privacy Service for a specific managed domain name:
Remove privacy service for a domain name using the privacy off endpoint.
Check status of the privacy service update request using the actions endpoint and passing the
typevalue asPRIVACY_DELETE.
To update the contact details of a specific managed domain name:
Retrieve the TLD specific schema to be submitted when creating a contact using the contact schema endpoint.
Update the contact info of a managed domain name using the update contact endpoint.
Check status of the contact update request using the actions endpoint and passing the
typevalue asCONTACT_UPDATE.
To create or update a DNSSEC record of a specific managed domain name:
Create or update the DNSSEC records of a domain name using the update dnssec endpoint.
Check status of the DNSSEC create or update request using the actions endpoint and passing the
typevalue asDNSSEC_CREATE.
To delete a DNSSEC record of a specific managed domain name:
Delete the DNSSEC records of a domain name using the delete dnssec endpoint.
Check status of the DNSSEC delete request using the actions endpoint and passing the
typevalue asDNSSEC_DELETE.
