Login

  • Domains
  • GET Contact

Contact list

This method lets you see the list of contacts associated with your domains.

Resource

Production environment:

  • https://domains.altravia.com/contact
  • https://domains.altravia.com/contact/"contact_id"

Testing environment

  • https://test.domains.altravia.com/contact
  • https://test.domains.altravia.com/contact/"contact_id"

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 Contact states.
handle string Contact identifier.
name string Contact name.
org string Contact organization.
street string Contact address.
street2 string Second contact address.
street3 string Third contact address.
city string Contact city.
province string Contact province.
postalcode string Contact postal code.
countrycode string Contact country code.
voice string Contact telephone number.
fax string Contact fax number.
email string Contact email.
authinfo string Contact authorization code.
consentforpublishing int Contact privacy.
nationalitycode string Contact nationality code.
entitytype int - 0: non-registering contact.
- 1: natural persons.
- 2: companies, sole proprietorships.
- 3: freelancers.
- 4: non-profit organizations.
- 5: public entities.
- 6: other subjects.
- 7: foreign subjects.
regcode string Tax code or VAT number.
schoolcode string
owner string Contact manager.
timestamp int Timestamp of last modification of the contact.

Additional examples

Request for all contacts:

Response