Login

  • Domains
  • GET Domain

List of domains

This method allows you to view the information of a domain that belongs to you or a list of your domains.

Resource

Production environment:

  • https://domains.altravia.com/domain
  • https://domains.altravia.com/domain/"domain_name"
  • https://domains.altravia.com/domain/"domain_name"/registrant
  • https://domains.altravia.com/domain/"domain_name"/admin
  • https://domains.altravia.com/domain/"domain_name"/tech

Testing environment

  • https://test.domains.altravia.com/domain
  • https://test.domains.altravia.com/domain/"domain_name"
  • https://test.domains.altravia.com/domain/"domain_name"/registrant
  • https://test.domains.altravia.com/domain/"domain_name"/admin
  • https://test.domains.altravia.com/domain/"domain_name"/tech

Parameters

Request Example

Response

Response Format

If successful, the response header HTTP status code will be 200 OK and the request will be answered.

If you try to get a request without authorization, you will receive an error 401 Unauthorized.

Additionally you should also handle the 400 Bad request status. For more info on HTTP status handling see dedicated section in Integration best practices page.

Request Response

Parameter Type Description
data DataResponseDetails Present only if the API call goes to good end, it will contain the answer data.
success boolean True or false.
message string It contains a message that can be shown by the user.
error int Present only if the API call fails, it contains an error code.

Data Response Details

Parameter Type Description
status array Domain states.
domain string Domain name.
ns array List of dns.
registrant string Registrant identification.
admin string Admin identification.
tech string/array Tech identification.
authinfo string Domain authorization code.
crDate string Domain creation date.
exDate string Domain expiration date.
dnssec array
owner string Domain manager.
timestamp int Timestamp of last modification of the domain.
renewal_date string Domain renewal date.

Additional examples

Request for all domains:

Response